NRF54L10: I2C configuration error

Hello Team,

I'm using nrf54l15 dk and ncs version 2.9.0 for the development. I am getting an error while configuring I2C. I selected i2c20 from the device tree and assigned P1.00 for SCL and P1.01 for SDA. It generated the following code in the nrf54l15dk_nrf54l10_cpuapp.overlay file

Added the following configuration in the prj.conf file

CONFIG_I2C=y
CONFIG_PINCTRL=y
And wrote the following code to initialize I2C
I'm getting the following error
devicetree error: 'pinctrl-0' is marked as required in 'properties:' in C:/ncs/v2.9.0/zephyr/dts/bindings\i2c\nordic,nrf-twim.yaml, but does not appear in <Node /soc/peripheral@50000000/i2c@c6000 in 'C:/ncs/v2.9.0/zephyr/misc/empty_file.c'>
Kindly help me resolve the error.
Regards,
Payal
  • Attached is the file for the complete

    error log

  • Hi,

     

    It looks like you have altered the mcuboot app.overlay file:

    I would recommend that you revert the changes done in this file:

    Go to folder "C:/ncs/v2.9.0/bootloader/mcuboot/boot/zephyr/" and open a cmd line in this path, then write:

    git checkout app.overlay

     

    Kind regards,

    Håkon

  • Hi,

    Go to folder "C:/ncs/v2.9.0/bootloader/mcuboot/boot/zephyr/" and open a cmd line in this path, then write:

    git checkout app.overlay

    I tried this, but I still get the same error while compiling for nrf54l10.

  • Hi,

     

    That is strange.

    Q1: Is the issue due to path length on your end?

    Try using a shorter path, for instance c:\sdk\my_app

    Q2: are you using a custom board, since you always add mcuboot even for blinky?

     

    Kind regards,

    Håkon

  • Try using a shorter path, for instance c:\sdk\my_app

    Tried. Not working.

    Q2: are you using a custom board, since you always add mcuboot even for blinky?

    No.

1 2 3 4