Skip to main content
jesal.patel
Associate II
September 20, 2018
Question

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

  • September 20, 2018
  • 2 replies
  • 929 views

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
September 20, 2018

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
September 20, 2018

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

Error says what?

Tips, Buy me a coffee, or three.. PayPal VenmoUp vote any posts that you find helpful, it shows what's working..