I want to configure I2C of my nrf54L15-PDK using NCS 2.7.0. How can I do that what necessary changes do I need to make in DTS or Overlay file for it?
I want to configure I2C of my nrf54L15-PDK using NCS 2.7.0. How can I do that what necessary changes do I need to make in DTS or Overlay file for it?
Hello,
You can follow this document https://academy.nordicsemi.com/courses/nrf-connect-sdk-fundamentals/lessons/lesson-6-serial-com-i2c/ to know how to configure i2C. As the sensor is external t the board, o we need to add an overlay file to specify the external sensor to a child node of 12c node. You will see an example in the above-mentioned document.
devicetree error: F:/TestFiles/blinky_2_7_0/nrf54l15pdk_nrf54l15_cpuapp.overlay:14 (column 1): parse error: undefined node label 'i2c0'
This is the error I get when I add i2c0 node
Hello,
Did you add the child node in the overlay file under i2c20 node?