My SPI Reading doesn't function.

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

My SPI Reading doesn't function.

1,012件の閲覧回数
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 返信

730件の閲覧回数
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 件の賞賛
返信