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.
9 years, 2 months ago.
Why are there different pins for the KL25Z serial ports on 'old' pinouts and new pintouts ?
Hi there,
on the serial comms page there's a pinout for the kl25Z:
the two yellow blocks fo rthe serial are in different places on the two diagrams !
This has a different set of ports that can be used for serial than the current pinout
Which is correct ?
Cheers
Chris
Question relating to:
![](/media/cache/platforms/FRDM-KL25Z1_vRpCh79.jpg.50x50_q85.jpg)
1 Answer
9 years, 2 months ago.
Two of those pictures look to be referring to different boards, and the third one looks like a different version of the board. Those images on the Serial Comms page are meant to show that there are Serial ports on various boards, not to show the correct ones by any means. Use the Serial pins/port declared on the platform page for the board you are using, or go obtain and use the datasheet for the hardware.
Hmm - yes - thing is the middle one of the three is purporting to be the kl25z. Did something change ?
posted by 10 Jun 2015I have no idea if they actually have changed the board setup, but my guess would be towards both boards being correct, with one of them including serial ports that are not shown on the other board. I found another link to a picture of the KL25Z that also has different serial ports (added the stdio port on PTA1,PTA2) https://developer.mbed.org/media/uploads/rikabel/xkl25z-pinout-revised.jpg.pagespeed.ic._qUOw4TJf3.webp
If you are unable to test to see which diagram is correct, I might suggest looking in the datasheet or the mbed-src code to see which pins are actually connected to serial ports.
posted by 10 Jun 2015