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
