cancel
Showing results for 
Search instead for 
Did you mean: 

STM32L496G-Disco Pin Configuration question

AndreeaP31
Visitor

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."

 

AndreeaP31_0-1732472011140.pngAndreeaP31_1-1732472076599.png

 

1 REPLY 1
KnarfB
Principal III

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