AnsweredAssumed Answered

i.MX502 CSPI Master: Receive data in polling or interrupt

Question asked by Nori Shinozaki on Nov 29, 2015
Latest reply on Dec 15, 2015 by gusarambula

Hello Champs,

 

My customer is trying to receive data using CSPI in Master mode.

 

First they tried to use "Poll XCH bit" to read RXFIFO, however the read data is not what they expected.

Then they try to use "wait for TC interrupt", the data is read correctly.

 

Could you explan why "Poll XCH bit" doesn't work as expected?

 

The settings are 24bit CLK and 8bit data length, XCH is ON.

 

Best regards,

Nori Shinozaki

Outcomes