We are using BF533 and BF561 in our project and we noticed that, we cannot transfer data on SPORT which is 16 bits or less? We are using core mode of operation? Any ideas on what went wrong?
When transferring data 16 bits or less, you need to write to SPORTx_TX16 and read from SPORTx_RX16. The type conversion is done in the header file ( eg: cdefbf561.h)
#define pSPORT1_TX16 ((volatile unsigned short *)SPORT1_TX)#define pSPORT1_RX16 ((volatile unsigned short *)SPORT1_RX)) .
This is applicable to all Blackfin processors and only when you write the code in C.
Retrieving data ...