HOW TO TRANSFER MULTIPLE BYTES BETWEEN TWO 1769 MCUs USING SPI PROTOCOL

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

HOW TO TRANSFER MULTIPLE BYTES BETWEEN TWO 1769 MCUs USING SPI PROTOCOL

1,255件の閲覧回数
abhinavdubey
Contributor II

Hi,

 

I've established SPI communication between two 1769 MCUs, I send one char and slave sends back some other character. Now I want to transmit multiple bytes, when I send two characters or more at a time, at slave side I received random characters some times garbage values received, when I defined an array of chars and send it no character received at slave side.

 

SPI setting

clock at 500Khz

data bit 16

 

what would be the issue??? 

ラベル(1)
タグ(3)
0 件の賞賛
返信
2 返答(返信)

915件の閲覧回数
soledad
NXP Employee
NXP Employee

Hello,

Please find the answers in the following thread: Trasfering 100 bytes of data through SPI between two 1769 MCUs


Have a great day,
Sol

-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------

0 件の賞賛
返信

915件の閲覧回数
abhinavdubey
Contributor II

Hi,

thanks for your suggestion, but I'm the same person who asked both the question and my transfer 100 bytes question is not resolved yet, when I sent multiple byte as I explained in that question, I get garbage, random sequences. pls let me know how it could be done.

thanks

Abhinav

0 件の賞賛
返信