After enabling CFG_LSM6DSO_SUPPORT=yes, the SCP cannot start and keeps restarting. However, when CFG_LSM6DSO_SUPPORT is disabled, the SCP can start normally. SCP A is ready.
Could you please tell me if it’s a problem with my configuration or the driver?
Dear Customer,
Thank you for reaching out.
Based on your description that the SCP boots normally when CFG_LSM6DSO_SUPPORT is disabled, but experiences restarts when it is enabled, it strongly suggests that the issue is likely related to either the LSM6DSO configuration or the SCP-side driver initialization for the sensor.
To help us diagnose this further, please provide the following information and perform these checks:
Checks to perform:
- LSM6DSO Presence: Please confirm whether the LSM6DSO sensor is physically present and correctly mounted on your board.
- I2C Configuration:
- What is the specific I2C bus number being used for the LSM6DSO?
- What is the slave address configured for the LSM6DSO?
- IRQ / EINT Configuration: Kindly verify the interrupt (IRQ) or external interrupt (EINT) configuration for the sensor. Incorrect settings here can prevent proper communication or cause system instability.
- Sensor Power / Regulator Settings: Please confirm the power supply and regulator settings for the LSM6DSO. Insufficient or unstable power can lead to unexpected behavior.
- Consistency between AP and SCP Settings: Ensure that the settings related to the LSM6DSO are consistent between the Application Processor (AP) side and the SCP side. Mismatched configurations can lead to initialization failures.
Logs to collect:
Please also collect and provide SCP logs, paying particular attention to the following events and data:
- SCP Reset / Restart Events: Logs leading up to and immediately following any SCP resets or restarts.
- Exception or Watchdog Timeout: Any log messages indicating exceptions or watchdog timeouts, which can pinpoint the cause of the restart.
- LSM6DSO Initialization Flow: Detailed logs showing the entire initialization sequence of the LSM6DSO driver.
- WHO_AM_I Read Result: The result of the
WHO_AM_Iregister read from the LSM6DSO. This is crucial for confirming successful basic communication with the sensor.
If the SCP consistently restarts specifically when sensor communication fails, this could indicate a driver-side error-handling issue that needs to be addressed.
Best regards,
Selvakumar S
it is ok .no more help .Thanks