Skip to main content
jesal.patel
Associate II
Sep 20, 2018 12:55 PM UTC
Question

how to get analog data from any ADCIN pin on STM32 nucleo L4R5ZI?

Hello Team,

I am a beginner in STM32 .

Trying to implement a program which takes 0-3.3V on ADC pin and giving out PWM on a GPIO pin.

I tried implementing the Example of ADC_RegularConversion_Polling ,

But the problem facaed is on debug window it says target not found , error reading value on the variable .

Please guide with the steps.

I am building the program using MX cube and Atolic True Studio.

Kind Regards,

Jesal

This topic has been closed for replies.

2 replies

jesal.patel
Associate II
Sep 20, 2018 1:08 PM UTC

I tried with an example from: ST\STM32CubeL4\NUCLEO-L4R5ZI\Examples\ADC\ADC_RegularConversion_Polling.

But there is an error in the program . it fails to build.

Tesla DeLorean
Guru
Sep 20, 2018 3:42 PM UTC

>>But there is an error in the program . it fails to build.

Error says what?

Tips, Buy me a coffee, or three.. PayPal Venmo (See Profile) Up vote any posts that you find helpful, it shows what's working..