No UART Tx on one pin using Processor Expert

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

No UART Tx on one pin using Processor Expert

Jump to solution
834 Views
mrentz
Contributor II

Hi all,

I'm new to KDS and processor expert and I'm trying to get the UART working on a new design. I can't seem to get the UART Tx to work on one of the available pins (PTA3) but I can if I mux it to the other possible pin for that peripheral (PTB1).

 

When I run the code the pin always stays logic low when using PTA3. If I just change the pin muxing using the hardware configuration tools it works fine on PTB1.

 

Receiving works fine using the PTA2 port so it seems I've set it up correctly.

 

Has anyone else seen something similar or maybe could give some pointers on how to troubleshoot this?

 

MCU: MKE06Z128VLH4

KDS version: 3.2.0

Debugger: Multilink Universal FX

Labels (1)
1 Solution
641 Views
Jorge_Gonzalez
NXP Employee
NXP Employee

Hi Matthew,

You might be missing a pull-up resistor. PTA3 is a true open-drain pin as output as noted in the manual:

pastedImage_2.png

So you need an external pull-up resistor to get a signal.

Regards!

Jorge Gonzalez

View solution in original post

4 Replies
641 Views
mrentz
Contributor II

Hi Alice,

Thanks for your response.

It is a custom board and the UART is set up similar to what you have. I've now tried your project with no luck. I've also tried another chip with no success.

The weird part is that I can get the Rx to work with the settings I'm using and Tx works on PTB1. I will try to build another board tomorrow with only the necessary components to see if something is causing the pin to malfunction.

0 Kudos
642 Views
Jorge_Gonzalez
NXP Employee
NXP Employee

Hi Matthew,

You might be missing a pull-up resistor. PTA3 is a true open-drain pin as output as noted in the manual:

pastedImage_2.png

So you need an external pull-up resistor to get a signal.

Regards!

Jorge Gonzalez

641 Views
mrentz
Contributor II

Jorge,

Yep that would be it. Not sure how I missed it in the datasheet. That's what I get for "rapid prototyping" lol.

Thanks for your help.

641 Views
Alice_Yang
NXP TechSupport
NXP TechSupport

Hello ,

What about your board, the custom board or demo board FRDM-KE06 ?

I test on FRDM-KE06, UART0, the TX-PTA3 can work well , i also attached my project.

pastedImage_1.png

pastedImage_2.png

If you also use this board , please be sure R47 and R39 is connected (be default this is disconnected).

pastedImage_3.png

If you use the custom board , could you please change another chip to have a try .


Have a great day,
Alice Yang

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