1 Table of Contents
This document outlines the S32K312EVB-Q172 evaluation board, covering definitions, block diagrams, features, default configurations, startup procedures, power supply details, programming and debug interfaces, LIN and CAN interfaces, user peripherals, default jumpers, and revision history.
2 Definitions, Acronyms, and Abbreviations
This section provides a list of abbreviations used throughout the document, including:
- CD: Compact Disk
- CMOS: Complementary Metal Oxide Semiconductor
- CPU: Central Processing Unit
- EEPROM: Electrically Erasable Programmable Read Only Memory
- GPIO: General Purpose Input/output
- I2C: Inter-Integrated Circuit
- ICE: In-Circuit Emulator
- JTAG: Joint Test Access Group
- LCD: Liquid Crystal Display
- LED: Light Emitting Diode
- MCU: Microcontroller Unit
- RAM: Random Access Memory
- SPI: Serial Peripheral Interface
- UART: Universal Asynchronous Receiver/Transmitter
- USB: Universal Serial Bus
3 S32K312EVB-Q172 - Block Diagram
The block diagram illustrates the key components of the S32K312EVB-Q172, including the S32K312 MCU, FS26x SBC, LIN Interface, CAN Interface, ARDUINO Shield Connectors, ADC Rotary Potentiometer, User Push Buttons, Touch Electrodes, User RGB LED Indicator, and On-Board Debug Interface.
Key Components:
- S32K312 MCU: The central processing unit (172MaxQFP).
- FS26x SBC: Provides power (+5.0V, +3.3V, and +1.5V).
- Interfaces: LIN Interface, CAN Interface, ARDUINO Shield Connectors.
- User Peripherals: ADC Rotary Potentiometer, User Push Buttons [Active High], Touch Electrodes, User RGB LED Indicator [Active High].
- Debug: On-Board Debug Interface with K26, 10-pin Cortex Debug JTAG connector, MCU Current Monitoring for VDD_HV_A.
4 S32K312EVB-Q172 - Features
IMPORTANT:
- Verify and download the latest version of this document from http://www.nxp.com.
- Read this user manual thoroughly before powering on the evaluation board. Incorrect configuration can lead to irreparable damage to the component, MCU, or EVB.
- Ensure power is removed from the EVB before removing or placing components, re-configuring jumpers, or performing measurements.
5 S32K312EVB-Q172 - Default Configuration
This section details the default configuration of the S32K312EVB-Q172 for various interfaces:
Interface | S32K312 EVB-Q172 | S32K312 EVBS172ND | Reference / Signal | Default Configuration | Description/Comment | |
MCU Power Supply | ● | ● | VDD_HV_A_MCU | +5.0V | The VDDA_HV_A domain is connected to +5.0V-Switching Power Supply. | |
● | ● | VDD_HV_B_MCU | +3.3V | The VDDA_HV_B domain is connected to +3.3V-Switching Power Supply. | ||
● | ● | VDD_REFH_MCU | [VDD_HV_A] | The VDD_REFH domain is connected to VDD_HV_A_MCU. | ||
OnBoard Debugger | ● | - | PTA15 | PTA15/LPUART6_RX is routed to OpenSDA for serial interface. | ||
PTA16 | PTA16/LPUART6_TX is routed to OpenSDA for serial interface. | |||||
CAN Interface | ● | ● | TJA1043/CAN0 | PTA6 | PTA6 is routed to the CAN0_RX signal. | |
PTA7 | PTA7 is routed to the CAN0_TX signal. | |||||
PTC23 | PTC23 is routed to the CAN0_ERRN signal. | |||||
LIN Interface | ● | ● | LIN1 | PTB9 | LPUART9_RX is routed to LIN Phy0. | |
PTC20 | CAN0_EN | |||||
LIN2 | PTB10 | LPUART9_TX is routed to LIN Phy0. | ||||
PTB28 | LPUART5_RX is routed to LIN Phy1. | |||||
PTB27 | LPUART5_TX is routed to LIN Phy1. | |||||
User Push Buttons | ● | ● | SW4 | Disabled | Active Low. | |
SW5 | PTB19 | Active Low, before PTA1. | ||||
User LED | ● | ● | D13 | PTA29 | Red | |
PTA30 | Green | |||||
PTA31 | Blue | |||||
ADC Potentiometer | ● | ● | ADCPOT0 | PTA11 | ADCPOT0 [R293] is routed to PTA11 - ADC1_S10. | |
ARDUINO | ● | ● |
6 S32K312EVB-Q172 - Startup
Follow these steps to connect and power on the board:
- Carefully unpack the S32K312EVB-Q172 and observe ESD preventive measures while handling the K3 development board.
- Connect necessary cables between host PC and EVB board prior to applying power to the EVB.
- The power-ON sequence for the EVB must be as follows:
a) The power switch -SW1 must be in OFF position before the EVB is connected to an external power supply.
b) Once the power switch -SW1 is in OFF position, then the EVB can be connected to an external power supply.
c) Now the power switch -SW11 can be changed to ON- position.
When power is applied to the EVB, three orange LEDs (D2, D4, D5) adjacent to the voltage regulators indicate the presence of supply voltages:
- LED D2: Indicates that the 12.0V is connected correctly.
- LED D4: Indicates that the 5.0V linear regulator is enabled and working correctly.
- LED D5: Indicates that the +3.3V linear regulator is enabled and working correctly.
If no LEDs illuminate, check the power supply connection or voltage level. Note that the fuse does not protect against regulator short circuits.
5. The board is ready to use.
7 S32K312EVB-Q172 - Power supply
The EVB requires an external power supply of +12V/≥2A. The 12V input powers the FS26/SBC – U1, which in turn provides +5.0V, +3.3V, and +1.5V for various voltage domains like VDD_HV_A, VDD_HV_B, V15, and other interfaces.
7.1 S32K312EVB-Q172 - Main Power Supply
The main power input is via the 2.1mm Barrel Connector (J14). Ensure the correct polarization is used if using an alternative adapter.
7.1.1 S32K312EVB-Q172 – FS26/Modes Operation
This section describes the FS26/Modes operation using jumpers J1 and J5. The configurations allow for Flash Mode (default) or Debug Mode, influencing the VDEBUG pin voltage and power-up sequence.
7.2 S32K312EVB-Q172 – +5.0 Volts Power Supply
The +5.0V output from the FS26x SBC (FS26_VLDO1) is routed to the main P5V0 domain via jumper J22. The default configuration is closed, providing power to the entire board. Opening the jumper isolates the P5V0 domain from the FS26x.
7.3 S32K312EVB-Q172 – +3.3 Volts Power Supply
The +3.3V Switching power supply from the FS26x SBC (FS26_VLDO2) is routed to the main P3V3 domain via jumper J26. The default is closed, supplying power to the board. Opening the jumper isolates the P3V3 domain.
7.4 S32K312EVB-Q172 – VDD_HV_A
Jumper J18 selects the voltage source for the VDD_HV_A_MCU reference: P5V0 (+5.0V) or P3V3 (+3.3V) from the FS26. Jumper J10 controls the power to the VDD_HV_A domain; if open, the domain is isolated and unpowered, and the S32K312 MCU will turn off. J10 also allows for current measurements.
7.5 S32K312EVB-Q172 – VREFH
The VREFH reference of the S32K312 MCU is directly routed to the VDD_HV_A_MCU domain.
8 S32K312EVB-Q172 - Programming and Debug Interface
8.1 RESET Switch and LED indicator
The RESET switch (SW2) allows manual resetting of the S32K3 MCU and board peripherals. The RESET LED indicator (D22) illuminates during the reset signal, indicating the MCU is in the reset state.
8.2 On-board Debugger
The EVB features an On-Board Debugger and JTAG connectors, enabling serial and debug communications between a USB host and the target processor. The 20-pin Cortex Debug + ETM Connector (J50) provides access to SWD, SWV, JTAG, and ETM signals. Note that TRACE signals share MCU ports with other interfaces and may require isolation.
9 S32K312EVB-Q172 - LIN Interface
The EVB supports two LIN interfaces using NXP LIN transceivers (TJA1021T/20/C), allowing for master and slave mode operation (jumper selectable). The LIN transceiver outputs are connected to connector J23.
The LIN connector (J23) pinout includes GND, NC, VBAT, LIN1_OUT, and LIN2_OUT.
LIN Interface - MCU Connections:
LIN Interface | Signal Name | MCU Port | Comment/Description |
TJA1021 /LIN1 | LIN1_RX | PTB9 | LPUART9_RX is routed to LIN Phy1. |
LIN1_TX | PTB10 | LPUART9 is routed to LIN Phy1. | |
LIN2 | LIN2_RX | PTB28 | LPUART5_RX is routed to LIN Phy1. |
LIN2_TX | PTB27 | LPUART5_TX is routed to LIN Phy1. |
10 S32K312EVB-Q172 - CAN Interface
The EVB includes a CAN interface utilizing the TJA1043 transceiver for secure HS-CAN communication. The CAN connector (J32) provides connections for CANHO, CANLO, GND, and NC.
CAN Interface - MCU Connections:
CAN Interface | Signal Name | MCU Port | Comment/Description |
TJA1153 /CAN0 | CAN0_RX | PTA6 | [CAN0_RX Module] is routed to CAN Phy0. |
CAN0_TX | PTA7 | [CAN0_TX Module] is routed to CAN Phy0. | |
CAN0_ERRN | PTC23 | PTC23 is routed to CAN Phy0 as CAN0_ERRN. | |
CAN0_EN | PTC21 | PTC21 is routed to CAN Phy0 as CAN0_EN. | |
CAN0_STB | PTC20 | PTC20 is routed to CAN Phy0 as CAN0_STB. |
11 S32K312EVB-Q172 - User Peripherals
11.1 User RGB LED Indicator
The board features one active-high RGB LED connected via NPN transistors to MCU ports. The LED (D13) can display Red (PTA29), Green (PTA30), or Blue (PTA31).
11.2 User Pushbuttons
Two push-buttons (SW6 and SW5) are connected to MCU ports (PTB26 for USER_SW0, PTB19 for USER_SW1). They are active-high, pulled low, and driven by VDD_HV_A and VDD_HV_B.
11.3 ADC Rotary Potentiometers
The EVB includes two ADC Rotary Potentiometers connected to the S32K312 Microcontroller's ADC input channels. Reference R393 is connected to PTA11 (Enabled as DEFAULT), while PTA9 is Disabled.
12 S32K312EVB-Q172 - Default Jumpers
This section illustrates the default jumper configurations for various interfaces:
- FS26x SBC Power Supply: J22 (1-2) routes FS26_VLDO1 to P5V0; J26 (1-2) routes FS26_VLDO2 to P3V3.
- Flash Mode: J1 (1-2) and J5 (1-2) configure the FS26.
- S32K312 MCU Power Supply: J18 (1-2) selects P5V0 for VDD_HV_A_MCU. J10 (1-2) routes VDD_HV_A to VDD_HV_A_MCU and disables shunt resistors for current measurement. J9 (1-2) routes VDD_HV_B to VDD_HV_B_PERH. J8 (1-2) routes VDD_HV_A to VDD_HV_A_PERH.
13 S32K312EVB-Q172 - Revision history
The document revision history indicates that version A1 was released in 01/2021 with schematic/board number 51972 and revision A (Internal version), authored by Jesús Sánchez.
14 Legal Information
14.1 Definitions
A 'Draft' status indicates a document is under internal review and subject to change. NXP Semiconductors provides no warranties regarding the accuracy or completeness of draft information.
14.2 Disclaimers
NXP Semiconductors warrants limited liability for its products. Information provided is believed accurate but not guaranteed. NXP is not liable for indirect damages or issues arising from customer applications or third-party use. Customers are responsible for ensuring product suitability and implementing safeguards. NXP Semiconductors does not accept liability for product failures due to customer application weaknesses. Suitability for automotive applications is confirmed, but use in life-support or safety-critical systems is not warranted and is at the customer's own risk. Export control regulations may apply. English is the prevailing language for translations.
14.3 Trademarks
Referenced brands, product names, service names, and trademarks are the property of their respective owners. NXP wordmark and logo are trademarks of NXP B.V.