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!