2024-07-27 09:57 AM - last edited on 2024-07-27 12:35 PM by STOne-32
I am using STM32G431cbtx and enabling RCC_MCO. Since the STM32G4 supports two pins, PA8 and PG10, PA8 is being used for another function, and I am using PG10 for RCC_MCO. However, when measuring the voltage on pin PG10, it is always high.
Can anyone explain it to me?
Solved! Go to Solution.
2024-07-29 01:20 AM
Ok,
so:
Did you set option bytes -> pg10 = not nrst, but alternate function (mco) ?
2024-07-27 10:01 AM
Show, what you set in Cube ...
+
What frequency you want at mco ?
Set pin speed high ?
Scope probe at 10:1 ?
2024-07-28 07:39 PM
I have tested RCC_MCO on pin PA8 and it was successful. But when I tested it on PG10 (Reset Pin), it was always high
2024-07-29 01:20 AM
Ok,
so:
Did you set option bytes -> pg10 = not nrst, but alternate function (mco) ?
2024-07-29 06:33 PM
That's correct. However, the RCC_MCO signal still cannot be measured on PG10 pin!