2020-11-25 02:26 AM
Hello.
I am using NUCLEO-L010RB.
What I want to do is to monitor the trigger with the GPIO pin during stanby mode, the sequence operation of the GPIO pin at the time of triggering, and the output of 16MHz from the MCO.
However, in the current configuration, it seems that 16MHz is always output during stanby mode.
I would like to know how to output 16MHz only at the time of trigger.
Thank you for your cooperation.
2020-11-25 03:47 AM
When enabled the MCO (Microcontroller Clock Output) continuously outputs the selected clock frequency.
However, the STM32L010 always knows when to switch to standby mode, so that you can deactivate the MCO immediately before and activate it afterwards, i.e. at the wakeup. Is that what you want to achieve?
Regards
/Peter
2020-11-25 11:18 PM
Thank you for your reply.
Please let me confirmation of your answer.
Does it mean that if I deactivate the MCO before switching to standby mode,
the MCO output will stop even after switching to standby mode?
Furthermore, is it possible to activate the MCO from a logical inversion of the GPIO pin?
If my perception is correct, can you tell me the settings or steps?