Using Invensense MPU6050 with Texas Instrument F28335 ezDSP through I2C, programmed through Simulink
1 次查看(过去 30 天)
显示 更早的评论
Hi,
I am trying to set up an I2C connection between the Invensense MPU6050 (gyro+accelerometer) and the Texas Instrument F28335 ezDSP using Simulink and the Embedded Coder, but I cannot get it to work. Has anyone here ever tried doing this?
It seems that I can use the default Embedded Coder's 'I2C Receive' function block, but I would not know how to properly configure this function block. In particular, I would like to read a register value from a slave with a certain address value. Where to insert these two values? It seems that the function block only asks for one of these...
Thanks in advance for your help.
Cheers, Tijs Donkers
0 个评论
回答(1 个)
另请参阅
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!