Can somebody help me to read data from the register using the TI I2C receive block (part of Embedded Coder Support Package for Texas Instruments C2000 Processors)
1 view (last 30 days)
Show older comments
I am using the TMS320F28035 Piccolo Microcontroller, in a combination board, which also has the LSM6DS3H -iNEMO inertial module, embedded in STEVAL-MKI160V1, adapter board. Also, I had setup the Embedded Coder Support Package for Texas Instruments C2000 Processors, as an add on and hence, I now have the access to that Tool box in Simulink library. I am using Code Composer Studio V 6.2 I followed the example, to read the Accelerometer and gyroscope data from I2C based sensor , provided in https://www.mathworks.com/help/supportpkg/texasinstrumentsc2000/examples/using-the-i2c-bus-to-access-sensors.html, but of no use.
1 Comment
Shubham
on 18 Sep 2024
Hello Navya,
I am also facing similar issues with I2C transmit block. Did you get any resolution?
Please let me know shubham.sharma4@ge.com
Regards
Shubham
Answers (1)
MULI
on 9 Oct 2024
I understand that you are facing an issue in reading data from the LSM6DS3H inertial module using the TMS320F28035 Piccolo Microcontroller.
You can follow the below suggestions to resolve the issue:
- Ensure the wires connecting the microcontroller to the LSM6DS3H sensor are correct, with data and clock lines having pull-up resistors to the power source for proper I2C communication.
- Check the I2C address of the LSM6DS3H module to ensure it matches the address configured in your Simulink model.
- Ensure that the Simulink model is correctly configured for the TMS320F28035 microcontroller which includes setting the correct pins for I2C communication.
- Verify that the Code Composer Studio settings are correctly configured for your hardware, including the clock settings and proper initialization of the I2C module.
0 Comments
See Also
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!