This question is similar to: SPI Communication Problem but the suggested solution does not work
I want to transfer 32 bit SPI message for MPC5744P.
What I tried (as attache _32bit model)
1. Attempt one (exactly as in SPI Communication Problem)
I set the SPI frame size as 32 bit with continuous transfer as said in data sheet.
I got a 16 bit frame data as seen in below snap shot (the clock is 16 bit, as the input data was 1 (seen in pink)). It takes 16 clock to transmit the data where it shall take only 8.
2. Attempt 2
I used 8 bit frame size
A bit better but data seems to be corrupted (as the input is [1 1 1 1], I expect the green box behavior and not the orange box, as shown below)
Please let me know how to deal with this problem.