nRF Connect SDK Fundamentals Lesson 6 Exercise 1: Question on the i2c node used in the example

Hello,

Step 5.2 of this part of the course has a code example which shows which i2c node to use to control the temperature sensor. In the case of the nRF54l15DK it is the &i2c22 node that is used. I also have a nRF52840DK and the code example uses &i2c0 for the sensor. I can see the &i2c0 node being defined in the dts file of the nRF52840DK (nrf52840dk_nrf52840.dts) but I cannot find the equivalent for the nRF54l15DK in any of the dts or dtsi files. The AI assistant says they can be found in the SOC level dtsi files but I still don't see them. How do you know which i2c controller / nodes can be used for that particular DK (especially for nRF54l15DK) ?

I believe I can also see the i2c controllers from the devicetree viewer but that requires a successful build first right? 

Thank you

Parents Reply Children
No Data
Related