How to use UART0 for fsl_uart KSDK component?

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

How to use UART0 for fsl_uart KSDK component?

跳至解决方案
1,587 次查看
thanhduong
Contributor II

Hi,

 

I want to be able to use UART0 for the fsl_uart component. When I create the component in my project, using processor expert, I am not given the option to select UART0. The only options available are UART1 and UART2. I have used the Debug Console component which gave me the option of all 3 UARTs.

 

How would I select UART0 for fsl_uart? Why can't I select it, if I can't.

 

Thanks in advance.

标签 (1)
1 解答
1,438 次查看
Jorge_Gonzalez
NXP Employee
NXP Employee

Hi Thanh Duong,

For UART0 use the fsl_lpsci component instead of fsl_uart. See next thread:

kl25z uart0 processor expert

Regards!

Jorge Gonzalez

在原帖中查看解决方案

2 回复数
1,438 次查看
chadwilliams
Contributor III

Check to see if the UART0 is already assigned to the Debug port.

If you have an fsl_debug_console component instance than its possible it is on UART0

1,439 次查看
Jorge_Gonzalez
NXP Employee
NXP Employee

Hi Thanh Duong,

For UART0 use the fsl_lpsci component instead of fsl_uart. See next thread:

kl25z uart0 processor expert

Regards!

Jorge Gonzalez