Getting Started With S32K396-BGA-DC1 Evaluation Board

Contents of this document

  • 1

    Out of the Box
  • 2

    Get Software
  • 3

    Plug It In

1. Out of the Box

1.1 Get to Know the S32K396-BGA-DC1 Evaluation Board

S32K396-BGA-DC1 Features

S32K396-BGA-DC1 Features

1.2 Block Diagram Features

S32K396-BGA-DC1 Evaluation Board features

S32K396-BGA-DC1 Evaluation Board features

2. Get Software

2.1 Download and install the latest S32DS

Download and install S32 Design Studio IDE for S32 Platform.

Download S32DS IDE

2.2 Update the S32 Design Studio

  1. Run the design Studio
  2. Go to the menu and click on Help/S32DS Extensions and Updates
  3. Select Available updates and install all with blue update icon
  4. Select Available Updates and Install All With Blue Update Icon

2.3 Download and Install the S32K396 Development Package

  1. Install the S32K39 Software bundle from the Automotive Software Package ManagerSelect Device
  2. Open the Integrated Software Bundle and select S32 Design Studio RTM 3.5.6_D2309 Select S32 Design Studio RTM 3.5.6_D2309
  3. Click on Generate Bundle Installer and following the instruction Generate Bundle Installer

2.4 Install the S32K3xx Development Package and RTD

  1. Go to the menu and click on Help/S32DS Extensions and Updates
  2. Click on Manage Site

    Click on Manage Sites

    Click on Manage Sites
  3. Click Add button Click Add Button
  4. Click on the Archive button and select the downloaded K396 development package archive file Click on the Archive Button
  5. Click OK Click Ok
  6. Click apply and close
  7. Select and install the S32K396 development package Select and Install the S32K396 Development Package

2.5 Install the RTD Drivers

  1. Go to the menu and click on Help/S32DS Extensions and Updates
  2. Select the S32K396 RTD AUTOSAR® R21-11 Version 3.0.0 and install it Select the S32K396 RTD AUTOSAR R21-11 Version 3.0.0 and Install it

2.6 Create the Project for LED D35

  1. Go to menu and click New/S32DS Project from Example Click New/S32DS Project From Example
  2. Open the S32K396 AUTOSAR 4.4 - R21-11 RTD 3.0.0 D2303 Example Projects and select Port_Example_S32K396 Open S32K396 AUTOSAR 4.4 – R21-11 RTD 3.0.0 D2303
  3. Open the mex file to generate the RTD necessary files Open the mex File
  4. Click on update the code Click on Update Code
  5. Go back into the source code view Source Code View
  6. Build the project by clicking o the hammer icon Build Project

2.7 Program the Code Into the Board

  1. By External debugger
    1. The board is by default to configure to use external debugger connected to the J20 Jumper J20
    2. Connect your external debugger and program the elf generated by the S32DS
  2. Using on board OpenSDA debugger
    1. Change debugger selection jumpers to use OpenSDA (J16, J17, J18, J19 position 1-2) Debugger Selection Jumpers
    2. Connect the board with PC by USB cable and power and plug 12 V power supply to the board. Plug the power supply to the board when the SW10 is I the OFF position and after the 12 V is applied turn in to ON position ON Position
    3. Go back to the design studio and click on the debug icon and select debug configuration Debug Configuration
    4. Select GDB PEMicro Interface Debugging/xxx_Debug_FLASH_PNE, where xxx is name of the project when you created it from the example Select Interface
    5. Select PEmicro Debugger when there is not any device seen in the Port click on the refresh button PEmicro Debugger
    6. Click on the debug button Debug Button
    7. Click on switch button to go to the debugger view Switch Button
    8. Click on the run button I the debugger window Run Button
    9. You will see the D35 blink 10 timesD35 Blink

3. Plug It In

3.1 Set Jumpers in the S32K396-BGA-DC1

S32K396-BGA-DC1 Connectors and Jumpers Description

S32K396-BGA-DC1 Connectors and Jumpers Description

3.2 Plug in the Debugger

Jumper Configuration Selection of
J3 1-2 (default) Source of the 12 V power supply
J4 2-4 Source of the 5 V power supply
J6 2-4 Source of the 1.5 V power supply
J7 2-4 Source of the 3.3 V power supply

The S32K396 BGA DC1 supports three different debuggers but just one can be used in the same time by configuring the jumpers J16, J17, J18 and J19. By default the board is configured to use an external debugger plug in into the connector J20.

