2024-05-29 09:15 PM
Hi,
I'm observing GPIOA_MODER reset value 0x2BFF FFFF on my STM32C0116-DK, not 0xEBFF FFFF as written in the RM.
My guess: because PA15 does not exist on that MCU
hth
KnarfB
2024-05-30 12:10 AM
Indeed that seems to be the case for various devices, even when the corresponding hardware in physically present but not available due to bonding/packaging, see e.g.
Most probably the reset settings of many (all?) registers related to bonding/packaging options are not fixed in hardware, but programmed into the mysterious 'engineering bytes' (along with calibration data) and copied into the corresponding registers upon reset.
But here it might be even fixed in hardware, as for this particular die apparently there is no package with PA15. Would be interesting to know whether register bits, output driver etc. related to PA15 are present and functional, i.e. what happens if PA15 is configured to output and toggled. Is output state reflected in IDR?
2024-05-30 01:12 AM - edited 2024-05-30 05:19 AM
Hello @KnarfB ,
PA15 is not present at all in STM32C011, so all things linked to this pin are not present. This is why you are seeing 0x2BFF FFFF instead of 0xEBFF FFFF.
If you also check the GPIOB_MODER register it is exactly the same.
Best regards,
Simon