UART module 0 from kl25z128m4 is missing in KSDK + PE?

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

UART module 0 from kl25z128m4 is missing in KSDK + PE?

跳至解决方案
909 次查看
matheuspinto
Contributor II

Hello,

When using KSDK + PE and choosing the fsl_uart component, the devices available are UART1 and UART2.

But, the UART0 does not appear! How I proceed?

Thanks

0 项奖励
回复
1 解答
605 次查看
Carlos_Mendoza
NXP Employee
NXP Employee

Hi Matheus,

If you want to use the UART0 you need to use the fsl_lpsci component:

pastedImage_1.png

pastedImage_2.png

This is because the UART modules are supported by different HAL/drivers, the UART0 module is supported by the LPSCI HAL/driver and the UART1 and UART2 modules are supported by UART HAL/driver.

Hope it helps!

Best Regards,

Carlos Mendoza

Technical Support Engineer

-----------------------------------------------------------------------------------------------------------------------

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

-----------------------------------------------------------------------------------------------------------------------

在原帖中查看解决方案

0 项奖励
回复
2 回复数
606 次查看
Carlos_Mendoza
NXP Employee
NXP Employee

Hi Matheus,

If you want to use the UART0 you need to use the fsl_lpsci component:

pastedImage_1.png

pastedImage_2.png

This is because the UART modules are supported by different HAL/drivers, the UART0 module is supported by the LPSCI HAL/driver and the UART1 and UART2 modules are supported by UART HAL/driver.

Hope it helps!

Best Regards,

Carlos Mendoza

Technical Support Engineer

-----------------------------------------------------------------------------------------------------------------------

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

-----------------------------------------------------------------------------------------------------------------------

0 项奖励
回复
605 次查看
matheuspinto
Contributor II

Thanks Carlos,

It works! I felt a lack of documentation about the Kinetis sdk! Where would I found about this, if not on Kinetis forum?

Att,

Matheus

0 项奖励
回复