2024-11-24 11:00 AM - edited 2024-11-24 11:33 AM
Hello,
I am new to stm programming. I got a STM32L496G-DISCO board and I wanted to create a new project. When I try to configure the pins i have a lot of yellow triangle warning icons and some of the fields are purple which can not be changed. I don't know if that is normal or am I doing something wrong. I tried an simple UART code and it doesn't work. It keeps on shutting down automatically and this appears the second I compile "
Verifying ...
Download verified successfully
Shutting down...
Exit."
2024-11-24 11:26 AM
UART1 is connected to the STMOD+, USART2 is tunneled to the host via ST-LINK USB VCP, see board schematics, so USART2 should work.
On a DISCO board (in contrast to Nucleo) most pins are already routed on the PCB and thus have a dedicated purpose. Generally hover over the red/yellow marks and read the explanations. Cross check with the board schematics. Yellow means: not every config of that peripheral is possible because of pin conflicts, but at least one specific config is still possible. Red means: no config of a peripheral is possible because they all will generate pin conflicts.
hth
KnarfB