cancel
Showing results for 
Search instead for 
Did you mean: 

NUCLEO-U083RC with X-NUCLEO-IKS5A1 fails to communicate to I2C sensors

suiunbek
Associate II

Hi,

I have NUCLEO-U083RC-B01. I attached X-NUCLEO-IKS5A1 to it. All jumpers are in default positions.

In STM32CubeMX I enabled I2C1 with default values. In the main program I am trying to check the device readiness for MEMS sensors on the X-NUCLEO-IKS5A1, e.g, ISM330IS. HAL_I2C_IsDeviceReady returns HAL_ERROR.

I tried to set the I2C1 GPIO configuration Pull-up but no success. The I2C Speed Mode is standard. I check the readiness by:

HAL_StatusTypeDef status = HAL_I2C_IsDeviceReady(&hi2c1, ISM330IS_I2C_ADD_H, 3, 100);

 

I am attaching my main file.

Thank you in advance.

0 REPLIES 0