AnsweredAssumed Answered

STM32L031 alternate function

Question asked by Jianxuan He on Feb 5, 2018
Latest reply on Feb 5, 2018 by Jianxuan He

I am using STM32L031 by power of battery, so I wish to save power consumption.

Now the current consumption is about 200uA at stop mode.

May I change SWDIO and SWCLK to analogue GPIO after initialization?

May I further save power consumption by this way?

If OK, could you give some sample code to change SWDIO and SWCLK to analogue GPIO?