NXP Semiconductors S32K148 Quick Reference Manual Download Page 5

5

HEADER/PINOUT MAPPING FOR S32K148

External 
Modules

Function Pin

S32K148 MCU Pins

On-board 

Connector

Used MCU 

Peripherals

BLE module

UART-TX

PTB0/LPUART0_RX

J26-1

LPUART0

UART-RX

PTB1/LPUART0_TX

J26-2

GPS module

UART-TX

PTC8/LPUART1_RX

J28-3

LPUART1

UART-RX

PTC9/LPUART1_TX

J28-2

PPS

PTC10/FTM3_CH4/TRGMUX_IN11

J28-1

4G module

UTXD1

PTD17/FTM0_FLT2/LPUART2_RX/FTM5_FLT1

J25-6

LPUART2

URXD1

PTE12/FTM0_FLT3/LPUART2_TX/FTM5_FLT0

J25-7

POWER_KEY_N

PTD4/FTM0_FLT3/ADC1_SE6

J25-10

M_RELOAD_N

PTD2/FTM3_CH4/LPSPI1_SOUT/FXIO_D4/FXIO_D6/ADC1_SE2

J27-6

M_RESET_N

PTD3/FTM3_CH5/LPSPI1_PCS0/FXIO_D5/FXIO_D7/ADC1_SE3

J27-7

TJA1044/

Stinger (SO8)

TXD

PTC7/LPUART1_TX/CAN1_TX/FTM3_CH3

NC

CAN1

RXD

PTC6/LPUART1_RX/CAN1_RX/FTM3_CH2

NC

STB

PTC11/FTM3_CH5/FTM4_CH2/TRGMUX_IN10

NC

CANH

NC

J31-2

CANL

NC

J31-17

TJA1043/

Stinger (HVON-

14)

TXD

PTB13/FTM0_CH1/FTM3_FLT1/CAN2_TX

NC

CAN2

RXD

PTB12/FTM0_CH0/FTM3_FLT2/CAN2_RX

NC

EN

PTB11/FTM3_CH3/LPI

2

C0_HREQ

NC

STB_N

PTB15/FTM0_CH3/LPSPI1_SIN/ADC1_SE14

NC

INH

SBC_HVIO3

NC

CANH

NC

J31-3

CANL

NC

J31-18

TJA1101 

(10/100Mbit/s 

Ethernet PHY)

MDC

PTB5/ENET_MII_RMII_MDC

NC

ENET

MDIO

PTB4/MII_RMII_MDIO

NC

INT_N

PTB20/FTM6_CH0/ENET_INT

NC

RXDV/CONFIG2

PTC17/MII_RMII_RX_DV

NC

RXER/CONFIG3

PTC16/MII_RMII_RX_ER

NC

RXC/REF_CLK

PTD10/MII_RX_CLK

NC

RXD0/PHYAD0

PTC1/MII_RMII_RXD0

NC

RXD1/PHYAD1

PTC0/MII_RMII_RXD1

NC

RXD2/CONFIG0

PTD9/MII_RXD2

NC

RXD3/CONFIG1

PTD8/MII_RXD3

NC

TXER

PTC3/MII_TX_ER

NC

TXEN

PTD12/MII_RMII_TX_EN

NC

TXD0

PTC2/MII_RMII_TXD0

NC

TXD1

PTD7/MII_RMII_TXD1

NC

TXD2

PTD6/MII_TXD2

NC

TXD3

PTD5/MII_TXD3

NC

INH

SBC_HVIO4

NC

TRX_P

NC

J31-5

TRX_N

NC

J31-20

Summary of Contents for S32K148

Page 1: ...BOARD RBD P1 Mic input SW4 User bottom SW2 SW3 Touch Pad J25 J27 4G module connector Audio Codec STGL5000 Potentiometer SW5 User bottom TJA1101 MCU S32K148 SBC UJA113x J16 Audio OUT J15 Line OUT J15...

Page 2: ...00 and support AVB evaluation Integrate 8MB QSPI NOR Flash memory MX25L6433F Provide T BOX function module plugin interfaces 1 UART BLE module 1 UART GPS module 1 UART 4G communication module 2x user...

Page 3: ...nd is developed to accelerate customer s application prototype verification code development With the BSP layer the SW package provides a set of easy use API for application layer use The SW package i...

Page 4: ...12 J19 2 PTC13 PIN PORT J17 30 PTD31 J17 27 PTD26 J17 24 PTD25 J17 21 PTC26 J17 18 PTC25 J17 15 PTC24 J17 12 PTC22 J17 9 PTC21 J17 6 PTC20 J17 3 PTC18 PIN PORT J19 30 PTE17 J19 27 PTE18 J19 24 PTB19 J...

