Important changes to forums and questions
All forums and questions are now archived. To start a new conversation or read the latest updates go to forums.mbed.com.
9 years, 2 months ago.
AnalogIn not functioning in Nucleo L053R8
Any code with the line: AnalogIn anything(A0); causes the system to hang. I can't use the analog inputs if I can not define them. Any ideas? Thanks, Jeff
Question relating to:
4 Answers
9 years, 1 month ago.
anyone knows how to fix it..??? i am having same trouble with Nucleo L053R8...
9 years, 2 months ago.
Try using a terminal program to see if a"pinmap not found for peripheral" error comes up. This means you are using a pin for the wrong thing i.e. digital for analog or mixing up SPI pins. This error flummmoxed me for 3 days until I used A0 instead of PA_0 on a nucleo 401 board when I thought they were interchangeable. I realise you've tried both terms for the one pin, maybe you should try a completely different pin on another header.
Cheers
Mike
9 years, 1 month ago.
I use Nucleo L053R8,and have the same problem.When i try to use the PC_8,it will return "pinmap not found for peripheral" .But use any ADC pin to define: AnalogIn ain(ADC_PIN),the system will hang.
Have the same problem too!Is there a bug?
posted by Jerry Zhang 03 Mar 2015