I2C Slave Receive multiple bytes

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

I2C Slave Receive multiple bytes

跳至解决方案
1,306 次查看
erde5544
Contributor I

Hi, 

i'm using the MPC5748G Devkit and i want to communicate via I2C with a Raspberry Pi. The Devkit is the slave and i want to receive multiple bytes from the Master. But i only can receive the first byte, the other ones are lost. I tried with another Hardware as slave and it worked fine.  

Am i doing something wrong in the configuration or is the hardware i2c timing not compatible? 

I dont want to send the bytes seperately because of time loss.

Thanks for any help!

标记 (2)
0 项奖励
回复
1 解答
1,277 次查看
erde5544
Contributor I

I had to connect a data storage write with the same dimensions as number of bytes to receive. It is not possible to process the data directly.

erde5544_0-1647344657140.png

 

在原帖中查看解决方案

0 项奖励
回复
1 回复
1,278 次查看
erde5544
Contributor I

I had to connect a data storage write with the same dimensions as number of bytes to receive. It is not possible to process the data directly.

erde5544_0-1647344657140.png

 

0 项奖励
回复