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.

TMS320F28377D: SPI MOSI not transmitting data

Part Number: TMS320F28377D

Tool/software:

Hi Champ, I am asking for my customer.

Device is configured in SPI CONTROLLER mode. The initialization is correct.

They try to write data to the SPIx data register (TX buffer) as below

SpixRegs.SPIDAT = (tx_byte)

However, there is no data transmitting from MOSI scoped from the pin.

Once we modify to have data be shifted 8-bit, then it begins to see data transmit. It works from below,

SpixRegs.SPIDAT = (tx_byte << 8);

Would the expert kindly explain why it works in such way ?

Thanks and regards,

Johnny