S32G-PROCEVB3-S Blink LED

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

S32G-PROCEVB3-S Blink LED

3,547 Views
Thinh
Contributor III

Hello Supporter

We have an EVB3 Board and try simple setting up to verify

S32G Vehicle Network Processing Evaluation Board 3 | NXP Semiconductors

  1. Try flashing one sample blob file from S32FT to verify the board is worked
  • C:\NXP\S32FlashTool_2.3.3\examples\S32G\SRAM\S32G_TestTransmission_921600_8E1_0x34080000_SRAM.bin
  • Thinh_0-1764141109499.png
  • Thinh_1-1764141168275.png
  • -> Good
  1. Now create a simple blinking LED step in this instruction apply to EVB3
  • Target to this demo is flashing 2 these LEDs
  • Thinh_2-1764141339034.png
  1. Preparation setting up
  • Thinh_3-1764141624958.pngThinh_4-1764141666454.png
  • Follow instruction create project but adapt to EVB3 (instruction applied to RDB)
  • Modify the .mex file
    • Thinh_5-1764141965121.png

       

  • Generate successfully
  • Create the image (.blob) to program Flash (QSPI protocol) using IVT tool
    • Thinh_6-1764142568033.png

       

  • Switch to Boot mode Serial
    • Power OFF the board from the SW10 switch
      J50: 1-2
      SW14: 1-OFF, 2-OFF
      SW15: 1-OFF, 2-ON
      J158: 3-5 and 4-6
  • Upload the algorithm file to QSPI
    • Thinh_8-1764142955886.png
  • Then flashing .blob file
    • Thinh_10-1764143088855.png

       

  • Turn off the board and switch to boot config
    • Power OFF the board from the SW10 switch
      J50: 1-2
      SW14: 1-ON, 2-OFF
      SW15: 1-OFF, 2-OFF
      J158: 3-5 and 4-6
      SW6: BOOTCFG[5:7]: 6-OFF, 7-OFF, 8-OFF
      SW7: All OFF
      SW8: All OFF
      SW9: All OFF
      Power ON the board
  • Wait sometimes but D14 and D15 LED not flashing

Would you please help to check my project uploaded in attachment above

Thank you,

 

 

Tags (1)
0 Kudos
Reply
9 Replies

3,500 Views
Joey_z
NXP Employee
NXP Employee

hi,Thinh

Thank you for contacting us.

You can try to modify the demo of Port_Example_S32G399A_M7 for your application. You only need to modify the pin content for this demo.

Joey_z_0-1764151402137.png

Change the port in the Config Tool.

Joey_z_1-1764151485583.png

Then, click the "update code" button and build project to generate the Image.

Hope this can help you.

BR

Joey 

0 Kudos
Reply

3,475 Views
Thinh
Contributor III

Thank you Joey

 

But seem it not working yet after I flashing SW to M7 - No LED blinking yet

Would you please help to check the attachment, or can you please send me the blob bin file using SD card for checking.


Thank you,

 

 

0 Kudos
Reply

3,407 Views
Joey_z
NXP Employee
NXP Employee

hi,Thinh

Thank you for your information.

I have tried to test in my side.

If you set the pin Level value is the Low, you can find the LED light after initial the  Port_Init(NULL_PTR);.

Joey_z_0-1764214030035.png

If you also want to observe the LED blinking, you can try to modify the code as the following picture.

Joey_z_1-1764214135467.png

Hope this can help you.

BR

Joey

 

0 Kudos
Reply

3,393 Views
Thinh
Contributor III

Thank you Joey

 

I have tried but seem not working yet.

Please note that I created the blob image using IVT tool and flashing to QSPI

Thinh_0-1764218782745.png

Thinh_1-1764218874847.png

Would you please help to send me one .blob file which you can generated for me can verify in my EVB3-S?

Thank you

0 Kudos
Reply

3,421 Views
Joey_z
NXP Employee
NXP Employee

hi,Thinh

Thank you for your reply.

I will help you to check it.

Also, do you have any debugger for your Board?

BR

Joey

0 Kudos
Reply

3,409 Views
Thinh
Contributor III

Currently using UART boot to flashing SW,

I am waiting ordered Debugger

0 Kudos
Reply

3,503 Views
Thinh
Contributor III

One question

What is the different between these 2 bin files in 
C:\NXP\S32FlashTool_2.3.3\examples\S32G\SRAM\

Thinh_0-1764150222472.png

As my understanding it boot to Single core - M7 (S32G_TestTransmission_921600_8E1_0x34080000_SRAM_SINGLE.bin) and Multicore (S32G_TestTransmission_921600_8E1_0x34080000_SRAM.bin)
Is that correct?

Because when flashing S32G_TestTransmission_921600_8E1_0x34080000_SRAM.bin -> It working

But when I used the same way but using S32G_TestTransmission_921600_8E1_0x34080000_SRAM_SINGLE.bin, nothing happen.

How can we use this S32G_TestTransmission_921600_8E1_0x34080000_SRAM_SINGLE.bin? I don't see it in any document

Thank you!

 

0 Kudos
Reply

3,538 Views
Thinh
Contributor III
Please note that target is running the project standalone single M7 Core only
0 Kudos
Reply

3,546 Views
Thinh
Contributor III

Here is my project sample attachment

0 Kudos
Reply