0
登录后你可以
  • 下载海量资料
  • 学习在线课程
  • 观看技术视频
  • 写文章/发帖/加入社区
会员中心
创作中心
发布
  • 发文章

  • 发资料

  • 发帖

  • 提问

  • 发视频

创作活动
S32K116EVB-Q048

S32K116EVB-Q048

  • 厂商:

    NXP(恩智浦)

  • 封装:

    -

  • 描述:

  • 数据手册
  • 价格&库存
S32K116EVB-Q048 数据手册
S32K116 EVB QUICK START GUIDE APPLIES FOR: S32K116 EVB (SCH_30003 REV B) EXTERNAL USE Contents: 1 • 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 • Create a P&E debug configuration EXTERNAL USE Get to know S32K116-EVB CAN Communication Bus LIN Communication Bus OpenSDA USB SBC UJA1169 External Power Supply (5-12V) OpenSDA MCU Reset Button Transceiver TJA1027T OpenSDA JTAG J2 Header J3 Header S32K116 MCU J1 Header J4 Header J14 SWD connector. Touch electrodes RGB LED 2 EXTERNAL USE Potentiometer User Buttons S32K116 EVB Features: • 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 • Easy access to the MCU I/O header pins for prototyping • On-chip connectivity for CAN, LIN, UART/SCI. • SBC UJA1169 and LIN phy TJA1027 • Potentiometer for precise voltage and analog measurement • RGB LED • Two push-button switches (SW2 and SW3) and two touch electrodes • Flexible power supply options • microUSB • external 12V power supply 3 EXTERNAL USE Header/Pinout Mapping for S32K116 PIN J3-02 J3-04 J3-06 J3-08 J3-10 J3-12 J3-14 J3-16 PORT PTB0 PTB1 PTB6 PTB7 PTE4 PTE5 PTA11 PTD3 FUNCTION GPIO GPIO GPIO GPIO GPIO GPIO GPIO GPIO J3 PIN J3-01 J3-03 J3-05 J3-07 J3-09 J3-11 J3-13 J3-15 PORT PTA5 - J2 FUNCTION VBAT VDD_PERH RESET 3.3V 5V GND GND VBAT J2 J3 PIN J4-02 J4-04 J4-06 J4-08 J4-10 J4-12 J4-14 J4-16 4 PORT PTC6 PTC7 PTC8 PTC9 PTD5 PTD15 PTD16 PTE8 FUNCTION GPIO GPIO GPIO GPIO GPIO GPIO GPIO GPIO EXTERNAL USE J4 PIN J4-01 J4-03 J4-05 J4-07 J4-09 J4-11 J4-13 J4-15 PORT PTA7 PTC8 PTC1 PTC14 PTC15 PTC16 PTC9 PTB13 FUNCTION ADC0_SE3 GPIO ADC0_SE9 ADC0_SE12 ADC0_SE13 ADC0_SE14 GPIO GPIO PIN J2-01 J2-02 J2-03 J2-04 J2-05 J2-06 J2-07 J2-08 J2-09 J2-10 PORT PTC2 PTC3 PTB5 PTB4 PTB3 PTB2 PTA1 PTA0 FUNCTION FTM0_CH2 FTM0_CH3 LPSPI0_PCS LPSPI0_SOUT LPSPI0_SIN LPSPI0_SCK GND AREF LPI2C0_SDA LPI2C0_SCL J1 J4 Arduino compatible pins NXP pins J1 PIN J1-01 J1-02 J1-03 J1-04 J1-05 J1-06 J1-07 J1-08 PORT PTA2 PTA3 PTA13 PTA12 PTD0 PTD1 PTD2 PTE9 FUNCTION LPUART0_RX LPUART0_TX FTM1_CH7 FTM1_CH6 FTM0_CH2 FTM0_CH3 FXIO_D4 FTM0_CH7 *0ohm resistor is not connected Jumper Settings Jumper Configuration Description J104 1-2 Reset signal to OpenSDA, use to enter into OpenSDA Bootloader mode 2-3 (Default) Reset signal direct to the MCU, use to reset S32K116. 1-2 (Default) S32K116 powered by 12V power source. 2-3 S32K116 powered by USB micro connector. 2-3 (Default) MCU voltage 5v 1-2 MCU voltage 3.3v J108 1-2 (Default) Select LIN master option J15 1-2 (Default) Used for current measurement J107 J10 5 EXTERNAL USE HMI mapping 6 EXTERNAL USE Component S32K116 Red LED PTD16 (FTM0 CH1) Blue LED PTE8(FTM0 CH6) Green LED PTD15(FTM0 CH0) Potentiometer PTA7 (ADC0_SE3) SW2 PTD3 SW3 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 PTB2 (LPSPI0_SCK) SBC_MISO PTB3(LPSPI0_SIN) SBC_MOSI PTB4(LPSPI0_SOUT) SBC_CS PTB5(LPSPI0_PCS1) S32K116 EVB OUT OF THE BOX 7 EXTERNAL USE Step 1: Power up the Board – EVB Power Supplies 8 • 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 cable . • Connect other end of USB cable (microUSB) to mini-B port on S32K116-EVB at J7 • Allow the PC to automatically configure the USB drivers if needed • Debug is done using OpenSDA through J7 EXTERNAL USE Step 2: Power up the Board – Is it powered on correctly? • • 9 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 Step 3: Power up the Board – Is it powered on correctly? • 10 Board is preloaded with a software, in which the red, blue and green leds will toggle at different rates. EXTERNAL USE S32K116 JUMPSTART EXPERIENCE BASED ON THE FREEMASTER TOOL 11 EXTERNAL USE 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: 12 EXTERNAL USE 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.  Allow the PC to automatically configure the USB drivers if needed.  When EVB is powered from USB, LEDs D2 and D3 should light green.  The EVB board is preloaded with a software toggling the RGB LED colors periodically between RED-GREEN-BLUE. 13 EXTERNAL USE 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“ OR  14 Setup communication automatically: Go to “Tools > Connection Wizard“ EXTERNAL USE The FreeMASTER JumpStart project is loaded 15 EXTERNAL USE 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 or log1. User can connect e.g. LED diodes to these ouput pins. Touch Sense Electrodes Potentiometer Links to S32K1xx docs:  Fact Sheet  Data Sheet  Reference Manual  Product Brief  S32K116EVB schematic  S32K116EVB Quick Start Guide  Tools:  FreeMASTER  S32 Design Studio IDE  S32K116EVB JumpStart source files RGB LED Mechanical Buttons 16 Pins of the J3 and J4 connectors are configured as inputs. Logical level (log0/log1) is visualised for all connector pins. User can connect e.g. push-button keyboard to these input pins. EXTERNAL USE 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. 17 EXTERNAL USE Responses from touch sense electrodes. INTRODUCTION TO OPENSDA 18 EXTERNAL USE Introduction to OpenSDA: 1 of 2 OpenSDA is an open-standard serial and debug adapter. It bridges serial and debug communications between a USB host and an embedded target processor. 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. Enter OpenSDA Bootloader Mode Load an OpenSDA Application 1. 2. 3. 4. 1. While in OpenSDA Bootloader mode, double-click SDA_INFO.HTML in the BOOTLOADER drive. A web browser will open the OpenSDA homepage containing the name and version of the installed Application. This information can also be read as text directly from SDA_INFO.HTML 2. Locate the OpenSDA Applications 3. Copy & paste or drag & drop the MSD Flash Programmer Application to the BOOTLOADER drive 4. Unplug the USB cable and plug it in again. The new OpenSDA Application should now be running and a S32K116 EVB drive should be visible in the host file system Unplug the USB cable if attached Set J104 on position 1-2. Press and hold the Reset button (SW5) Plug in a USB cable (not included) between a USB host and the OpenSDA USB connector (labeled “SDA”) 5. Release the Reset button A removable drive should now be visible in the host file system with a volume label of BOOTLOADER. You are now in OpenSDA Bootloader mode. IMPORTANT NOTE: Follow the “Load an OpenSDA Application” instructions to update the MSD Flash Programmer on your S32K116 EVB to the latest version. 19 EXTERNAL USE You are now running the latest version of the MSD Flash Programmer. Use this same procedure to load other OpenSDA Applications. Introduction to OpenSDA: 2 of 2 The MSD Flash Programmer is a composite USB application that provides a virtual serial port and an easy and convenient way to program applications into the S32K116 MCU. It emulates a FAT file system, appearing as a removable drive in the host file system with a volume label of S32K116EVB. Raw binary and Motorola S-record files that are copied to the drive are programmed directly into the flash of the S32K116 and executed automatically. The virtual serial port enumerates as a standard serial port device that can be opened with standard serial terminal applications. Using the MSD Flash Programmer Using the Virtual Serial Port 1. Locate the .srec file of your project , file is under the Debug folder of the S32DS project. 2. Copy & paste or drag & drop one of the .srec files to the S32K116EVB drive 1. Determine the symbolic name assigned to the S32K116EVB virtual serial port. In Windows open Device Manager and look for the COM port named “PEMicro/Freescale – CDC Serial Port”. 2. Open the serial terminal emulation program of your choice. Examples for Windows include Tera Term, PuTTY, and HyperTerminal 3. Press and release the Reset button (SW5) at anytime to restart the example application. Resetting the embedded application will not affect the connection of the virtual serial port to the terminal program. 4. It is possible to debug and communicate with the serial port at the same time, no need to stop the debug. The new application should now be running on the S32K116 EVB. Starting with v1.03 of the MSD Flash Programmer, you can program repeatedly without the need to unplug and reattach the USB cable before reprogramming. Drag one of the .srec code for the S32K116 EVB board over USB to reprogram the preloaded code example to another example. NOTE: Flash programming with the MSD Flash Programmer is currently only supported on Windows operating systems. However, the virtual serial port has been successfully tested on Windows, Linux and Mac operating systems. 20 EXTERNAL USE NOTE: Refer to the OpenSDA User’s Guide for a description of a known Windows issue when disconnecting a virtual serial port while the COM port is in use. INSTALLING S32DS 21 EXTERNAL USE Download S32DS Download S32DS from: S32DS for ARM 22 EXTERNAL USE CREATE A NEW PROJECT IN S32 DESIGN STUDIO 23 EXTERNAL USE Create New Project: First Time – Select a Workspace • Start program: Click on “S32 Design Studio for ARM v2.0” icon • Select workspace: 24 − Choose default (see below example) or specify new one − Suggestion: Uncheck the box “Use this as the default and do not ask again” − Click OK EXTERNAL USE Create New Project: Top Menu Selection • 25 File – New –Project EXTERNAL USE Create New Project: S32DS Project • Project Name: − Example: • FirstProject Project Type: − Select from inside executable or library folder • 26 Next EXTERNAL USE Create New Project: S32DS Project • • 27 Select Debugger Support and Library Support Click Finish EXTERNAL USE OpenSDA Configuration • • 28 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 OpenSDA Configuration • • 29 Select the Debug configuration under GDB PEMicro Interface Debugging Click on Debugger tab EXTERNAL USE OpenSDA Configuration • • 30 Select OpenSDA as the interface, if your board is plugged should appear in the Port field. Click Apply and debug to finish. EXTERNAL USE DEBUG BASICS 31 EXTERNAL USE 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 − Select Run – Debug (or hit F11) Note: This method currently selects the desktop target (project.elf) and gives an error. Do not use until this is changed. − Recommended target 32 EXTERNAL USE Method: Click on pull down arrow for bug icon and select …_debug.elf Debug Basics: Step, Run, Suspend, Resume • Step Into (F5) • Step Over (F6) • Step Return (F7) • Run • Suspend • Resume (F8) 33 EXTERNAL USE Debug Basics: View & Alter Variables • • 34 View variables in “Variables” tab. Click on a value to allow typing in a different value. EXTERNAL USE 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 35 EXTERNAL USE Debug Basics: View & Alter Memory Add Memory Monitor • • Select Base Address to Start at : 0x20000000 • 36 View Memory EXTERNAL USE Debug Basics: Breakpoints Add Breakpoint: Point and Click • light blue dot represents debugger breakpoint 37 EXTERNAL USE Debug Basics: Reset & Terminate Debug Session • Reset program counter • Terminate Ctl+F2() 38 EXTERNAL USE CREATE A P&E DEBUG CONFIGURATION (OPTIONAL) 39 EXTERNAL USE New P&E debug configuration • 40 Click in debug configurations EXTERNAL USE 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 41 EXTERNAL USE New P&E debug configuration • Select the device Select device • Click Apply and debug your application 42 EXTERNAL USE USEFUL LINKS 43 EXTERNAL USE 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. 44 EXTERNAL USE
S32K116EVB-Q048 价格&库存

很抱歉,暂时无法提供与“S32K116EVB-Q048”相匹配的价格&库存,您可以联系我们找货

免费人工找货