S32K1xx lpUART driver Implement

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

S32K1xx lpUART driver Implement

跳至解决方案
2,993 次查看
Pohsuan
Contributor III

Hello NXP Teams

I'm using the SW32K1_S32M24x FreeRTOS 10.5.1 library and would like to add a UART driver under the driver layer.

Is there any sample code I can reference?

UART_driver.png


thank you

标记 (1)
0 项奖励
回复
1 解答
2,876 次查看
PetrS
NXP TechSupport
NXP TechSupport

Hi,

trying selecting IP level demo example, there is just IP level components

 

2025-02-06_12-22-28.png2025-02-06_12-23-33.png

BR, Petr

在原帖中查看解决方案

0 项奖励
回复
6 回复数
2,954 次查看
PetrS
NXP TechSupport
NXP TechSupport

Hi,

I am not aware of RTD demo for this, but maybe you can refer to below example using SDK
https://community.nxp.com/t5/S32-Design-Studio-Knowledge-Base/EXAMPLE-S32k144-UART-printf-scanf-unde...

BR, Petr

0 项奖励
回复
2,937 次查看
Pohsuan
Contributor III

Hi PetrS,

Thank you for your reply.

Since there is no demo code for implementing peripherals on the driver layer with FreeRTOS, could you kindly provide sample code for peripheral devices at the driver layer?

I appreciate your help!

peripherals_device.png 

 

 

0 项奖励
回复
2,920 次查看
PetrS
NXP TechSupport
NXP TechSupport

Hi,

you can refer to RTD demo directly

 

BR, Petr

0 项奖励
回复
2,892 次查看
Pohsuan
Contributor III

Hi PetrS

I have imported the example project from S32K1 AUTOSAR R21-11 RTD 2.0.0 P04 D2404 Example Project, but this sample project only includes examples for the MCAL layer.

I would like to implement peripheral devices at the driver layer.
Is there any sample project available for download?

thank you

Example ProjectExample ProjectMACL layerMACL layerDriver layerDriver layer

标记 (1)
0 项奖励
回复
2,877 次查看
PetrS
NXP TechSupport
NXP TechSupport

Hi,

trying selecting IP level demo example, there is just IP level components

 

2025-02-06_12-22-28.png2025-02-06_12-23-33.png

BR, Petr

0 项奖励
回复
2,985 次查看
Pohsuan
Contributor III

FreeRTOS_Lib.png

0 项奖励
回复
%3CLINGO-SUB%20id%3D%22lingo-sub-2037499%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3ES32K1xx%20lpUART%E9%A9%B1%E5%8A%A8%E7%A8%8B%E5%BA%8F%E5%AE%9E%E7%8E%B0%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2037499%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3E%E6%81%A9%E6%99%BA%E6%B5%A6%E5%9B%A2%E9%98%9F%E6%82%A8%E5%A5%BD%3C%2FP%3E%3CP%3E%E6%88%91%E6%AD%A3%E5%9C%A8%E4%BD%BF%E7%94%A8%3CSTRONG%3ESW32K1_S32M24x%20FreeRTOS%2010.5.1%3C%2FSTRONG%3E%E5%BA%93%EF%BC%8C%E5%B9%B6%E6%83%B3%E5%9C%A8%E9%A9%B1%E5%8A%A8%E7%A8%8B%E5%BA%8F%E5%B1%82%E4%B8%8B%E6%B7%BB%E5%8A%A0%E4%B8%80%E4%B8%AA%20UART%20%E9%A9%B1%E5%8A%A8%E7%A8%8B%E5%BA%8F%E3%80%82%3C%2FP%3E%3CP%3E%E6%98%AF%E5%90%A6%E6%9C%89%E6%88%91%E5%8F%AF%E4%BB%A5%E5%8F%82%E8%80%83%E7%9A%84%E7%A4%BA%E4%BE%8B%E4%BB%A3%E7%A0%81%EF%BC%9F%3C%2FP%3E%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22UART_driver.png%22%20style%3D%22width%3A%20378px%3B%22%3E%3Cspan%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22UART_driver.png%22%20style%3D%22width%3A%20378px%3B%22%3E%3Cimg%20src%3D%22https%3A%2F%2Fcommunity.nxp.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F322275i972C5EC4FED1AFE8%2Fimage-size%2Flarge%3Fv%3Dv2%26amp%3Bpx%3D999%22%20role%3D%22button%22%20title%3D%22UART_driver.png%22%20alt%3D%22UART_driver.png%22%20%2F%3E%3C%2Fspan%3E%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%3CBR%20%2F%3E%E8%B0%A2%E8%B0%A2%3C%2FP%3E%3C%2FLINGO-BODY%3E