Why can't I set up a fsl_uart component for UART_0 on my KL24?

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

Why can't I set up a fsl_uart component for UART_0 on my KL24?

跳至解决方案
1,118 次查看
lucianomoretti
Contributor IV

Trying to set up our serial debug port, and for the interactive shell we have I need an event callback when we get data typed on the serial port (which the fsl_debug_console doesn't seem to support despite being a fsl_uart_hal based component).

 

Trying to set up a raw fsl_uart for UART0 in Processor Expert UART0 isn't in the option dropdown.

If I create the previous mentioned fsl_debug_console, it creates a fsl_uart_hal for UART0, and fsl_uart only depends on the fsl_uart_hal, so I don't understand why I'm limited to creating a fsl_uart for only UART1 & UART2.

标签 (1)
0 项奖励
回复
1 解答
919 次查看
Jorge_Gonzalez
NXP Employee
NXP Employee

Hello Luciano Moretti:

You have to use the fsl_lpsci component. Please check the response in the next thread:

Re: kl25z uart0 processor expert


Regards!,
Jorge Gonzalez

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

在原帖中查看解决方案

0 项奖励
回复
1 回复
920 次查看
Jorge_Gonzalez
NXP Employee
NXP Employee

Hello Luciano Moretti:

You have to use the fsl_lpsci component. Please check the response in the next thread:

Re: kl25z uart0 processor expert


Regards!,
Jorge Gonzalez

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

0 项奖励
回复