Adding nPM1300 overlay to nRF5340 DK configuration

Hi,

I am currently configuring the nPM1300-EK with the nRF5340-DK by following the instructions from the webinar "Adding battery charging and fuel gauging to your nRF52 Series project" available on the Nordic Semiconductor YouTube channel, as well as the accompanying web guide. I have added the overlay file, exported from nRF Connect Desktop, to the build configuration of a sample codes (Blinky, BLE LED Button Service). The codes build successfully and flash nRF5340-DK without any errors. However, the sample codes do not operate as expected—the LEDs remain off all the time. This issue persists whether the nRF5340-DK is powered from its own USB port or from the nPM1300-EK. Since the build process completes successfully without any errors, it is difficult to determine the root cause of the problem. Could you provide any insights or suggestions to resolve this issue?

Parents
  • Hi, 

    Have you added the pin configurations for the I2C to your overlay after exporting it? For the nRF5340DK with the connections used in the guide you linked to it would be something like this: 

    &i2c0_default {
        group2 {
            psels = <NRF_PSEL(TWIM_SCL, 1, 3)>, <NRF_PSEL(TWIM_SDA, 1, 2)>;
            bias-pull-up;
            };
        };
    /delete-node/ &{/pin-controller/i2c0_default/group1/};

    br,
    Robin

Reply
  • Hi, 

    Have you added the pin configurations for the I2C to your overlay after exporting it? For the nRF5340DK with the connections used in the guide you linked to it would be something like this: 

    &i2c0_default {
        group2 {
            psels = <NRF_PSEL(TWIM_SCL, 1, 3)>, <NRF_PSEL(TWIM_SDA, 1, 2)>;
            bias-pull-up;
            };
        };
    /delete-node/ &{/pin-controller/i2c0_default/group1/};

    br,
    Robin

Children
No Data
Related