I assembled the ISM330DLC on an PCBA together with an IIS2MDC in Mode 2 -> ISM330 connected to an MCU by 4-wire SPI / IIS2MDC connected to the I2C interface od the ISM330 / DRDY of IIS2MDC connected to INT2 of ISM330
I had the same issue first.The problem was that I2C read procedure requires a "repeated start" condition instead of "Stop/Start" between Write and Read procedure.Do not use HAL_I2C_Master_Transmit and HAL_I2C_Master_Receive combination to read a regi...
I had the same issue first.The problem was that I2C read procedure requires a "repeated start" condition instead of "Stop/Start" between Write and Read procedure.Do not use HAL_I2C_Master_Transmit and HAL_I2C_Master_Receive combination to read a regi...
I found a solution having no latchup issues between the DRDY of the IIS2MDC and the INT2 of the ISM330DLC.All running as expected, but quite many SPI transfers needed.Just want to share these information..