7 years, 10 months ago.

Pinout diagram is just wrong !

Hi folks, so the pin diagram on this page suggests that my kl25z can use PTE0,PTE1 as a UART serial port. Problem is that when I try to do this is doesn't work, whereas, if I set up pins PTD3,PTD2 as a serial port it does, yet this pin pair is not listed as being able to become a UART...

also PTA1 and PTA2 in the diagram as switched around as compared to the labels on the bottom of the kl25z board.. frustration and confusion is reigning here.

any ideas what this is ?

cheers

Question relating to:

The FRDM-KL25Z is an ultra-low-cost development platform for Kinetis L Series KL1x (KL14/15) and KL2x (KL24/25) MCUs built on ARM® Cortex™-M0+ processor. Features include easy access to MCU I/O, battery-ready, …

2 Answers

7 years, 10 months ago.

Here is the list that should work as UARTs: https://github.com/mbedmicro/mbed/blob/master/hal/targets/hal/TARGET_Freescale/TARGET_KLXX/TARGET_KL25Z/PeripheralPins.c

I don't know why PTE0/1 wouldn't work for you, in general not all pinouts are shown on those pictures since there simply is no space for it. Every pin the reference manual says should work, should work for you. For PTA1/2, either the picture is simply wrong (I remember there has been talk about that before, but long time ago and I don't remember for sure. Also take into account those pins are used for communication to your PC so not really useful in general), or there are different revisions of the board with those two switched around.

https://developer.mbed.org/media/uploads/rikabel/xkl25z-pinout-revised.jpg.pagespeed.ic.yyr6okW_-b.jpg shows different ports so maybe this is why.. the one in the diagram is wrong..

posted by chris stevens 09 Jun 2016
7 years, 10 months ago.

The swapped PTA1/PTA2 pins were indeed reported before. Correct diagram is here