FRDM KL43z looks to have incorrect pin documentation somewhere

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

FRDM KL43z looks to have incorrect pin documentation somewhere

Jump to solution
1,090 Views
danielclark
Contributor I

I'm trying to use the LPUART on the FRDM KL43z, I've configured the MUX on PTB16 and PTB17 to ALT3, which should make PTB16 the RX and PTB17 the TX. However, PTB16 is the TX when I transmit, am I missing something? or is there a piece of documentation wrong somewhere (Either in the listings for PTB16 and PTB17 in the Schematic and Quick-Start guide for the board, or the MUX information in the reference manual for the KL43)?

0 Kudos
1 Solution
788 Views
mjbcswitzerland
Specialist V

Daniel

The Quick Start Document is wrong:

pastedImage_2.png

Pin 17 should be PTB17 and Pin 19 should be PTB16.

Basically, never trust these documents (there are quite often some details that somone has typed in incorrectly) but instead work with the actual circuit diagram of the board to avoid any surprises. If you prefer working with the pretty Arduino styles this is OK but only do so after verifying that they are indeed a true reflection of the real hardware!!

Regards

Mark

View solution in original post

9 Replies
788 Views
mjbcswitzerland
Specialist V

Daniel

My board says

700-28062 REV A

SCH-28062 REV C

I would skip the Getting Started guide since you learn more from studing the circuit diagram. If you want fastest starting/learning/development with complete industrial proven solutions (rather than a couple of primitive examples to get you crawling) you can get it from http://www.utasker.com/kinetis/FRDM-KL43Z.html, which includes accurate FRDM-KL43Z and KL43 simulation.

Regards

Mark

0 Kudos
789 Views
mjbcswitzerland
Specialist V

Daniel

The Quick Start Document is wrong:

pastedImage_2.png

Pin 17 should be PTB17 and Pin 19 should be PTB16.

Basically, never trust these documents (there are quite often some details that somone has typed in incorrectly) but instead work with the actual circuit diagram of the board to avoid any surprises. If you prefer working with the pretty Arduino styles this is OK but only do so after verifying that they are indeed a true reflection of the real hardware!!

Regards

Mark

788 Views
danielclark
Contributor I

Hi Mark,

Thank you for this! Glad to know I'm not going crazy. Do you have a RevA, RevB or RevC board? I was trying to get started quickly so was hoping the Quick Start Guide would help, apparently not! Lesson learnt, I'll use the schematic in future, thanks!

Is there any way to report this to Freescale/NXP to get this fixed in the Quick Start Guide so that others don't have the same problem?

Thanks again,

Daniel

0 Kudos
788 Views
danielclark
Contributor I

Hi Alice,

When I set my code to continuously transmit 0x00 then 0xFF, I can put a scope on PTB16 and see it there, but not see it on PTB17.

Thanks,

Daniel

0 Kudos
788 Views
Alice_Yang
NXP TechSupport
NXP TechSupport

Hello Daniel,

I have test it my board, when use the UART0 , PTB16 as RX, PTB17(J2-17 board) as TX,

when send , the PTB17 have signal .

pastedImage_1.jpg

pastedImage_0.png

I also attach the project i test , it is a KSDK1.3 project. If you have install KSDK1.3, you can

test it on your side .

Hope it helps you !


Have a great day,
Alice Yang

-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------

0 Kudos
788 Views
danielclark
Contributor I

Hi Alice,

You've said PTB17 is on J2-17, but this documentation: http://cache.nxp.com/files/microcontrollers/doc/user_guide/FRDM-KL43Z_QSG.pdf
and the "Quick Reference Card" I got with my board, says that PTB17 is on J2-19, and PTB16 is J2-17.

According to those documents, the port you've got your probe on is PTB16.

Thanks for the help,

Daniel

0 Kudos
788 Views
Alice_Yang
NXP TechSupport
NXP TechSupport

Hello Daniel,

There are not only one version of the FRDM-KL43 board , there have Rev A , Rev B,

Rev C and so on, the quick start have not mentioned this board version .

So please check the SCH of your board , my FRDM-KL43 is Rev C, on the related SCH:

pastedImage_0.png

Also please check yours.

Hope  it helps

Alice

0 Kudos
788 Views
danielclark
Contributor I

Hi Alice,

I have a RevA, and the Quick Start guide for a RevA, but I can't seem to find the schematic for the RevA. The Quick Start guide for the RevA definitely disagrees with what my RevA board is doing! By the looks of it, Mark Butcher below has also noticed this exact same problem (although he might have a RevB or RevC).

Thanks,

Daniel

0 Kudos
788 Views
Alice_Yang
NXP TechSupport
NXP TechSupport

Hello Dainel,

Yes, when configure the PTB16 and PTB17 to  ALT3, the PTB16 is LPUART0_RX,

the PTB17 is LPUARTO_TX.

Also from the SCH of FRDM-KL43,we can see :

pastedImage_0.png

So how do you think PTB16 is the TX when you transmit ? Form where ?

BR

Alice

0 Kudos