background image

4

PINOUT MAPPING OF ARDUINO™ UNO HEADER

PIN

PORT

J20-3 

VBAT

J20-6 

VBAT

J20-9 

LIN1

J20-12 

GND

J20-15 

LIN2

J20-18 

GND

J20-21 

CANH

J20-24 

CANL

PIN

PORT

J21-3 

PTB17

J21-6 

PTA27

J21-9 

PTA28

J21-12 

PTA29

J21-15 

PTA0

J21-18 

PTA1

J21-21 

PTA15

J21-24 

PTA16

PIN

PORT

J22-2 

PTC15

J22-4 

PTB8

J22-6 

PTA11

J22-8 

PTA12

J22-10 

VDD

J22-12 

GND

J22-14 

PTE1

J22-16 

PTE0

J22-18 

PTD1

J22-20 

PTD13

PIN

PORT

J17-28 

PTE15

J17-25 

PTE16

J17-22 

VREFH

J17-19 

GDN

J17-16 

PTB2

J17-13 

PTB3

J17-10 

PTB1

J17-7 

PTB0

J17-4 

PTA30

J17-1 

PTA31

PIN

PORT

J19-28 

PTD3

J19-25 

PTD2

J19-22 

PTD19

J19-19 

PTD18

J19-16 

PTA18

J19-13 

PTA19

J19-10 

PTB9

J19-7 

PTB10

J19-4 

PTB21

J19-1 

PTB20

PIN

PORT

J22-1 

PTE21

J22-3 

PTE22

J22-5 

PTE23

J22-7 

PTE24

J22-9 

PTE25

J22-11 

PTC19

J22-13 

PTC14

J22-15 

PTB14

J22-17 

PTB15

J22-19 

PTB16

PIN

PORT

J17-29 

PTB12

J17-26 

PTB13

J17-23 

PTE11

J17-20 

PTE10

J17-17 

PTB11

J17-14 

PTB17

J17-11 

PTB18

J17-8 

PTA6

J17-5 

PTA7

J17-2 

PTA25

PIN

PORT

J19-29 

PTD0

J19-26 

PTE14

J19-23 

PTE13

J19-20 

PTE12

J19-17 

GND

J19-14 

VDD

J19-11 

PTC6

J19-8 

PTC7

J19-5 

PTC12

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

J19-21 

PTE27

J19-18 

PTE26

J19-15 

PTA20

J19-12 

PTA21

J19-9 

PTA22

J19-6 

PTA23

J19-3 

PTA24

PIN

PORT

J18-22 

PTD14

J18-19 

PTD15

J18-16 

PTD16

J18-13 

PTD17

J18-10 

PTC10

J18-7 

PTC11

J18-4 

PTA3

J18-1 

PTA2

PIN

PORT

J20-2 

PTB23

J20-5 

PTB22

J20-8 

PTB29

J20-11 

PTB27

J20-14 

PTB28

J20-17 

PTB25

J20-20 

PTA8

J20-23 

PTA9

PIN

PORT

J21-2 

PTD4

J21-5 

PTD22

J21-8 

PTD23

J21-11 

PTD24

J21-14 

PTD27

J21-17 

PTD28

J21-20 

PTD29

J21-23 

PTD30

PIN

PORT

J18-23 

PTA13

J18-20 

PTA14

J18-17 

PTE2

J18-14 

PTE3

J18-11 

PTE6

J18-8 

PTB7

J18-5 

PTE8

J18-2 

PTE9

PIN

PORT

J20-1 

VBAT

J20-4 

VDD

J20-7 

PTA5

J20-10 

V3_3

J20-13 

V5_0

J20-16 

GND

J20-19 

GDN

J20-22 

VBAT

PIN

PORT

J21-1 

PTC23

J21-4 

PTC27

J21-7 

PTC28

J21-10 

PTC29

J21-13 

PTC30

J21-16 

PTC31

J21-19 

PTE19

J21-22 

PTE20

PIN

PORT

TOUCH0_0 

PTA0

TOUCH0_1 

PTA15

PIN

PORT

TOUCH1_0 

PTA1

TOUCH1_1 

PTA16

PIN

PORT

J18-24 

PTD20

J18-21 

PTD21

J18-18 

PTB24

J18-15 

PTB26

J18-12 

GND

J18-9 

GND

J18-6 

PTB30

J18-3 

PTB31

J20

J17

J18

J19

J21

J22

Electrode 

A (SW2)

Electrode 

B (SW3)

J21

J22

ELECTRODE A 
(SW2)

ELECTRODE B 
(SW3)

J17

J19

J20

J18

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: