Hi,
I'm running the "samples/pmic/native/npm1300_one_button" PMIC sample w/ my nrf54l15k. I'm able to initialize the PMIC through I2C successfully using the sample default pins:
i2c21_default: i2c21_default { group1 { psels = <NRF_PSEL(TWIM_SDA, 1, 11)>, <NRF_PSEL(TWIM_SCL, 1, 12)>; }; }; i2c21_sleep: i2c21_sleep { group1 { psels = <NRF_PSEL(TWIM_SDA, 1, 11)>, <NRF_PSEL(TWIM_SCL, 1, 12)>; low-power-enable; }; };
However, my custom board requires me to use I2c on pins 2,3 in port 0
i2c30_default: i2c30_default { group1 { psels = <NRF_PSEL(TWIM_SDA, 0, 2)>, <NRF_PSEL(TWIM_SCL, 0, 3)>; }; }; i2c30_sleep: i2c30_sleep { group1 { psels = <NRF_PSEL(TWIM_SDA, 0, 2)>, <NRF_PSEL(TWIM_SCL, 0, 3)>; low-power-enable; }; };
I'm using the same configuration and overlays, I'm even disabling address conflicting peripherals. According to the datasheet I should use spi30 for gpio port 0
&spi30{ status = "disabled"; }; &uart30 { status = "disabled"; };
I'm unable to use this pins for TWI and configure the 1300PMIC correctly, what am I missing? this is the generated dts
1030.zephyr.dts