STM32G4 does not output clock signals on MCO pin \ Where is the alternate function mapping table?
I'm using CubeIDE and I have PG10 configured as MCO output and I see nothing. Usually when I see this, there is a HAL enable command I missed, but I don't think there is in this case.
I've tried multiple clock sources and the pin stays at voltage high. I've checked on all the registers I know:
GPIOG
MODER -> MODER10 = 0x2 (alternate function)
AFRL = 0x0
AFRH = 0x0
I suspect that having no alternate function set in AFR\L registers is what is not correctly set, but I don't see the mapping table mentioned in the reference manual: "Refer to the “Alternate function mapping” table in the device datasheet for the detailed mapping of the alternate function I/O pins."
What should these registers be set to for MCO and where is the mapping table?
