Hello, I’m working with two custom boards. Each has a dw1000 module. One board is configured to transmit 100 packets in 10 seconds with a counter, the other one should receive the packets. When I configure the boards to use channel 3, I see all packets correctly, but when I switch to channel 5(keeping all other config the same), there is a considerable loss of packets (10%-20%) and enabling the counters, I see mainly RSL errors: //number of received frame sync loss events.
Why does the reed solomon algorithm fails so heavily changing the channel? How can I solve the problem?
What distance are you using between the tags? Channel 5 uses a higher frequency, so the path loss is higher. This could result in packets getting lost.
What PRF settings are you using? If you are using a 16 MHz PRF, note that the recommended preamble codes are different. See table 61, section 10.5 in the DW1000 User Manual.
How exactly are you changing the channel? Note that this requires changing a couple of settings, notably including the pgdelay, RF config and PLL config. Are you using the deca_driver library and examples?
The tags are one meter apart. I’m using the deca_driver library even though it’s not updated with the values reported in the manual (eg. #define TC_PGDELAY_CH5 0xC0 but it should be 0xB5). The fact is that changing the position of the tags, changes considerably the performance and sometimes everything seems random.