Hi,
I am using MK22FN512VLL12 in a control application where i have a lot of interfaces. I am facing shortage of GPIOs. While going through datasheet, i found that the following pins are dedicated for single purpose only ( They can't be used as even GPIOs)
Sr. no | PIN no | Description |
1 | 10 | USB0_DP |
2 | 11 | USB0_DM |
3 | 12 | VOUT33 |
4 | 13 | VREGIN |
5 | 14 | ADC0_ DP1 |
6 | 15 | ADC0_ DM1 |
7 | 16 | ADC1_ DP1/ ADC0_ DP2 |
8 | 17 | ADC1_ DM1/ ADC0_ DM2 |
9 | 18 | ADC0_ DP0/ ADC1_ DP3 |
10 | 19 | ADC0_ DM0/ ADC1_ DM3 |
11 | 20 | ADC1_ DP0/ ADC0_ DP3 |
12 | 21 | ADC1_ DM0/ ADC0_ DM3 |
Please help in resolving following queries:
1) Can ADC DP/DM lines be used for single ended analog measurement?
2) Can all/any of these pins be used as GPIOs?
Thanks and best regards,
Prasanna
Hi
The ADC inputs with "P" and "M" can be used either as single ended inputs or, when paired, as differential inputs to a single channel.
None of these pins can be used as GPIO since they are dedicated to their analogue functions.
Regards
Mark
Complete Kinetis solutions for professional needs, training and support: http://www.utasker.com/kinetis.html
Kinetis K22:
- http://www.utasker.com/kinetis/FRDM-K22F.html
- http://www.utasker.com/kinetis/TWR-K22F120M.html
- http://www.utasker.com/kinetis/BLAZE_K22.html
- http://www.utasker.com/kinetis/tinyK22.html
uTasker: supporting >1'000 registered Kinetis users get products faster and cheaper to market
Request Free emergency remote desk-top consulting at http://www.utasker.com/services.html
Open Source version at https://github.com/uTasker/uTasker-Kinetis