2024-03-18 07:29 AM
Sleep testing,
How do I configure my GPIO pins to absolutely be sure
none of them are supplying any power ?
I wish to turn the all "off".
And if there is a quick way to do it via CubeMx , so I won't miss any ?
Thanks
Solved! Go to Solution.
2024-03-18 07:50 AM - edited 2024-03-18 07:51 AM
You can set them to input (high impedance), or analog mode, or you can set them to output 0V. Pick one of those options depending on the behavior you want. They will not be outputting a nonzero voltage in any of those modes.
Pins are in input mode or analog mode by default depending on your chip, so no action is typically necessary.
2024-03-18 07:50 AM - edited 2024-03-18 07:51 AM
You can set them to input (high impedance), or analog mode, or you can set them to output 0V. Pick one of those options depending on the behavior you want. They will not be outputting a nonzero voltage in any of those modes.
Pins are in input mode or analog mode by default depending on your chip, so no action is typically necessary.