Page 5: ...1_RX CAN1_RX FTM3_CH2 NC STB PTC11 FTM3_CH5 FTM4_CH2 TRGMUX_IN10 NC CANH NC J31 2 CANL NC J31 17 TJA1043 Stinger HVON 14 TXD PTB13 FTM0_CH1 FTM3_FLT1 CAN2_TX NC CAN2 RXD PTB12 FTM0_CH0 FTM3_FLT2 CAN2_...

Page 6: ...1 FTM5_CH5 LPUART1_CTS ADC0_SE2 NC SAI I2 S AUDIO SGTL5000 SYS_MCLK PTD1 FTM0_CH3 LPSPI1_SIN FTM2_CH1 SAI0_MCLK NC SAI0 I2 S_SCLK PTA12 FTM1_CH6 CAN1_RX LPI2 C1_SDAS SAI0_BCLK NC I2 S_LRCLK PTA11 FTM1...

Page 7: ...EXT_HS1 green 0 5 ECU High Side driver output 1 5 CAN0H yellow 0 5 CAN bus 0 differential signal 6 ECU_EXT_ADC1 blue 0 5 ECU external analog input 1 7 ECU_EXT_ADC2 blue 0 5 ECU external analog input 2...

Page 8: ...U and is designed for S32K148 MCU low power static current measurement for this case R77 needs to be unmounted The jumper connection schematic is as below details can be found in the board schematic J...

Page 9: ...For S32K148 T BOX RDB some ENET and QuadSPI data lines are shared from the MCU each interface is separated by two 0 resistors By default the ENET data lines are enabled User can change the 0 configura...

Page 10: ...e board be powered by J31 8 GND and J31 1 12V Note There is no embedded debugger e g OpenSDA on the RDB so debug is done using PEMicro U Multilink FX through J12 with a mini 20 pin cable on debugger s...

Page 11: ...load you can install S32DS IDE with a 32 bit active code received by the e mail when download Download and install the S32K SDK RTM 2 0 0 S32 Design Studio for Arm 2018 R1 Update 6 SDK S32K14x RTM v 2...

Page 12: ...ECT 2 Select archive file Browse browse and choose S32K148_Based_T_BOX_BSP_TestPrj_SDK_RTM2_0 zip select the project Finish After importing the project clean it at first select the project in Project...

Page 13: ...13 STEP 2 IMPORT AND COMPILE THE BSP TEST PROJECT 3 Select the project in Project Explorer then right click choose Build Project The compile result is as below if no errors are found...

Page 14: ...S32K148_Based_T_BOX_BSP_TestPrj_ SDK_RTM2_0_Debug Debugger under Interface select right debugger and ensure Port has the right part number then in Additional Options check Emergency Kinetis Device Re...

Page 15: ...PC via J25 6 TXD J25 7 RXD and J25 12 GND For more details on the test results description and demo projects please refer to the Software User Guide Open a UART console e g Serial Port Utility on PC...

Page 16: ...apture 2x external analog input 2x Touch Sense PAD and etc The SW package also provides the following demo projects QSPI Flash test project LwIP based ENET and TJA1101 TCP IP sever client communicatio...

Page 17: ...CT A WORKSPACE Start program Click on S32 Design Studio for ARM v1 0 icon Select workspace Choose default see below example or specify new one Suggestion Uncheck the box Use this as the default and do...

Page 18: ...18 CREATE NEW PROJECT S32DS PROJECT Project Name Example FirstProject Project Type Select from inside executable or library folder Next Select Debugger Support and Library Support Click Finish...

Page 19: ...DA in the Debug Configuration Select your project and click on debug configuration Select the Debug configuration under GDB PEMicro Interface Debugging Click on Debugger tab Select OpenSDA as the inte...

Page 20: ...nfiguration 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...

Page 21: ...ifferent value DEBUG BASICS VIEW AND 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...

Page 22: ...22 DEBUG BASICS BREAKPOINTS Add Breakpoint Point and Click Light blue dot represents debugger breakpoint DEBUG BASICS RESET TERMINATE DEBUG SESSION Reset program counter Terminate Ctl F2...

Page 23: ...3 Create a P E Debug Configuration Optional NEW P E DEBUG CONFIGURATION Click in debug configurations Create a new P E launch configuration Select S32K144 device Click Apply and debug your application...

Page 24: ...ww nxp com S32K148 T BOX NXP and the NXP logo are trademarks of NXP B V All other product or service names are the property of their respective owners 2019 NXP B V Document Number S32K148TBOXEFS REV 0...

Reviews: