Hello Toradex.
We are using verdin development board along with imx8m plus SoM. I flash the SoM with torizon os v.5.7.0 with evaluation containers(PREEMT_RT). After that i tried to access general purpose i2c bus .i.e i2c1 but it is not showing any internal chips address like temperature sensor,eeprom etc.we connected sodium 12,14,jumpers also.We used i2c tools for testing.
Thanks & Regards.
Raj Kumar.
Hi, I’m the Toradex AI Assistant. I’m in early beta, and I would appreciate your feedback.
The Toradex Support team will follow up with you shortly!
Did you like my answer?
Hello,
To address the issue of I2C 1 not showing the slave addresses on your Verdin development board with the iMX8M Plus SoM running Torizon OS v5.7.0, please follow these steps:
-
Verify Hardware Connections: Ensure that the SODIMM pins 12 and 14 (assuming these correspond to the I2C1 SDA and SCL lines on your SoM) are correctly connected and that there are no loose connections. Also, verify that the jumpers are correctly placed to enable I2C1.
-
Check I2C Bus Activation: Ensure that I2C1 is enabled within the device tree. For Torizon, the device tree might be pre-compiled, but you can customize it using the TorizonCore Builder Tool. Verify that the I2C1 bus is not disabled in the device tree.
-
Use I2C Tools: Since you’ve already used I2C tools without success, ensure you’re using the correct command syntax, such as
i2cdetect -y 1
to scan for devices on I2C bus 1. If no devices are showing up, it could indicate a hardware issue or misconfiguration. -
Check for Kernel Messages: Look at the kernel dmesg log for any messages related to I2C1. Use the command
dmesg | grep i2c
to filter relevant messages. This can provide clues if the bus is not being initialized correctly or if there are errors during operation. -
Evaluate Power Supply and Grounding: Ensure that the devices you are trying to communicate with are correctly powered and share a common ground with the SoM. Incorrect power supply levels or grounding issues can prevent successful communication.
-
Software Configuration: Verify that the PREEMPT_RT patch or any other evaluation containers you are using do not interfere with the I2C operation. Although unlikely, real-time configurations can sometimes alter system behavior.
-
Update and Test: Ensure your Torizon OS and all containers are up to date. Although you are using v5.7.0, it’s good practice to check for any updates or patches that might address known issues.
If after these steps the I2C bus still does not show any slave addresses, it might be necessary to delve deeper into the hardware setup or consider testing with a minimal software configuration to rule out software-related issues.
Best regards,
Toradex AI Assistant
Please, also check if these links can help you solve your problem:
Hi @RajKumar ,
Please always give the details of your query.
eg.
What device tree changes you have done
What do you mean by internal chip address and where it is not showing?
Are you using external temperature senor and EEPROM ? If yes, where have you conected?
Hi sahil,
I haven’t flash any device tree in above scenario.I just flashed the torizon os v 5.7.0 and try to see the i2c1 bus using i2c command line tools in linux i.e i2c-tools.we followed below link from toradex website for access How to use I²C on Torizon OS | Toradex Developer Center
Sorry for the confusion, i am trying to access verdin development v1.1c board temperature sensor which is 0x4f on i2c_1 bus but it is not showing any address on the bus.
hope your clear now!
Thanks & Regards,
Raj Kumar.
can you guide me how to verify this one .
Hi @RajKumar ,
Can you share the steps you have done and the results/error you got?
Hi, I’m the Toradex AI Assistant. The Toradex Support team will follow up with you shortly!
Did you like my answer?
Hello Raj Kumar,
Based on the context provided, here are some steps you can take to troubleshoot the issue with the I2C bus on your Verdin development board:
-
Verify I2C Configuration: Ensure that the I2C bus is properly initialized in Torizon OS. Double-check the configuration settings to make sure they match the requirements for your connected devices.
-
Check Connections: Confirm that the correct pins (sodium 12 and 14) are being used for I2C communication and that all necessary jumpers are connected. Inspect the physical connections to ensure they are secure and correct.
-
Power Supply: Make sure that the connected I2C devices, such as temperature sensors and EEPROMs, are powered correctly. An insufficient power supply can prevent devices from being detected.
-
Use I2C Tools: Since you have already used I2C tools for testing, consider running additional diagnostics to see if there are any error messages or logs that could provide more insight into the issue.
-
Hardware Check: Examine the hardware for any potential issues, such as faulty connections or unresponsive devices. Testing with a different set of devices or cables might help isolate the problem.
-
Consult Documentation: If the issue persists, refer to the Toradex documentation for any specific troubleshooting steps related to the Verdin development board and the i.MX8M Plus SoM.
-
Contact Support: If none of the above steps resolve the issue, consider reaching out to Toradex support for further assistance.
By following these steps, you should be able to identify and resolve the issue with the I2C bus on your development board. If you need further help, don’t hesitate to contact Toradex support.
Please, also check if these links can help you solve your problem: