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,216 次查看
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 回复数

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

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