Dear all,
I am currently working with RF430CL330H, and I asking whether anyone has an source code that has a function to check NDEF error, CRC and BIP8Error?
Thank you in advance
Best Regards,
Stella
This thread has been locked.
If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.
Dear all,
I am currently working with RF430CL330H, and I asking whether anyone has an source code that has a function to check NDEF error, CRC and BIP8Error?
Thank you in advance
Best Regards,
Stella
Hi Stella,
I do not have a full RF430CL330H code utilizing these features, but I can explain how they work and provide some example code for the CRC that will be helpful.
NDEF error - This is automatically initiated when RF is enabled. If an error is found, RF will remain disabled and the NDEF error interrupt flag is set. See table 5-10(bit 1) and 5.9.1 for details.
CRC - You can enable the CRC interrupt in the interrupt enable register (table5-13). You then need to set the CRC start value and length(table 5-22 and table 5-20). When the CRC is complete, you should see the interrupt fire and the calculation results can be read from the CRC Result Register. To calculate the CRC on your microcontroller side, the polynomial and start value is shown in section 5.7.4 of the datasheet. You can also find some example C code for this calculation in the thread below. Be sure to use the code snippet that I posted in that thread.
http://e2e.ti.com/support/wireless_connectivity/f/667/p/300982/1049103.aspx
BIP-8 - This performs an XOR of the 16 bit address and 16 bit data. See section 5.5.1 of the datasheet for details.