UART2 on PTE22 & PTE23

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

UART2 on PTE22 & PTE23

Jump to solution
583 Views
ralphs
Contributor I

Hi,

I'm using the freedom board with the Mbed compiler and am having trouble accessing UART2 on PTE22 & PTE23. I'm wondering if this is a problem with the compiler or something to do with the board?

It's not a show-stopper if I can't use the port but it would make the design a bit simpler. Any advice appreciated.

Thank, Ralph

0 Kudos
1 Solution
393 Views
Hui_Ma
NXP TechSupport
NXP TechSupport

Hi,

Have you tried with CodeWarrior MCU V10.x software or IAR ARM Workbench?

You could use above IDE softwares to control FRDM-KL25Z UART2 pins.

Before operation PTE22 and PTE23 pins, it need to enable PORTE clock gate at SIM_SCGC5 register at first.

Wish it helps.

View solution in original post

0 Kudos
2 Replies
394 Views
Hui_Ma
NXP TechSupport
NXP TechSupport

Hi,

Have you tried with CodeWarrior MCU V10.x software or IAR ARM Workbench?

You could use above IDE softwares to control FRDM-KL25Z UART2 pins.

Before operation PTE22 and PTE23 pins, it need to enable PORTE clock gate at SIM_SCGC5 register at first.

Wish it helps.

0 Kudos
393 Views
ralphs
Contributor I

Hi Hui_ma,

Thanks for your comments. I haven't tried any other compilers, but I will.

Cheers, Ralph

0 Kudos