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.
10 years, 7 months ago.
Which FRDM-kl46z pinouts are inputs and outputs? Port assignments?
Hi,
I have a digital pir sensor that I'm going to use to turn on a strip of LEDs. I'm looking at the user guide pin-out page but I can't tell which are digital inputs and which are outputs that are pwm capable. I've looked in the reference guide and the data sheet but I don't see what I'm looking for, what have I overlooked?
Thanks,
Donato
1 Answer
10 years, 7 months ago.
See: http://mbed.org/platforms/FRDM-KL46Z/. Every numbered pin can be used as DigitalIn or DigitalOut. Every pin which has a PWM label can be used as PwmOut. Exception is PTC1, since it is in the mbed implementation used as RTC clock input.
For completeness, the picture isn't complete, simply it wouldn't fit all. Here is the full list of pinoptions for peripherals: http://mbed.org/teams/SDK-Development/code/mbed-src/file/9655231f5786/targets/hal/TARGET_Freescale/TARGET_KLXX/TARGET_KL46Z/PeripheralPins.c