Question about Pins Tool and Blinking LED Knowledgebase HOWTO

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

Question about Pins Tool and Blinking LED Knowledgebase HOWTO

Jump to solution
84 Views
daniel_meier
Contributor II

I have a few questions in regards to the Pins Tool and the Knowledge Base LED entry for the S32K1xx.
The Entry in question can be found here: HOWTO: Create a Blinking LED example project using S32K1xx RTD with AUTOSAR 

The Entry says to disable the Pins Tool.
The MCAL Port User Manual however mentions that it is perfectly fine to use the Pins Tool for configurating the controller.
Which information is correct?

Is there a way to add Pins to the Pins Tool and have them automatically added to the respective MCAL entries (Port, Dio)?
Or do I always have to add each pin three times (Pins Tool, Port, Dio)?
What is the recommended workflow for this admittedly most basic of functionalities?

Tags (1)
0 Kudos
Reply
1 Solution
60 Views
VaneB
NXP TechSupport
NXP TechSupport

Hi @daniel_meier 

This article was published quite some time ago, and the relationship between the Pins Tool and the PORT driver has changed across RTD releases.

In the latest versions, when using MCAL drivers, the Pins Tool and PORT driver work closely together. This means the pins should be configured in the Pins Tool and also added to the PORT driver so the pin initialization structures are generated correctly.

So, with MCAL, you will need to configure the pins in both the Pins Tool and the PORT driver (Peripheral Tool). The DIO driver only needs to be configured if those pins will be used as GPIOs.

 

BR, VaneB

View solution in original post

2 Replies
61 Views
VaneB
NXP TechSupport
NXP TechSupport

Hi @daniel_meier 

This article was published quite some time ago, and the relationship between the Pins Tool and the PORT driver has changed across RTD releases.

In the latest versions, when using MCAL drivers, the Pins Tool and PORT driver work closely together. This means the pins should be configured in the Pins Tool and also added to the PORT driver so the pin initialization structures are generated correctly.

So, with MCAL, you will need to configure the pins in both the Pins Tool and the PORT driver (Peripheral Tool). The DIO driver only needs to be configured if those pins will be used as GPIOs.

 

BR, VaneB

38 Views
daniel_meier
Contributor II

@VaneB  Thanks for clarifying the process.

I highly recommend adding a way to synchronize the pins between the Pins Tool and the MCAL Port and Dio tools.
The Pins Tool is very intuitive and easy to use while the MCAL settings section is tedious and unclear.

0 Kudos
Reply