Advertisement

S32K116 EVB
QUICK START GUIDE
APPLIES FOR: S32K116 EVB (SCH_30003 REV B)
EXTERNAL USE

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the S32K116 EVB and is the answer not in the manual?

Questions and answers

Subscribe to Our Youtube Channel

Summary of Contents for NXP Semiconductors S32K116 EVB

  • Page 1 S32K116 EVB QUICK START GUIDE APPLIES FOR: S32K116 EVB (SCH_30003 REV B) EXTERNAL USE...
  • Page 2 Contents: Get to Know S32K116 EVB • Out of the Box Setup • Introduction to OpenSDA • Creating a new S32DS project for S32K116: • − Download − Create a project − Create a project from SDK example S32DS Debug basics •...
  • Page 3: Get To Know S32K116-Evb

    Get to know S32K116-EVB CAN Communication Bus LIN Communication Bus OpenSDA USB SBC UJA1169 OpenSDA MCU External Power Supply (5-12V) Reset Button Transceiver TJA1027T OpenSDA JTAG J2 Header J3 Header S32K116 MCU J1 Header J4 Header J14 SWD connector Touch electrodes RGB LED Potentiometer EXTERNAL USE...
  • Page 4: S32K116 Evb Features

    Features: S32K116 EVB • Supports 48LQFP and 32QFN packages • Small form factor size 4.5” x 2.3” • Arduino™ UNO footprint-compatible with expansion “shield” support • Integrated open-standard serial and debug adapter (OpenSDA) with support for several industry-standard debug interfaces •...
  • Page 5: Header/Pinout Mapping For S32K116

    Header/Pinout Mapping for S32K116 PORT FUNCTION PORT FUNCTION PORT FUNCTION FTM0_CH2 J3-02 PTB0 GPIO J3-01 VBAT J2-01 PTC2 J3-04 PTB1 GPIO J3-03 VDD_PERH J2-02 PTC3 FTM0_CH3 J3-06 PTB6 GPIO J3-05 PTA5 RESET J2-03 PTB5 LPSPI0_PCS J3-08 PTB7 GPIO J3-07 3.3V J2-04 PTB4 LPSPI0_SOUT...
  • Page 6: Jumper Settings

    Jumper Settings Jumper Configuration Description Reset signal to OpenSDA, use to enter into J104 OpenSDA Bootloader mode Reset signal direct to the MCU, use to reset 2-3 (Default) S32K116. J107 1-2 (Default) S32K116 powered by 12V power source. S32K116 powered by USB micro connector.
  • Page 7: Hmi Mapping

    HMI mapping Component S32K116 Red LED PTD16 (FTM0 CH1) Blue LED PTE8(FTM0 CH6) Green LED PTD15(FTM0 CH0) Potentiometer PTA7 (ADC0_SE3) PTD3 PTD5 OpenSDA UART TX PTB1(LPUART0_TX) OpenSDA UART RX PTB0(LPUART0_RX) CAN TX PTE5(CAN0_TX) CAN RX PTE4 (CAN0_RX) LIN TX PTC7(LPUART1_TX) LIN RX PTC6 (LPUART1_RX) SBC_SCK...
  • Page 8 S32K116 EVB OUT OF THE BOX EXTERNAL USE...
  • Page 9 Step 1: Power up the Board – EVB Power Supplies The S32K116-EVB evaluation board powers from a USB • or external 12V power supply. By default 12V power is enabled with J107 (check slide 5) Connect the USB cable to a PC using supplied USB •...
  • Page 10 Step 2: Power up the Board – Is it powered on correctly? When powered through USB, LEDs D2 and D3 should light green • Once the board is recognized, it should appear as a mass storage • device in your PC with the name S32K116EVB. EXTERNAL USE...
  • Page 11 Step 3: Power up the Board – Is it powered on correctly? Board is preloaded with a software, in • which the red, blue and green leds will toggle at different rates. EXTERNAL USE...
  • Page 12: S32K116 Jumpstart Experience Based On The Freemaster Tool

    S32K116 JUMPSTART EXPERIENCE BASED ON THE FREEMASTER TOOL EXTERNAL USE...
  • Page 13: Install The Freemaster Tool

    Install the FreeMASTER tool  Download and install the FreeMASTER PC application www.nxp.com/FreeMASTER  Open the FreeMASTER application on your PC. You should see Welcome page: EXTERNAL USE...
  • Page 14: Power Up The Evb Board

    Power up the EVB board  Powers the S32K116EVB evaluation board from a USB. By default, the USB power is enabled by J07 jumper.  Connect the USB cable to a PC and connect micro USB connector of the USB cable to micro-B port J7 on the S32K116EVB.
  • Page 15: Setup Serial Connection In The Freemaster Tool

    Setup serial connection in the FreeMASTER tool Setup communication port to “OpenSDA“ and speed to 115200 b/s:  Setup communication manualy: Go to: “Project > Options > Comm“  Setup communication automatically: Go to “Tools > Connection Wizard“ EXTERNAL USE...
  • Page 16: The Freemaster Jumpstart Project Is Loaded

    The FreeMASTER JumpStart project is loaded EXTERNAL USE...
  • Page 17 The FreeMASTER JumpStart project description Pins of the J2 and J1 connectors are configured as outputs. By single click on each pin you can change their logical level to log0 Touch Sense Electrodes or log1. User can connect e.g. LED diodes to these ouput pins. Potentiometer Links to S32K1xx docs: ...
  • Page 18: The Freemaster Jumpstart Oscilloscope Feature Examples

    The FreeMASTER JumpStart oscilloscope feature examples  Display main project panel “View > Project Tree“.  Display real-time oscilloscope graph examples such as „Potentiometer“ or „Touch Sense Electrodes“. Analog values from potentiometer. Responses from touch sense electrodes. EXTERNAL USE...
  • Page 19: Introduction To Opensda

    INTRODUCTION TO OPENSDA EXTERNAL USE...
  • Page 20 OpenSDA software includes a flash-resident USB mass-storage device (MSD) bootloader and a collection of OpenSDA Applications. S32K116 EVB comes with the MSD Flash Programmer OpenSDA Application preinstalled. Follow these instructions to run the OpenSDA Bootloader and update or change the installed OpenSDA Application.
  • Page 21 Drag one of the .srec code for the S32K116 EVB board 4. It is possible to debug and communicate with the serial port over USB to reprogram the preloaded code example to at the same time, no need to stop the debug.
  • Page 22: Installing S32Ds

    INSTALLING S32DS EXTERNAL USE...
  • Page 23: Download S32Ds

    Download S32DS Download S32DS from: S32DS for ARM EXTERNAL USE...
  • Page 24: Create A New Project In S32 Design Studio

    CREATE A NEW PROJECT IN S32 DESIGN STUDIO EXTERNAL USE...
  • Page 25: Create New Project: First Time - Select A Workspace

    Create New Project: First Time – Select a Workspace Start program: Click on “S32 Design Studio for ARM v2.0” icon • Select workspace: • − Choose default (see below example) or specify new one − Suggestion: Uncheck the box “Use this as the default and do not ask again” −...
  • Page 26: Create New Project: Top Menu Selection

    Create New Project: Top Menu Selection File – New –Project • EXTERNAL USE...
  • Page 27: Create New Project: S32Ds Project

    Create New Project: S32DS Project Project Name: • − Example: FirstProject Project Type: • − Select from inside executable or library folder Next • EXTERNAL USE...
  • Page 28 Create New Project: S32DS Project Select Debugger Support and Library Support • Click Finish • EXTERNAL USE...
  • Page 29: Opensda Configuration

    OpenSDA Configuration To Debug your project with OpenSDA, it is necessary to select the OpenSDA in the • Debug Configuration. Select your project, and click on debug configuration • EXTERNAL USE...
  • Page 30 OpenSDA Configuration Select the Debug configuration under GDB PEMicro Interface Debugging • Click on Debugger tab • EXTERNAL USE...
  • Page 31 OpenSDA Configuration Select OpenSDA as the interface, if your board is plugged should appear in the • Port field. Click Apply and debug to finish. • EXTERNAL USE...
  • Page 32: Debug Basics

    DEBUG BASICS EXTERNAL USE...
  • Page 33: Debug Basics: Starting The Debugger

    Debug Basics: Starting the Debugger Debug configuration is only required once. Subsequent starting of debugger does • not require those steps. Three options to start debugger: • − If the “Debug Configuration” has not been closed, click on “Debug” button on bottom right −...
  • Page 34: Debug Basics: Step, Run, Suspend, Resume

    Debug Basics: Step, Run, Suspend, Resume Step Into (F5) • Step Over (F6) • Step Return (F7) • • Suspend • Resume (F8) • EXTERNAL USE...
  • Page 35 Debug Basics: View & Alter Variables View variables in “Variables” tab. • Click on a value to allow typing in a different value. • EXTERNAL USE...
  • Page 36 Debug Basics: View & Alter Registers View CPU registers in the “Registers” tab • Click on a value to allow typing in a different value • View peripheral registers in the EmbSys Registers tab • EXTERNAL USE...
  • Page 37 Debug Basics: View & Alter Memory Add Memory Monitor • Select Base Address • to Start at : 0x20000000 View Memory • EXTERNAL USE...
  • Page 38: Debug Basics: Breakpoints

    Debug Basics: Breakpoints Add Breakpoint: Point and Click light blue dot represents debugger breakpoint • EXTERNAL USE...
  • Page 39 Debug Basics: Reset & Terminate Debug Session Reset program counter • Terminate Ctl+F2() • EXTERNAL USE...
  • Page 40 CREATE A P&E DEBUG CONFIGURATION (OPTIONAL) EXTERNAL USE...
  • Page 41 New P&E debug configuration Click in debug configurations • EXTERNAL USE...
  • Page 42 New P&E debug configuration Create a new P&E launch configuration • Click on the debugger tab. Click to create a new P&E launch EXTERNAL USE...
  • Page 43 New P&E debug configuration • Select the device Select device • Click Apply and debug your application EXTERNAL USE...
  • Page 44: Useful Links

    USEFUL LINKS EXTERNAL USE...
  • Page 45 Useful Links • Cookbook application note. This application note contains a bunch of simple examples of how to use different peripherals. • S32K1xx community. Visit this site for request support on the S32K1xx products, you can also look for threads that may contain the answer that you are looking for.

Table of Contents