DWM3001CDK TCFM Listener configuration

Hi
I have recently started working on 2 dwm3001cdk boards with the demo software provided by qorvo. I customised the TCFM message and loaded it to both boards using segger embedded studio.

I set one board as listener and sent packets using tcfm on the other board.

The issue is, The last 2 hex values in the lstn array are always some junk value. Whenever I decode the message, I always get junk value for the last 2 values.

Does anyone know what is causing this issue or how to fix it.

Thank you,
Rupesh

Hi @Rupesh ,

The last 2 bytes of the messages are the CRC16 calculated.
So, if you change the content of the message, it’s expected to have last 2 bytes changing as well.

2 Likes

Hi @Wassim_Qorvo ,

Thank you for the response. Can you let me know which crc16 algorithm is used and where the code for it is implemented in the demo software. I am trying to verify the crc calculations.

Thank you,
Rupesh

Hi @Rupesh ,

The CRC16 is automatically calculated by the IC itself.
Please check the User manual https://www.qorvo.com/products/d/da008154 in the section 5.3 Cyclic redundancy check for more details.