Part Number: TMS320F28069M
Other Parts Discussed in Thread: TMS320F28027, LAUNCHXL-F28027F, LAUNCHXL-F28069M
I am upgrading from the TMS320F28027 to the '069 and SPI code that worked there is not working on the new chip.
The error is that there is an extra bit inserted at the front of the data transfer that is not seen in the actual data transfer. The data received is 0x10a1 rather than the transmitted data 0x2143. Note that 0x10a1 == (0x2143 >> 1).
I am attaching an oscilloscope capture of the trace as seen on the SPI lines. The signals from top to bottom are SIMO (green) clocking in the bit pattern 0010-0001-0100-0011 (0x2143), SOMI (purple) clocking out the bit pattern 1010-1010-0101-0101 (0xaa55), SCLK (blue), and SCS (yellow) which is low throughout the transfer.
The SPI configuration is shown in the next screen capture which shows the setup and transfer code as well as the SPI registers immediately following the transfer. I am configuring the clock to capture input data on the rising edge of the clock Polarity=0, Phase=1.

