UART2 on PTE22 & PTE23

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 
已解决

UART2 on PTE22 & PTE23

跳至解决方案
1,344 次查看
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 项奖励
回复
1 解答
1,154 次查看
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 项奖励
回复
2 回复数
1,155 次查看
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 项奖励
回复
1,154 次查看
ralphs
Contributor I

Hi Hui_ma,

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

Cheers, Ralph

0 项奖励
回复