My SPI Reading doesn't function.

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

My SPI Reading doesn't function.

643 次查看
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.

标记 (1)
0 项奖励
回复
1 回复

362 次查看
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 项奖励
回复