The debugger selection table.

Debugger J16, J17, J18, J19 Configuration
On board (J15) 1-2
External (J20) 2-4 (default)
External Trace (P1) 2-3

3.3 How to Get Started

How to Get Started

  1. Change the position of the J6, J7, J4 to position 2-4 (MCU power supply generated by the FS26 device)
  2. Connect the external power supply 12 V to jack connector J1
  3. Turn on the main switch SW10 to power on the board

3.4 Configure Jumpers for the S32K396-BGA-DC1 Evaluation Board

Before, plug in the power supply switch of the SW10 (position 3):

Debugger Connections

Debugger Connections

The S32K396 BGA DC1 supports three different debuggers but just one can be used in the same time by configuring the jumpers J16, J17, J18 and J19. By default is the board is configured to use an external debugger plug in into the connector J20.

Debugger Connections

The debugger selection table.

Debugger J16, J17, J18, J19 Configuration
On board (J15) 1-2
External (J20) 2-4 (default)
External Trace (P1) 2-3

For powering, the power supply adapter (12 V output) will be used, which is part of the delivery and will be plugged into J1.

Before, plug in the power supply switch of the SW10 (position 3):

Standalone Configuration

Plug in 12 V power Supply to J1:

Switch of the SW10 (position 3)

Switch on the SW10 (position 1):

12 V power Supply J1 Connector

RTD Examples

Kickstart your RTD journey with these handy examples. We've rounded up some of the most common use cases to get you inspired and moving forward.

Users can copy the path directly into their window once the RTD is downloaded.

RTD Examples

ADC

C:\NXP\S32DS.3.6.1\S32DS\software\PlatformSDK_S32K3\RTD\Adc_TS_T40D34M30I0R0\examples\S32DS\S32K396\Adc_example_S32K396

ADC SAR BCTU IP

C:\NXP\S32DS.3.6.1\S32DS\software\PlatformSDK_S32K3\RTD\Adc_TS_T40D34M30I0R0\examples\S32DS\S32K396\Adc_Sar_Bctu_Ip_example_S32K396

CAN

C:\NXP\S32DS.3.6.1\S32DS\software\PlatformSDK_S32K3\RTD\Can_43_FLEXCAN_TS_T40D34M30I0R0\examples\S32DS\S32K396\Can_Example_S32K396

FLEXCAN IP

C:\NXP\S32DS.3.6.1\S32DS\software\PlatformSDK_S32K3\RTD\Can_43_FLEXCAN_TS_T40D34M30I0R0\examples\S32DS\S32K396\FlexCAN_Ip_Example_S32K396

CRC

C:\NXP\S32DS.3.6.1\S32DS\software\PlatformSDK_S32K3\RTD\Crc_TS_T40D34M30I0R0\examples\S32DS\S32K396\Crc_Example_S32K396

CRC IP

C:\NXP\S32DS.3.6.1\S32DS\software\PlatformSDK_S32K3\RTD\Crc_TS_T40D34M30I0R0\examples\S32DS\S32K396\Crc_Ip_Example_S32K396

CYPTO CMAC CTR KEY GEN

C:\NXP\S32DS.3.6.1\S32DS\software\PlatformSDK_S32K3\RTD\Crypto_TS_T40D34M30I0R0\examples\S32DS\S32K396\Crypto_CmacCtr_KeyGenBD_S32K396

CRYPTO SYMMETRIC PRIMITIVES

C:\NXP\S32DS.3.6.1\S32DS\software\PlatformSDK_S32K3\RTD\Crypto_TS_T40D34M30I0R0\examples\S32DS\S32K396\Crypto_SymmetricPrimitives_S32K396

HSE IP

C:\NXP\S32DS.3.6.1\S32DS\software\PlatformSDK_S32K3\RTD\Crypto_TS_T40D34M30I0R0\examples\S32DS\S32K396\Hse_Ip_AesEncAsyncIrq_S32K396

DIO

C:\NXP\S32DS.3.6.1\S32DS\software\PlatformSDK_S32K3\RTD\Dio_TS_T40D34M30I0R0\examples\S32DS\S32K396\Dio_Example_S32K396

SIUL2 DIO IP

C:\NXP\S32DS.3.6.1\S32DS\software\PlatformSDK_S32K3\RTD\Dio_TS_T40D34M30I0R0\examples\S32DS\S32K396\Siul2_Dio_Ip_Example_S32K396

