S32K1xx lpUART driver Implement

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

S32K1xx lpUART driver Implement

ソリューションへジャンプ
2,952件の閲覧回数
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,835件の閲覧回数
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,913件の閲覧回数
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,896件の閲覧回数
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,879件の閲覧回数
PetrS
NXP TechSupport
NXP TechSupport

Hi,

you can refer to RTD demo directly

 

BR, Petr

0 件の賞賛
返信
2,851件の閲覧回数
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,836件の閲覧回数
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,944件の閲覧回数
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%20%E3%83%89%E3%83%A9%E3%82%A4%E3%83%90%E5%AE%9F%E8%A3%85%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2037499%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3E%E3%81%93%E3%82%93%E3%81%AB%E3%81%A1%E3%81%AFNXP%E3%83%81%E3%83%BC%E3%83%A0%3C%2FP%3E%3CP%3E%3CSTRONG%3ESW32K1_S32M24x%20FreeRTOS%2010.5.1%3C%2FSTRONG%3E%E3%83%A9%E3%82%A4%E3%83%96%E3%83%A9%E3%83%AA%E3%82%92%E4%BD%BF%E7%94%A8%E3%81%97%E3%81%A6%E3%81%8A%E3%82%8A%E3%80%81%E3%83%89%E3%83%A9%E3%82%A4%E3%83%90%E3%83%BC%E3%83%AC%E3%82%A4%E3%83%A4%E3%83%BC%E3%81%AE%E4%B8%8B%E3%81%ABUART%E3%83%89%E3%83%A9%E3%82%A4%E3%83%90%E3%83%BC%E3%82%92%E8%BF%BD%E5%8A%A0%E3%81%97%E3%81%9F%E3%81%84%E3%81%A8%E8%80%83%E3%81%88%E3%81%A6%E3%81%84%E3%81%BE%E3%81%99%E3%80%82%3C%2FP%3E%3CP%3E%E5%8F%82%E7%85%A7%E3%81%A7%E3%81%8D%E3%82%8B%E3%82%B5%E3%83%B3%E3%83%97%E3%83%AB%E3%82%B3%E3%83%BC%E3%83%89%E3%81%AF%E3%81%82%E3%82%8A%E3%81%BE%E3%81%99%E3%81%8B%3F%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%E3%81%82%E3%82%8A%E3%81%8C%E3%81%A8%E3%81%86%E3%81%94%E3%81%96%E3%81%84%E3%81%BE%E3%81%99%3C%2FP%3E%3C%2FLINGO-BODY%3E