S32K344 Port Configuration Problem

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

S32K344 Port Configuration Problem

1,311 Views
Riyasma07
Contributor III

Riyasma07_0-1701855872040.png

How to resolve this problem?

1. Issue: Naming of the Functional Group in the Pins Tool should be: PortContainerName_PeripheralFunctionalGroupName. E.g: PortContainer_0_BOARD_InitPeripherals
Level: Error
Type: Tool problem
Tool: Peripherals
Origin: Peripherals:BOARD_InitPeripherals
Resource: Siul2_Port
Information: Naming of the Functional Group in the Pins Tool should be: PortContainerName_PeripheralFunctionalGroupName. E.g: PortContainer_0_BOARD_InitPeripherals

 

2. Issue: PortPin Mscr set to 0 - Mscr numbers was not configured in the Pins tool
Level: Error
Type: Tool problem
Tool: Peripherals
Origin: Peripherals:BOARD_InitPeripherals
Resource: Siul2_Port
Information: PortPin Mscr set to 0 - Mscr numbers was not configured in the Pins tool

Riyasma07_1-1701855989406.png

 

 

 

0 Kudos
Reply
6 Replies

674 Views
MVR
Contributor III

Hello @Daniel-Aguirre ,

I'm facing the same problem, I followed your instructions but still it continues the error...

MVR_0-1709730273291.png

 

I have more than one pin defined and in my case, I have a project from S32DS 3.4 with RTD 2.0.1.

Note: I followed this tutorial to update the RTD: https://community.nxp.com/t5/S32-Design-Studio-Knowledge-Base/HOWTO-Migrate-S32K1xx-SDK-project-from...

Thanks,

MVR

0 Kudos
Reply

1,295 Views
Daniel-Aguirre
NXP TechSupport
NXP TechSupport

Hi,

Can you let us know which RTD version and IDE you are using? We assume the following from the capture you have provided:

  • S32K3 RTD v4.0.0
  • S32DS v3.5

Is this correct?

Also, we are seeing that the example you are using is an AUTOSAR example and that you are using a NON-AUTOSAR driver (Siul2_Port). This is not recommended since you could see unpredictable behavior.

As for the behavior you are seeing, seems to be that, if you want to add a Port peripheral, you are required to activate the "Pins Tool", as well as configure the pin under the same pins tool. Below will be the steps we followed to be able to add the Port peripheral as well as configure 1 pin under the Fee_Example_S32K344:

  • We start adding the Port peripheral:

DanielAguirre_0-1701890088067.png

  • Change to the Pins Tool tab and Activate the Pins Tool:

DanielAguirre_1-1701890112614.png

  • Under Pins Tool, click the following icon:

DanielAguirre_2-1701890159506.png

  • Change the Name property to the following "PortContainer_0_BOARD_InitPeripherals", which is the combination of the PortContainer name plus the Peripheral Functional Group name:

DanielAguirre_3-1701890212217.png

With this, we were able to add the Port Peripheral and update the code without errors:

DanielAguirre_4-1701890310768.png

Please ,let us know.

0 Kudos
Reply

1,210 Views
Riyasma07
Contributor III

Hi @Daniel-Aguirre ,

I've done all the steps that you've mentioned. But the problem is increasing. I'm using Non-Autosar FlexCAN Example project. RTD Version 4.0.0.

Riyasma07_1-1703076158482.png

 

Riyasma07_0-1703075922452.png

 

0 Kudos
Reply

1,197 Views
Daniel-Aguirre
NXP TechSupport
NXP TechSupport

Hi,

Thanks for your feedback. Can you also share the Pins Tool view? Which pin are you configuring?

Also, we understand that you are not using the same example as the beginning, can you confirm that the steps are working within the same Fee example? This since the steps were provided under that same example.

Please, let us know.

0 Kudos
Reply

1,183 Views
Riyasma07
Contributor III

Hi @Daniel-Aguirre,

Yes, it is different example "FlexCAN_Ip_Example_S32K344"

I'm not configuring any pins. I've imported the example projects and chose the 172 pins package and enabled the pins tool and updated the code. But some errors are came because the port drivers are not added. So I've Added and this error suddenly appears after just adding the port driver. 

0 Kudos
Reply

1,175 Views
Daniel-Aguirre
NXP TechSupport
NXP TechSupport

Hi,

Thanks for your feedback. Where you able to enable the Fee example with the steps we provided? We have followed similar (if not the same) steps under the FlexCAN example and we are able to generate the code without problems, up-to compilation of the project:

DanielAguirre_0-1703179922010.pngDanielAguirre_1-1703179937174.png

Please, let us know.

0 Kudos
Reply