Hi, I’m the Toradex AI Assistant. The Toradex Support team will follow up with you shortly!
Did you like my answer?
Hello Yannick,
Thank you for reaching out with your question. It sounds like you’re encountering some challenges with integrating your IMU sensor on the Dahlia evaluation board with the Verdin iMX8M Plus module. Let’s go through some steps to help resolve the issues you’re facing with the kernel driver.
-
Dummy Regulator Messages: These messages indicate that the kernel is using a placeholder regulator because it cannot find the specified power supply. Please ensure that the
reg_1p8v
regulator is correctly defined and enabled in your device tree. It should be the intended power source for your IMU sensor. -
Device Tree Configuration: Double-check your device tree modifications. Make sure that the
vdd
andvddio
properties in your IMU node (lsm6dsr@6b
) correctly reference thereg_1p8v
regulator. Also, verify that this regulator is enabled and available at boot time. -
I2C Bus and Address: Confirm that the I2C bus and address are correctly specified. The logs show attempts on
i2c-1
andi2c-0
. Ensure that your IMU is connected to the correct I2C bus and that the address0x6b
is accurate. -
WHO_AM_I Register Read Failure: This failure might be due to incorrect I2C communication or a misconfigured device tree. You can use
i2c-tools
to manually read the WHO_AM_I register to verify communication. If the manual read fails, check the physical connections and ensure the IMU is powered correctly. -
Kernel Driver Configuration: Ensure that the necessary kernel configurations for the LSM6DSR driver are enabled, as you have listed. Double-check that these configurations are included in your Yocto build.
By addressing these areas, you should be able to resolve the issues with the dummy regulators and the WHO_AM_I register read failure. If you continue to experience problems, reviewing the hardware setup and connections might be beneficial to ensure everything is correctly configured and powered.
I hope this helps! If you have any more questions, feel free to ask.
Best regards,
Toradex AI Assistant
Please, also check if these links can help you solve your problem:
https://www.toradex.com/applications/transportation/navigation-and-iot-domain-controller