My SPI Reading doesn't function.

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

My SPI Reading doesn't function.

532 Views
wangk70
Contributor I

Iam using k70. My SPI Reading (first writing like 2 bytes then reading one byte, FIFO function is disabled) doesn't function. I used RFDF and TCF two interrupt sources. But funny is, I could get the right read-value when I set one breakpoint at RFDF-ISR, withoutsetting this breakpoint, I could never get the correct value.

Tags (1)
0 Kudos
1 Reply

251 Views
jeremyzhou
NXP Employee
NXP Employee

Hi Wang,

I've had a brief look through your question and I'm also not sure of the reason that cause the issue.

I wonder if you could show me the data stream figure between the MCU and slave.

I've attached a demo about K60 communicate with a external flash chip and please refer to it for details.

Have a nice day!

Ping

0 Kudos