9 years ago.  This question has been closed. Reason: Duplicate question

AnalogIn PA_13-15 gives 'pinmap not found for peripheral' in terminal

My work just ended abruptly today when I wanted to test my new schematic. AnalogIn gives a 'pinmap not found for peripheral' in the terminal window, when using PA_13, PA_14 or PA_15 (and possibly others).

Am I doing something wrong here?

Again:

AnalogIn somepoti( PA_1 ); works fine.

AnalogIn somepoti( PA_13 ); =>pinmap not found for peripheral == end of the road

Do I have to use something like 'gpio_set' or shouldn't 'AnalogIn' do this automatically?

Thank you very much for your help!

I can see in the schematics, that ADC is only for a few other pins. If that is correct, I got fooled by the name scheme. I thought that P_A0..Ax would stand for analog. Bloody me!

I found this pinout graphic very useful for that matter:

http://www.espruino.com/ReferenceNUCLEOF401RE

posted by L. Volpato 26 Apr 2015