Issue with STM32L432KC Nucleo

Thread Starter

Xavier Pacheco Paulino

Joined Oct 21, 2015
728
Have anyone programmed the L432KC nucleo? I'm having hard time trying to simply turn a led on. I'm using CubeMx with Hal Library. I've set the pin as output, and used the following line: HAL_GPIO_WritePin(GPIOB, GPIO_PIN_7, GPIO_PIN_SET);

I'm starting to think I have problems with the clock configuration or something similar. I can't get anything working.
 

Thread Starter

Xavier Pacheco Paulino

Joined Oct 21, 2015
728
UPDATE:

I forgot to mention that I had declared an analog input for an ADC. If I get rid of the ADC, the controller runs okay. So, the problem is when I enable the ADC, the controller inhibits itself.
 
Top