S32K3xx Blinking Led Example not working

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

S32K3xx Blinking Led Example not working

4,396件の閲覧回数
simon98
Contributor IV

Hi, i'm trying to download the s32k3xx_dio_s32ct.mdl example.

I have the S32k358-Q289 EVL so i changed the hardware part in the model settings: i chose the HDQFP-172 package version, as told in this thread https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/Problem-with-my-evaluation-plate/m-p/18...

When i try to Generate code, build and deploy, no errors pop up.

Unfortunatly when the deploying phase ends no led blinks on the board.

What am i doing wrong? i followed letter by letter the HW and SW setup link 

Thanks

Simon

タグ(3)
0 件の賞賛
返信
7 返答(返信)

4,372件の閲覧回数
VaneB
NXP TechSupport
NXP TechSupport

Hi @simon98 

Could you please share the S32 Design Studio project to test it from my side? Also, on the S32K3X8EVB-Q289 there are 2 active high user RGB LED’s connected as follows:

VaneB_0-1725901968096.png

Make sure to have set the correct pins. 

 

BR, VaneB

0 件の賞賛
返信

4,325件の閲覧回数
simon98
Contributor IV

Hi Vane, i'm trying the examples using MBDT not S32DS.
Here's the .mex file generated by S32CT: i tried to modify the pin configuration based on RGB LED’s connections but didn't work: i enabled the PTG29 pin on S32CT but in simulink when i double click over the "flip channel" block, the only channel available is PTA12. When i download the code nothing works.

Also i changed the package from HDQFP-172 to BGA-289 and tryied to modify the pin configuration but nothing works as well.

Tell me if I'm doing something wrong 

Thanks

Simon

0 件の賞賛
返信

4,302件の閲覧回数
VaneB
NXP TechSupport
NXP TechSupport

Hi @simon98 

Comparing your *.MEX file with the one for Dio_Example_S32K358, I found something that could be causing the issue.

In your MEX file several update_project_code parameter are equal to false. Let's try the following, open created *.MEX file using text editor and find the XML element for the particular tool that should be enabled/disabled and manually edit the "enable" attribute. For example enabling Pins tool can be done changing from:

<pins name="Pins" version="15.0" enabled="true" update_project_code="false">

to 

<pins name="Pins" version="15.0" enabled="true" update_project_code="true">

 save *.MEX and re-open the Config Tools configuration.

0 件の賞賛
返信

4,262件の閲覧回数
simon98
Contributor IV
Hi @VaneB 
 
I tried to modify anly the update_project_code parameters of the .mex file but nothing worked as well...ù
 
I also tried to enable the PTG 29/30/31 via S32K CT:
 
- i've enabled the pins in the Pins tool, as SIUL2:gpio
- i've created a container in Peripheral tool adding 3 PortPin (as shown in the screenshot attached)
then i press refresh and build/download but nothing works yet
 
Could you tell me if i'm doing something wrong?
0 件の賞賛
返信

4,240件の閲覧回数
VaneB
NXP TechSupport
NXP TechSupport

Hi @simon98 

If possible, can you share the project you created to change the settings in S32DS ConfigTools?

0 件の賞賛
返信

4,216件の閲覧回数
simon98
Contributor IV

Hi @VaneB,

I don't use S32K DS but MBDT. Anyway here's the .mex file modified with S32K Config Tool

Let me know what could i do

Thanks

Simon

0 件の賞賛
返信

4,144件の閲覧回数
VaneB
NXP TechSupport
NXP TechSupport

Hi @simon98 

I have generated a new .mex file which I configured to turn on the red LED, take a look at it, it can be a good reference.

0 件の賞賛
返信