Using Invensense MPU6050 with Texas Instrument F28335 ezDSP through I2C, programmed through Simulink
Show older comments
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
Answers (1)
jifeng rgj
on 21 Sep 2015
0 votes
Hi, did you make it? Would you please to give me some help? Thanks
Categories
Find more on Texas Instruments C2000 Processors in Help Center and File Exchange
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!