9 years, 7 months ago.

AnalogIn pin definitions seem to be missing for FRDM-K20D50M Can't seem to get to device.h to check.

/media/uploads/scohennm/k20d50m_error.png

I haven't tried it yet but there is a jumper on the PCB J13 that will allow one to reroute the sensor signal to accessible ADC. pin. Pretty sure this will work. I'll try this and report back. i like the board a the right price point.

posted by Stanley Cohen 21 Oct 2014

1 Answer

9 years, 7 months ago.

Hi,

the pin is not supported.The supported pins:

https://github.com/mbedmicro/mbed/blob/master/libraries/mbed/targets/hal/TARGET_Freescale/TARGET_K20D50M/analogin_api.c

I believe the DM3 is called differently if it's used as single pin. Please look at MUX table (usually around 10 chapter in the reference manual).

Regards,
0xc0170

Accepted Answer

Thank you very much. The github link answered a lot of questions about where pin defs and names are documents. There appear to be no alternative names for ADC_DM3. So how does one access to the temperature chip on the board? I did not see a specific reference to that.

posted by Stanley Cohen 21 Oct 2014