I just began to work on BF537. I am trying to use UART send/receive with CRC16. Is there anybody can share with me a C code example? Or where I can find an example to start?
Thank you very much.
Attaching UART Rx, Tx codes written for BF 537., These are simple UART codes and you can implement CRC 16 on top of it.,
Hope this helps.,
Thanks for your help. I successfully loaded your program and excuted it. However, I was not able to get the correct results. Here is my procedure:
1): I am sending a string "I love ADI" to the blackfin using PC
2): Blackfin reads those data with rx interrupt
3): Blackfin use tx intterupt to send out those data to the serial port which connects with my PC.
4): My pc reads the serial port and shows me whether I get the same string.
The result is I have not been able to get the step 4 correct.
Could you kindly put those two examples together with the a sample in the main function?
Thanks a lot.
here's a complete example which does in the current settings a UART loopback with a PC terminal. It is taken out of EE-347 with some enhancements.
If you want to use the library functions standalone than you need ADSP-BF534-UART.c and ADSP-BF534-UART.h.
Retrieving data ...