S32K344 Example Not working, Unresolved inclusions

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

S32K344 Example Not working, Unresolved inclusions

ソリューションへジャンプ
2,273件の閲覧回数
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?

ラベル(2)
0 件の賞賛
返信
1 解決策
2,210件の閲覧回数
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 件の賞賛
返信
4 返答(返信)
2,246件の閲覧回数
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 件の賞賛
返信
2,234件の閲覧回数
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 件の賞賛
返信
2,225件の閲覧回数
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 件の賞賛
返信
2,211件の閲覧回数
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 件の賞賛
返信