AnsweredAssumed Answered

SPI Message for 32bit Transfer (MPC5744P) MBD Toolbox

Question asked by Abhishek Kumar on Oct 2, 2019
Latest reply on Oct 3, 2019 by Constantin Razvan Chivu

Dear All

 

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.

RESULT

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 

 

Result

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.

 

Best Regards

Abhishek

 

Rafael Barbosa, Marius-lucian Andrei

Outcomes