SPI driver in master and slave mode with interrupts

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

SPI driver in master and slave mode with interrupts

2,486 次查看
ivanrobles
Contributor III

I need to test the spi how master and slave with interrupts in transmission and reception.

0 项奖励
回复
5 回复数

1,812 次查看
jeremyzhou
NXP Employee
NXP Employee

Hi Ivan,

I'm glad to provide support for you. However I just need you to clarify certain things which are not clear enough in your quesiton.

1. Could you let me know whiat MCU do you have ?

2. I was wondering if you could explain in more detail of the SPI operation you want?

I'm looking forward to your reply.

Best regards,

Ping

0 项奖励
回复

1,812 次查看
ivanrobles
Contributor III

Hi Ping Zhou,

I'm using two MK20DX256VLQ10 and code warrior.

I need to use one microcontroller as master and the other as slave.

Firs:t The Master sends the request to the slave(receiving data)

Second: The slave sends its data to the master.

But the master needs to read buffer block by buffer block for this reason it needs to wait while the master sends or receives the buffer block complete.

Best Regards,

Ivan.

0 项奖励
回复

1,812 次查看
ivanrobles
Contributor III

Sorry I forgot to say you that the communication is with interruptions.

0 项奖励
回复

1,812 次查看
jeremyzhou
NXP Employee
NXP Employee

Hi Ivan,

I found a thread that about communication between two FRDM-K20D50M and I think it should be useful for reference.

Re: SPI communication b/w two FRDM-K20D50M Boards

If you have any other questions, please feel free to contact with me.

Best regards,

Ping

0 项奖励
回复

1,812 次查看
thomaskang-b295
NXP Employee
NXP Employee

Hi Ivan, It will be better to tell readers about what processor you want to implement.

0 项奖励
回复