s32k3xx_dio_ebt example on S32K396 BMS EVB

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

s32k3xx_dio_ebt example on S32K396 BMS EVB

388 Views
bhushan7051
Contributor II

Hello,
I am using NXP MBDT toolbox in matlab for configuring S32K396 BMS EVB and I checked with Dio example to flash LED. I checked s32k3xx_dio_ebt example on S32K396 BMS EVB.
I am able to download the code on EVB, but not able to see output. This is because of pin configuration.
This example uses pins of s32k396 bga dc board, I think.
I am using s32k396 bms evb so which pins I need to select for this example? and how? Please help with step-by-step procedure

0 Kudos
Reply
3 Replies

290 Views
angela852black
Contributor I

Hello,

The s32k3xx_dio_ebt example on the S32K396 BMS EVB, change the DIO pins to match your board:

Use PTD4, PTD5, and PTH7 for LEDs D34, D33, and D35.

In Simulink, open the DIO block and set these pins.

In the S32 Configuration Tool, route these pins as digital outputs.

Set the board configuration to XS32K396-BGA-DC1. PerYourHealth

Build and flash the code. Ensure 12 V is supplied and jumpers (J4, J6, J7) are set correctly.

 

Best Regard,

Angela

0 Kudos
Reply

290 Views
angela852black
Contributor I

Hello,

 

I help for this 

Open your Simulink model with the s32k3xx_dio_ebt example.

Double‑click the Dio block and click Configure… to launch the S32 Configuration Tool (S32CT) or EB Tresos depending on your setup

 

Identify the EVB's LED GPIOs
The BMS EVB is significantly different:

It’s not the same as the BGA‑DC1 board (PTH7, PTD4, PTD5 in DC1).

You’ll need to refer to the S32K396BMS‑EVB schematics/user manual to find exactly which pins are physically wired to LEDs on that board.

 

Assign the Correct PortPins in Configuration Tool
Once you have identified the LED GPIO pins (e.g., PTxY notation):

In S32CT:

Go to the Pins/routing section.

Add each LED, configure the correct PortPin, MSCR, and SiUL2 details to match the EVB hardware.

In EB Tresos (if used):

Do the same pin assignments within the EB configuration XML.

Update the Dio Block in Simulink
In your Simulink model’s Dio block parameters:

Replace the default pin/channel (which corresponded to the DC1 or Q289 board) with your EVB pins.

For example, if LED1 is on PTC3 (GPIO78), set channel = 78.

Click Apply and OK.

Rebuild, Flash, and Test
Press Download to flash the code.

The board is powered (12 V external) and jumpers are properly set

 

Best Regard,

Angela

0 Kudos
Reply

353 Views
bhushan7051
Contributor II
Can I get any help on above issue ?
0 Kudos
Reply