STM32C011 unable to configure PF2 nRST as GPIO and multiplex to PA0
Hi everyone,
Recently started working on STM32C011J4M3.
I'm trying to set PF2-NRST pin as a GPIO and I want Pin 4 to multiplexed to PA0 USART TX pin.
At first i tried multiplexed the Pin 4 to PA0 using the following API " LL_SYSCFG_ConfigPinMux(LL_PINMUX_SO8_PIN4_PA0);" but this didn't work and to mention that this API function worked on Pin 1 and Pin 5.
I came across this post to set PF2-NRST pin as a GPIO and change the Pin 4 to PA0 thinking that multiplex is only done with GPIO Ports.
I tried above code to set the NOT_RESET_INPUT_ONLY bit and clear the NOT_GPIO_MODE_ONLY bit of the FLASH option bytes this works in Registers but to my surprise the Pin 4 still works as PF2-NRST pin and not as GPIO.
Debugging works as always and when i remove the Pin4 connection from debugger I receive console message as "Target is not responding, retrying..."
I conclude that this message show that still the Pin 4 is set as PF2-NRST pin even though the NOT_GPIO_MODE_ONLY bit is cleared .
I'm really confused plz check the attachment and help me out .
