S32K14X MCAL Port Configure and peripheral Code gen Fail

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

S32K14X MCAL Port Configure and peripheral Code gen Fail

797 Views
Athai
Contributor I

Hello team, 

I’m having some issues with my AUTOSAR LED blinking project.

I followed the HOWTOs to build the project, but I encountered some problems.

https://community.nxp.com/t5/S32-Design-Studio-Knowledge-Base/HOWTO-Create-a-Blinking-LED-example-pr...

This is my AUTOSAR RTD Version :

Athai_0-1757041870463.png

When I configure the MCAL Port, I can’t set the pin status—it always stays at 0 no matter which pin I select.

Also, as you can see on the right side, there are many peripheral code generation errors.

Athai_2-1757042162592.png

Did I miss a step in the setup?

 

 

0 Kudos
Reply
3 Replies

780 Views
Robin_Shen
NXP TechSupport
NXP TechSupport

Hi

Did you configure the pin in Pins Tool? 

Dio_Example_S32K144_RTD200QLP1 PTD0 Pins Tool.png

After entering the correct PortPin Pcr, you will see the corresponding configuration in the Pins Tool.

Dio_Example_S32K144_RTD200QLP1 PTD0 PortPin Pcr 96 Peripheral tool.png

Regarding the PortPin Pcr number, please refer to the answer in Mismatch between the PIN configuration


Best Regards,
Robin
-------------------------------------------------------------------------------
Note:
- If this post answers your question, please click the "ACCEPT AS SOLUTION" button. Thank you!

- We are following threads for 7 weeks after the last post, later replies are ignored
Please open a new thread and refer to the closed one, if you have a related question at a later point in time.
-------------------------------------------------------------------------------

0 Kudos
Reply

769 Views
Athai
Contributor I
Thank you very much. I am now able to define the pins.
May I ask how to obtain the file AUTOSAR_MCAL_PORT_UM.pdf?
0 Kudos
Reply

764 Views
Robin_Shen
NXP TechSupport
NXP TechSupport

RTD Documentation.png

0 Kudos
Reply