ETH

C:\NXP\S32DS.3.6.1\S32DS\software\PlatformSDK_S32K3\RTD\Eth_43_GMAC_TS_T40D34M30I0R0\examples\S32DS\S32K396\Eth_InternalLoopback_S32K396

GMAC IP

C:\NXP\S32DS.3.6.1\S32DS\software\PlatformSDK_S32K3\RTD\Eth_43_GMAC_TS_T40D34M30I0R0\examples\S32DS\S32K396\Gmac_Ip_InternalLoopback_S32K396

FEE

C:\NXP\S32DS.3.6.1\S32DS\software\PlatformSDK_S32K3\RTD\Fee_TS_T40D34M30I0R0\examples\S32DS\S32K396\Fee_Example_S32K396

GPT

C:\NXP\S32DS.3.6.1\S32DS\software\PlatformSDK_S32K3\RTD\Gpt_TS_T40D34M30I0R0\examples\S32DS\S32K396\Gpt_Example_S32K396

PIT GPT IP

C:\NXP\S32DS.3.6.1\S32DS\software\PlatformSDK_S32K3\RTD\Gpt_TS_T40D34M30I0R0\examples\S32DS\S32K396\Pit_Gpt_Ip_Example_S32K396

I²C HLD FLEXIO

C:\NXP\S32DS.3.6.1\S32DS\software\PlatformSDK_S32K3\RTD\I2c_TS_T40D34M30I0R0\examples\S32DS\S32K396\I2c_HLD_FLEXIO_Transfer_S32K396

I²C IP FLEXIO

C:\NXP\S32DS.3.6.1\S32DS\software\PlatformSDK_S32K3\RTD\I2c_TS_T40D34M30I0R0\examples\S32DS\S32K396\I2c_IP_FLEXIO_Transfer_S32K396

I²S

C:\NXP\S32DS.3.6.1\S32DS\software\PlatformSDK_S32K3\RTD\I2s_TS_T40D34M30I0R0\examples\S32DS\S32K396\I2s_Example_Flexio_Master_Tx_Flexio_Slave_Rx_S32K396

EMIOS ICU IP

C:\NXP\S32DS.3.6.1\S32DS\software\PlatformSDK_S32K3\RTD\Icu_TS_T40D34M30I0R0\examples\S32DS\S32K396\Emios_Icu_Ip_BlinkLed_S32K396

ICU

C:\NXP\S32DS.3.6.1\S32DS\software\PlatformSDK_S32K3\RTD\Icu_TS_T40D34M30I0R0\examples\S32DS\S32K396\Icu_BlinkLed_ASR_Emios_S32K396

LIN IP

C:\NXP\S32DS.3.6.1\S32DS\software\PlatformSDK_S32K3\RTD\Lin_43_LPUART_FLEXIO_TS_T40D34M30I0R0\examples\S32DS\S32K396\Lin_Ip_FrameTransfer_S32K396

LIN

C:\NXP\S32DS.3.6.1\S32DS\software\PlatformSDK_S32K3\RTD\Lin_43_LPUART_FLEXIO_TS_T40D34M30I0R0\examples\S32DS\S32K396\Lin_MasterFrameTransfer_S32K396

DMA IP

C:\NXP\S32DS.3.6.1\S32DS\software\PlatformSDK_S32K3\RTD\Mcl_TS_T40D34M30I0R0\examples\S32DS\S32K396\Dma_Ip_DmaTransfer_S32K396

LCU IP

C:\NXP\S32DS.3.6.1\S32DS\software\PlatformSDK_S32K3\RTD\Mcl_TS_T40D34M30I0R0\examples\S32DS\S32K396\Lcu_Ip_LcuControlMotor_S32K396

MCL

C:\NXP\S32DS.3.6.1\S32DS\software\PlatformSDK_S32K3\RTD\Mcl_TS_T40D34M30I0R0\examples\S32DS\S32K396\Mcl_DmaTransfer_S32K396

CLOCK IP

C:\NXP\S32DS.3.6.1\S32DS\software\PlatformSDK_S32K3\RTD\Mcu_TS_T40D34M30I0R0\examples\S32DS\S32K396\Clock_Ip_Example_S32K396

MCU

