Topic

FAQ
Login Register
ESB Enhanced ShockBurst support on TLSR9 B91
Mar 18, 2022 18:26

/

A

/A

I'm interested in ESB support on TLSR9. I can see a clear reference to this protocol in rf.h :

/******************************************************FOR ESB************************************************************/
/**
* @brief Those setting of offset according to private esb packet format, so this setting for ble only.
*/
#define RF_PRI_ESB_DMA_RFRX_OFFSET_RFLEN 4
/**
* @brief According to the packet format find the information of packet through offset.
*/
#define rf_pri_esb_dma_rx_offset_crc(p) (p[RF_PRI_ESB_DMA_RFRX_OFFSET_RFLEN]+5) //data len:2
#define rf_pri_esb_dma_rx_offset_time_stamp(p) (p[RF_PRI_ESB_DMA_RFRX_OFFSET_RFLEN]+7) //data len:4
#define rf_pri_esb_dma_rx_offset_freq_offset(p) (p[RF_PRI_ESB_DMA_RFRX_OFFSET_RFLEN]+11) //data len:2
#define rf_pri_esb_dma_rx_offset_rssi(p) (p[RF_PRI_ESB_DMA_RFRX_OFFSET_RFLEN]+13) //data len:1, signed
#define rf_pri_esb_packet_crc_ok(p) ((p[((p[4] & 0x3f) + 11+3)] & 0x01) == 0x00)

/*****************************************************


As far as I can see, the driver is not provided in current SDKs. Would it be possible to get ESB driver (I'll be interested even if it is unpolished code)


1 replies
TL_bloom5 Apr 02, 2022 10:05
0
/A

Hi jneanne,

    You can find a simple esb demo in our driver SDK(you can download from our wiki site). It is included in the RF_DEMO, option ESB_MODE.

Related topics
No related topics
Author's other topics
building example on Linux with CMake