Odd Number of Bytes Sent Using 16-bit Slave FIFO mode | Cypress Semiconductor
Support & Community
Odd Number of Bytes Sent Using 16-bit Slave FIFO mode
If FX2LP is configured in 16-bit slave FIFO mode, and the data to be sent to the external device contains only an odd number of bytes, how does the external processor read the last one byte?
As stated in the TRM, in 16-bit mode, data is transferred as words rather than bytes. Hence if the packet contains an odd number of data, then the last word will contain one byte of junk data and one byte of valid data.The external microprocessor will have ignore the half of the last word received.
The FD[7:0] will contain the correct data and FD[15:8] will contain the junk data.