C:\NXP\S32DS.3.6.1\S32DS\software\PlatformSDK_S32K3\RTD\Mcu_TS_T40D34M30I0R0\examples\S32DS\S32K396\Mcu_Example_S32K396

POWER IP

C:\NXP\S32DS.3.6.1\S32DS\software\PlatformSDK_S32K3\RTD\Mcu_TS_T40D34M30I0R0\examples\S32DS\S32K396\Power_Ip_Example_S32K396

MEM

C:\NXP\S32DS.3.6.1\S32DS\software\PlatformSDK_S32K3\RTD\Mem_43_ExFls_TS_T40D34M30I0R0\examples\S32DS\S32K396\Mem_43_ExFls_Example_S32K396

QSPI IP

C:\NXP\S32DS.3.6.1\S32DS\software\PlatformSDK_S32K3\RTD\Mem_43_ExFls_TS_T40D34M30I0R0\examples\S32DS\S32K396\Qspi_Ip_Example_S32K396

C40 IP

C:\NXP\S32DS.3.6.1\S32DS\software\PlatformSDK_S32K3\RTD\Mem_43_InFls_TS_T40D34M30I0R0\examples\S32DS\S32K396\C40_Ip_Example_S32K396

MEM INFLS

C:\NXP\S32DS.3.6.1\S32DS\software\PlatformSDK_S32K3\RTD\Mem_43_InFls_TS_T40D34M30I0R0\examples\S32DS\S32K396\Mem_InFls_Example_S32K396

MEM ACC

C:\NXP\S32DS.3.6.1\S32DS\software\PlatformSDK_S32K3\RTD\MemAcc_TS_T40D34M30I0R0\examples\S32DS\S32K396\MemAcc_Example_S32K396

EMIOS OCU IP

C:\NXP\S32DS.3.6.1\S32DS\software\PlatformSDK_S32K3\RTD\Ocu_TS_T40D34M30I0R0\examples\S32DS\S32K396\eMios_Ocu_Ip_Example_S32K396

OCU

C:\NXP\S32DS.3.6.1\S32DS\software\PlatformSDK_S32K3\RTD\Ocu_TS_T40D34M30I0R0\examples\S32DS\S32K396\Ocu_Example_S32K396

PLATFORM MPU HLD

C:\NXP\S32DS.3.6.1\S32DS\software\PlatformSDK_S32K3\RTD\Platform_TS_T40D34M30I0R0\examples\S32DS\S32K396\Platform_MPU_HLD_Example_S32K396

PLATFORM MPU IP

C:\NXP\S32DS.3.6.1\S32DS\software\PlatformSDK_S32K3\RTD\Platform_TS_T40D34M30I0R0\examples\S32DS\S32K396\Platform_MPU_IP_Example_S32K396

PORT

C:\NXP\S32DS.3.6.1\S32DS\software\PlatformSDK_S32K3\RTD\Port_TS_T40D34M30I0R0\examples\S32DS\S32K396\Port_Example_S32K396

SIUL2 PORT IP

C:\NXP\S32DS.3.6.1\S32DS\software\PlatformSDK_S32K3\RTD\Port_TS_T40D34M30I0R0\examples\S32DS\S32K396\Siul2_Port_Ip_Example_S32K396

EMIOW PWM IP

C:\NXP\S32DS.3.6.1\S32DS\software\PlatformSDK_S32K3\RTD\Pwm_TS_T40D34M30I0R0\examples\S32DS\S32K396\Emios_Pwm_Ip_Example_S32K396

FLEXIO PWM IP

C:\NXP\S32DS.3.6.1\S32DS\software\PlatformSDK_S32K3\RTD\Pwm_TS_T40D34M30I0R0\examples\S32DS\S32K396\Flexio_Pwm_Ip_Example_S32K396

PWM

C:\NXP\S32DS.3.6.1\S32DS\software\PlatformSDK_S32K3\RTD\Pwm_TS_T40D34M30I0R0\examples\S32DS\S32K396\Pwm_example_S32K396

RM DMAMUX

C:\NXP\S32DS.3.6.1\S32DS\software\PlatformSDK_S32K3\RTD\Rm_TS_T40D34M30I0R0\examples\S32DS\S32K396\Rm_DMAMUX_Example_S32K396

RM

C:\NXP\S32DS.3.6.1\S32DS\software\PlatformSDK_S32K3\RTD\Rm_TS_T40D34M30I0R0\examples\S32DS\S32K396\Rm_Example_S32K396

