How to use UART0 for fsl_uart KSDK component?

cancel
Showing results for 
Search instead for 
Did you mean: 

How to use UART0 for fsl_uart KSDK component?

Jump to solution
253 Views
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.

Labels (1)
1 Solution
104 Views
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

View solution in original post

2 Replies
104 Views
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

105 Views
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

View solution in original post