SPI driver in master and slave mode with interrupts

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

SPI driver in master and slave mode with interrupts

1,458件の閲覧回数
ivanrobles
Contributor III

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

0 件の賞賛
5 返答(返信)

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

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

784件の閲覧回数
ivanrobles
Contributor III

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

0 件の賞賛

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

784件の閲覧回数
thomaskang-b295
NXP Employee
NXP Employee

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

0 件の賞賛