2415366_en-US

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

2415366_en-US

2415366_en-US

Question about Pins Tool and Blinking LED Knowledgebase HOWTO

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?

Re: Question about Pins Tool and Blinking LED Knowledgebase HOWTO

@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.

Re: Question about Pins Tool and Blinking LED Knowledgebase HOWTO

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

Tags (1)
No ratings
Version history
Last update:
Wednesday
Updated by: