I2C not working in nRF54L15DK

Hi,

We developed an application on the nRF52833 and are now porting it to the nRF54L15. As part of this process, I'm integrating an external RTC via I2C on the nRF54L15DK. After modifying the overlay file accordingly, the i2c write operation returns a -5 error (input/output error). What could be the possible cause?

Note: The application was working on the nRF52833.

moreover CONFIG_I2C is enabled in "prj.cfg" file.

Parents Reply
  • I also encountered this error when trying to use the i2c22 instance. I was using P1.04 for SCL and P1.07 for SDA. My project was working on the nrf5340dk, but I kept seeing the -5 return code when trying to interface with any I2C peripherals on the nrf54l15dk. The fix I found was to switch to the TWIM33 instance, after I did this all my peripherals started working as per normal. To do this you just need to change i2c22 to i2c30 in the overlay file shown above. 

    Note that TWIM33 only works on Port 0 as described in the datasheet.

    I used P0.03 for SCL (as this is a clock pin) and P0.02 for SDA. 

Children
No Data
Related