Hi all,
I use the DWM3001CDK for a high-throughput communication system and I wanted to use double buffer mode instead of single buffer mode. I did not manage to get it working has someone already got experience with this?
I was able to enable double buffer mode with dwt_setdblrxbuffmode(DBL_BUF_STATE_EN, DBL_BUF_MODE_MAN); where I verified the SYS_CFG register and it was set to 0x01B0 making DIS_DRXB bit set to 0. Then my work flow was as follows:
On RX_OK event:
- I read the buffer with dwt_readrxdata()
- I switch buffer with dwt_signal_rx_buff_free()
This did not work as expected and if I print the buffer pointer I expect it to alternate between BUFFER_0 and BUFFER_1 but it didn’t and stayed the same. Reading RDB_STATUS before and after dwt_readrxdata() and dwt_signal_rx_buff_free() didn’t result in a different value which I also would have expected.
Did anyone run into similar issues using this mode?