S32K344 Example Not working, Unresolved inclusions

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

S32K344 Example Not working, Unresolved inclusions

Jump to solution
1,998 Views
pb632146
Contributor V

I am trying to use the Emios_Icu_Ip_BlinkLED and DIO_Example_S32K344  examples fond in S32K3xx AUTOSAR 4.4 - R21-11 RTD 3.0.0 D23 for really simple led blinking, but I am running into the issue of unresolved inclusions for the libraries within.

pb632146_1-1721857242713.png

 

pb632146_0-1721856680035.png

I can see the files in \NXP\S32DS.3.5\eclipse\mcu_data\components\PlatformSDK_S32K3\ but they just do not seem to be including after code generation, what should I do?

0 Kudos
Reply
1 Solution
1,935 Views
pb632146
Contributor V

Found the issue, when trying to remake the example for the K342, the peripherals by default only had siul2 port by default which made only some of the headers valid after code generation which confused me, using the Siul2_dio_ip_Example_S32k344 example and manually adding the siul2_dio peripheral and then code generating let it work.

View solution in original post

0 Kudos
Reply
4 Replies
1,971 Views
VaneB
NXP TechSupport
NXP TechSupport

Hi @pb632146 

Before running the example is required to generate some configurations. Select the "S32 Configuration Tool" menu then click on the desired configuration tool (Pins, Cocks, Peripherals etc...) and select the current project. Make the desired changes(if any) then click on the S32 Configuration Tool > "Update Code" button.

 

BR, VaneB

0 Kudos
Reply
1,959 Views
pb632146
Contributor V

The Code generation is not doing anything for me and I do not understand why.

I can see where I presume the headers would be pulling from, is there a place I need to add the file path to to fix this or something?

pb632146_0-1721942770265.png

I've set a pin to be a digital output and the code generation updated but the code does not run, I think I am missing something fundamental on this.

pb632146_1-1721942859241.png

 

0 Kudos
Reply
1,950 Views
VaneB
NXP TechSupport
NXP TechSupport

Hi @pb632146 

The sample codes are provided ready to run out of the box, with no modifications required beyond generating configurations as mentioned above.

0 Kudos
Reply
1,936 Views
pb632146
Contributor V

Found the issue, when trying to remake the example for the K342, the peripherals by default only had siul2 port by default which made only some of the headers valid after code generation which confused me, using the Siul2_dio_ip_Example_S32k344 example and manually adding the siul2_dio peripheral and then code generating let it work.

0 Kudos
Reply