2018-09-18 10:40 PM
hello team,
I am trying to get started with NUCLEO l4r5zi board.
The first program i am doing is to blink a LED on board (PB7) .
Problem is the program builds successfully and is loaded on the board . but the LED is not blinking.
Moreover the Console reads a breakpoint on MX_INIT_GPIO.
Please guide me with the procedure to perform this .
2018-09-18 10:42 PM
I also surfed for the similar post, where I got an thread which stated to change the clock from HSE to HSI / MSI . but It didn't work for me.
2018-09-19 03:25 AM
Hello,
Check the VDD_MCU, as LD2 (which is connected to PB7) cannot work with VDD_MCU= 1.8 V.
Kind Regards,
Imen
2018-09-20 12:50 AM
Hello Imen,
Thank you for guiding.
The device is powered by USB.
I could now succesfully perform the blink program.
Now the issue i am facing is with the ADC polling program. At the debug window it shows the target not found error.
Please guide me with ADC example. I want to get analog input of 0-3.3V from a potentiometer for generating an output pwm signal.
Kind Regards,
Jesal
2018-09-20 02:14 AM
Hi @jesal.patel ,
I recommend you the ADC example available in the STM32CubeL4 version 1.13.0:
STM32Cube_FW_L4_V1.13.0\Projects\NUCLEO-L4R5ZI\Examples\ADC\ADC_RegularConversion_Polling
This will help you to use the ADC in Polling mode.
You find more details on how to use the example in the readme.txt file.
Kind Regards,
Imen.