2024-12-07 03:47 AM - last edited on 2024-12-07 04:08 AM by Andrew Neil
I am working on the Nucleo C031C6 and struggling to use the virtual com port. The datasheet says that the virtual com port is connected to PA3 and PA2, so I want to send data to my computer with USART2. Unfortunately, I do not understand why the pins allocated are orange, and I can't access usart 2: it is in grey and permanently disabled. I do not get the problem
2024-12-07 04:17 AM
You require init right way
i click this and all is green
2024-12-08 11:06 AM
Pins colored orange mean that the pins are assigned a function, but the corresponding component is not enabled in the left side (Categories). In your case the USART2 is not enabled or not in the correct mode. Same about the debugger pins.
2024-12-09 12:53 AM