9 years, 6 months ago.

KL25Z different UART pin names in Platforms and Handbook?

Hi,

am I missing something, or is it true, that the UART pins described in the Platforms section are on different GPIO pins than described in the Handbook section?

Today I tried to hook up a BT module, and when trying to connect it to PTE22 and PTE23 I got the runtime error. I got the same result on other pins (PTE1, PTE0). Then I was looking for a solution under Handbook, and there are the UART 1 and 2 on pins PTC3, PTC4 and PTD2, PTD3.

Is that OK?

Also the links:

http://mbed.org/platforms/KL25Z/

http://mbed.org/handbook/Pinouts

1 Answer

9 years, 6 months ago.

That Pinouts is outdated, what is on the platform page should work (and more, but there is only so much space in a picture). Make sure your mbed lib is up to date (right mouse button, update on it). Here is the full list of pinouts: http://mbed.org/users/mbed_official/code/mbed-src/file/da258e7d377e/targets/hal/TARGET_Freescale/TARGET_KLXX/TARGET_KL25Z/PeripheralPins.c

Accepted Answer

Hi, I should update the lib. I was programming offline using an old template. That explains everything.

Thank you!

posted by Gorazd Rosbach 21 Sep 2014