Getting Started with the S32K148-T-BOX

Last Modified: 2019-06-24 15:16:06Supports S32K148 Automotive Telematics Box (T-Box)

Contents of this document

  • 1

    Plug It In
  • 2

    Get Software
  • 3

    Configure Hardware
  • 4

    Build, Run

1. Plug It In

Let's take your S32K148-T-BOX for a test drive.

1.1 Plug the 12 V power supply using

  • The 23-pin ECU connector with the wiring harness
  • The J31-8 (GND) and J31-1 (+12 V)

After power on D10, D11, and D12 will light on. When connecting the U-Multilink debugger to PC, its USB and TGTPWR LED will be lighted on.

2. Get Software

2.1 Download the S32K148-T-BOX QSP

Download the S32K148-T-BOX Quick Support Package (QSP) including the S32K148_Based_T_BOX_BSP_TestPrj_SDK_RTM2_0.zip to kick start your design.

Download S32K148-T-BOX QSP

2.2 Get the S32 Design Studio for Arm

Download and Install the S32DS for Arm® v2018.R1

Download S32 DS for Arm

2.3 Get the S32K SDK RTM

Download and Install the S32 Design Studio for Arm 2018.R1 Update 6 SDK S32K14x RTM v.2.0.0 (REV UP6)

Download S32K SDK RTM

3. Configure Hardware

  1. Open S32DS for Arm IDE and select File → Import
  2. Then select General → Existing Projects into Workspace → Next
  3. Go to Select archive file → Browse option to choose the S32K148_Based_T_BOX_BSP_TestPrj_SDK_RTM2_0.zip file and then select the project → Finish
  4. After importing the project, clean it at first by selecting the project in the Project Explorer, then right-click and choose Clean Project
  5. Select the project in the Project Explorer, then right-click and choose Build Project
  6. Select the project in Project Explorer, then right-click, and choose Debug As → Debug Configuration
  7. In the Debug Configuration window, select the GDB PEMicro Interface Debugging → S32K148_Based_T_BOX_BSP_TestPrj_SDK_RTM2_0_Debug → Debugger
  8. Under Interface select right debugger and ensure Port has the right part number, then in Additional Options, check Emergency Kinetis Device Recovery by Full Chip Erase and Use SWD protocol (if not check this option, it will use JTAG debug protocol). Click Debug to launch the debug.

4. Build, Run

4.1 The S32K148-T-BOX BSP test project use S32K148 LPUART2 to output the test result

Use an USB-to-UART adapter to connect the board with PC via J25-6 (TXD), J25-7 (RXD) and J25-12 (GND)

4.2 Open a UART console (e.g. Serial Port Utility) on PC, configure its serial communication format

Datarate : 115200 baud/s

Data Bits: 8

Parity: None

Stop Bits: 1

Flow Control: OFF

4.3 Test result output should look like