Hello support!
I have tried all AI help out there but it seems like this might be a hardware problem. I have the nRF9151 connected to a nPM1300 on a custom board. I am using the npmx library to configure and work with the nPM from the host firmware in the nRF9151.
I hooked up the board to a oscilloscope today and probed the PWM signal to a blue LED on the board and the other probe on the LDO1 which is configured to output 2V9. The application is switching the LDO1 output toggling between on and off to save power. The behaviour i need to understand is that when the LED is turned on (approx 70% duty cycle) the toggling value of the LDO1 is nice, that is around 0 to around 2V9 which is the expected. However, if i turn off the LED and do the same the toggling values are instead arround 0 and the turing into a stair formed shape going from around 1 V to around 2V9 in 4 steps quite evenly distributed voltage and the duration of each step is around 2 s. Please see attached image below:
See selected code snippets.
Configure LDO:
i have tried the suggested fix of reading somehting on the TWI by adding this: