Lsmdsr with dhalia eval board and verdin imx8mplus module

Hi, I’m the Toradex AI Assistant. The Toradex Support team will follow up with you shortly!

Did you like my answer?

:+1: :-1:


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.

  1. 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.

  2. Device Tree Configuration: Double-check your device tree modifications. Make sure that the vdd and vddio properties in your IMU node (lsm6dsr@6b) correctly reference the reg_1p8v regulator. Also, verify that this regulator is enabled and available at boot time.

  3. I2C Bus and Address: Confirm that the I2C bus and address are correctly specified. The logs show attempts on i2c-1 and i2c-0. Ensure that your IMU is connected to the correct I2C bus and that the address 0x6b is accurate.

  4. 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.

  5. 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

i.MX7D Device Tree Customization for I2C.