How to use MCO at PG10/NREST Pin with STM32G474RE? Init. code from STM32CubeMX always works at PA8 Pin as MCO function.
I am working with a STM32G474RE and I want to use a MCO as an output of HSE(27MHz).
I used STM32CubeMX Ver.5.6.1 for generate simplest init. code, which would work only for MCO function at PG10 Pin.
here's my setup.


I builded the init. code by SW4STM32 without any modification.
27MHz crystal is connected betoween PF0 and PF1.
I measured wave form at PG10 and PA8 Pin by oscilloscope.
PG10 wave form was tied to 3.3V DC, and PA8 wave form was 27MHz clk signal.
I thought that I must write something to set PG10 as standard GPIO in order to avoid confliction with NRST function. Therefore, I can't find how to do it.
Thank you.
