Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.Sign up
using rawSerial adds about 600µA #11758
It seems like the chip is going into deep sleep mode and we have already tried to stop the hfxo but this doesnt seem to be the problem. We have also checked al the pins i use to see if one is configured wrong but this also doesn't seem to be the problem. We can't find annything strange in the init function of the serial_api so we hope someone over here knows whats going on.
I assume one of these results in higher current as they initialize serial peripheral. What happens if an object is destroyed ?
One workaround (the real fix needs to still be implemented) would be to invoke
@0xc0170 thanks for your reply,
Thanks for getting back. I dont see in free implementation stopping the task, should it be added ? If yes, please send a PR fixing it.
Check this https://devzone.nordicsemi.com/f/nordic-q-a/53121/uart-low-power-shutdown-issue . If our
My first question would be: what
@0xc0170 i have tried the workaround in the link, by turing the peripheral off and on again. And this does the trick.
This clears all the registers in the UARTE0 so i have to construct a new rawserial each time i need it.
Thanks for the help