Getting Started With S32K396-BGA-DC1 Evaluation Board | NXP Semiconductors

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. Click S32 Design Studio for S32 Platform v.3.5.

Download

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

2.3 Download and Install the S32K396 Development Package

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

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
  4. Click on the Archive button and select the downloaded K396 development package archive file
  5. Click OK
  6. Click apply and close
  7. 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

2.6 Create the Project for LED D35

  1. Go to menu and 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
  3. Open the mex file to generate the RTD necessary files
  4. Click on update the code
  5. Go back into the source code view
  6. Build the project by clicking o the hammer icon

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
    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)
    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
    3. Go back to the design studio and click on the debug icon and select 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
    5. Select PEmicro Debugger when there is not any device seen in the Port click on the refresh button
    6. Click on the debug button
    7. Click on switch button to go to the debugger view
    8. Click on the run button I the debugger window
    9. You will see the D35 blink 10 times

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

  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.

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):

Plug in 12 V power Supply to J1:

Switch on the SW10 (position 1):