RM MSCM

C:\NXP\S32DS.3.6.1\S32DS\software\PlatformSDK_S32K3\RTD\Rm_TS_T40D34M30I0R0\examples\S32DS\S32K396\Rm_Mscm_Example_S32K396

RM VIRT WRAP

C:\NXP\S32DS.3.6.1\S32DS\software\PlatformSDK_S32K3\RTD\Rm_TS_T40D34M30I0R0\examples\S32DS\S32K396\Rm_Virt_Wrap_Example_S32K396

RM XBIC

C:\NXP\S32DS.3.6.1\S32DS\software\PlatformSDK_S32K3\RTD\Rm_TS_T40D34M30I0R0\examples\S32DS\S32K396\Rm_Xbic_Example_S32K396

SENT RECEIVER

C:\NXP\S32DS.3.6.1\S32DS\software\PlatformSDK_S32K3\RTD\Sent_TS_T40D34M30I0R0\examples\S32DS\S32K396\Sent_Receiver_S32K396

LPSPI FLEXIO IP

C:\NXP\S32DS.3.6.1\S32DS\software\PlatformSDK_S32K3\RTD\Spi_TS_T40D34M30I0R0\examples\S32DS\S32K396\Lpspi_Flexio_Ip_Transfer_S32K396

LPSPI IP

C:\NXP\S32DS.3.6.1\S32DS\software\PlatformSDK_S32K3\RTD\Spi_TS_T40D34M30I0R0\examples\S32DS\S32K396\Lpspi_Ip_HalfDuplexTransfer_S32K396

SPI HALF DUPLEX

C:\NXP\S32DS.3.6.1\S32DS\software\PlatformSDK_S32K3\RTD\Spi_TS_T40D34M30I0R0\examples\S32DS\S32K396\Spi_HalfDuplexTransfer_S32K396

SPI

C:\NXP\S32DS.3.6.1\S32DS\software\PlatformSDK_S32K3\RTD\Spi_TS_T40D34M30I0R0\examples\S32DS\S32K396\Spi_Transfer_S32K396

LPUART FLEXIOExample

C:\NXP\S32DS.3.6.1\S32DS\software\PlatformSDK_S32K3\RTD\Uart_TS_T40D34M30I0R0\examples\S32DS\S32K396\LpuartFlexio_Uart_Ip_Example_S32K396

UART

C:\NXP\S32DS.3.6.1\S32DS\software\PlatformSDK_S32K3\RTD\Uart_TS_T40D34M30I0R0\examples\S32DS\S32K396\Uart_Example_S32K396

SWT IP

C:\NXP\S32DS.3.6.1\S32DS\software\PlatformSDK_S32K3\RTD\Wdg_TS_T40D34M30I0R0\examples\S32DS\S32K396\Swt_Ip_Example_S32K396

WDOG

C:\NXP\S32DS.3.6.1\S32DS\software\PlatformSDK_S32K3\RTD\Wdg_TS_T40D34M30I0R0\examples\S32DS\S32K396\Wdg_Example_S32K396

ZIPWIRE Leader

C:\NXP\S32DS.3.6.1\S32DS\software\PlatformSDK_S32K3\RTD\Zipwire_TS_T40D34M30I0R0\examples\S32DS\S32K396\Zipwire_Example_Master_S32K396

ZIPWIRE Follower

C:\NXP\S32DS.3.6.1\S32DS\software\PlatformSDK_S32K3\RTD\Zipwire_TS_T40D34M30I0R0\examples\S32DS\S32K396\Zipwire_Example_Slave_S32K396

ZIPWIRE IP Leader

C:\NXP\S32DS.3.6.1\S32DS\software\PlatformSDK_S32K3\RTD\Zipwire_TS_T40D34M30I0R0\examples\S32DS\S32K396\Zipwire_Ip_Example_Master_S32K396

ZIPWIRE IP Follower

C:\NXP\S32DS.3.6.1\S32DS\software\PlatformSDK_S32K3\RTD\Zipwire_TS_T40D34M30I0R0\examples\S32DS\S32K396\Zipwire_Ip_Example_Slave_S32K396

Support

How can we help you? Whether you are looking for assistance on a complex design challenge or some quick advice, NXP offers a variety of support options to suit your needs.

Forums

Connect with other engineers and get expert advice on designing with the S32K396-BGA-DC1 evaluation board using our community sites.