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.
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?
Solved! Go to Solution.
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.
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
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?
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.
Hi @pb632146
The sample codes are provided ready to run out of the box, with no modifications required beyond generating configurations as mentioned above.
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.