cancel
Showing results for 
Search instead for 
Did you mean: 

NUCLEO-L073RZ, ADC reading problem on PA2 and PA3 pins We removed SB13 and SB14 resistors on NUCLEO-L073RZ board and configured PA2 and PA3 as ADC channels (in CubeMX), but AP2 and PA3 don't read any analogy inputs.

Texram
Associate III

We also configured the other PAx pins, such as PA0, PA1, PA4, PA5, ect as ADC channels. these pins work properly.

Removing SB13 and SB14 is based on the suggestion of NUCLEO-L073RZ manual (UM1724 Rev 14), in order to use PA2/3 pins.

Please let us know on how to use PA2/3 pins as Analog Inputs.

Thanks

David

4 REPLIES 4

> AP2 and PA3 don't read any analogy inputs

What does this mean? Does the program crash? How are these pins connected? If you set them as GPIO output and toggle, do you see valid logic levels on them?

JW​

MM..1
Chief II

In CubeMX is this pins green?

gbm
Lead III

Did you put the resistors/jumpers in the new places (SB62/63)? This is necessary to connect PA2/3 to the connector's pins.

Texram
Associate III

Have you guys even used any of STM32 Nucleo-64 boards and configured PA2/3 as Analog Input?

All of STM32 Nucleo-64 boards have the same pin setting.