numaker-m258ke user manual - nuvoton.com.cn

53
NuMaker-M258KE Jul. 9, 2021 Page 1 of 53 Rev 1.01 NUMAKER-M258KE USER MANUAL NuMicro ® Family Arm ® 32-bit Cortex ® -M23 Microcontroller NuMaker-M258KE User Manual Evaluation Board for NuMicro ® M254/256/258 Series The information described in this document is the exclusive intellectual property of Nuvoton Technology Corporation and shall not be reproduced without permission from Nuvoton. Nuvoton is providing this document only for reference purposes of NuMicro microcontroller and microprocessor based system design. Nuvoton assumes no responsibility for errors or omissions. All data and specifications are subject to change without notice. For additional information or questions, please contact: Nuvoton Technology Corporation. www.nuvoton.com

Upload: others

Post on 31-Jan-2022

1 views

Category:

Documents


0 download

TRANSCRIPT

NuMaker-M258KE

Jul. 9, 2021 Page 1 of 53 Rev 1.01

NU

MA

KE

R-M

258

KE

US

ER

MA

NU

AL

Maker N

u-m

bed

NU

C472 U

ser M

an

ual

NuMicro® Family

Arm® 32-bit Cortex® -M23 Microcontroller

NuMaker-M258KE

User Manual Evaluation Board for NuMicro® M254/256/258 Series

The information described in this document is the exclusive intellectual property of Nuvoton Technology Corporation and shall not be reproduced without permission from Nuvoton.

Nuvoton is providing this document only for reference purposes of NuMicro microcontroller and microprocessor based system design. Nuvoton assumes no responsibility for errors or omissions.

All data and specifications are subject to change without notice.

For additional information or questions, please contact: Nuvoton Technology Corporation.

www.nuvoton.com

NuMaker-M258KE

Jul. 9, 2021 Page 2 of 53 Rev 1.01

NU

MA

KE

R-M

258

KE

US

ER

MA

NU

AL

Maker N

u-m

bed

NU

C472 U

ser M

an

ual

Table of Contents

1 OVERVIEW ...................................................................................................... 7

2 FEATURES ...................................................................................................... 8

3 HARDWARE CONFIGURATION ..................................................................... 9

3.1 Front View ....................................................................................................................... 9

3.2 Rear View ..................................................................................................................... 10

3.3 Extension Connectors ................................................................................................. 11

3.3.1 Pin Assignment for Extension Connectors ................................................................. 11

3.3.2 NuMaker-TNLCDSub_M258K Compatible Extension Connectors ......................... 16

3.3.3 Arduino UNO Compatible Extension Connectors ...................................................... 18

3.4 Power Supply Configuration ...................................................................................... 20

3.4.1 VIN Power Source .......................................................................................................... 20

3.4.2 5 V Power Sources ........................................................................................................ 20

3.4.3 3.3 V Power Sources ..................................................................................................... 21

3.4.4 1.8 V Power Sources ..................................................................................................... 21

3.4.5 Power Connectors .......................................................................................................... 21

3.4.6 USB Connectors ............................................................................................................. 22

3.4.7 Power Switches .............................................................................................................. 22

3.4.8 Power Supply Models .................................................................................................... 22

3.5 External Reference Voltage Connector .................................................................... 26

3.6 Battery Voltage (VBAT) Connector .............................................................................. 26

3.7 Ammeter Connector .................................................................................................... 26

3.8 Touch Key ..................................................................................................................... 27

3.9 Push Buttons ................................................................................................................ 27

3.10 LEDs ........................................................................................................................ 27

3.11 LCD Panel .............................................................................................................. 28

3.12 Nu-Link2-Me ........................................................................................................... 30

3.12.1 VCOM Switches.............................................................................................................. 30

4 QUICK START ............................................................................................... 31

4.1 Toolchains Supporting ................................................................................................ 31

4.2 Nuvoton Nu-Link Driver Installation .......................................................................... 31

4.3 BSP Firmware Download ........................................................................................... 33

4.4 Hardware Setup ........................................................................................................... 33

4.5 Find the Example Project ........................................................................................... 35

4.6 Execute the Project under Toolchains ...................................................................... 35

4.6.1 Keil MDK .......................................................................................................................... 35

NuMaker-M258KE

Jul. 9, 2021 Page 3 of 53 Rev 1.01

NU

MA

KE

R-M

258

KE

US

ER

MA

NU

AL

Maker N

u-m

bed

NU

C472 U

ser M

an

ual

4.6.2 IAR EWARM .................................................................................................................... 39

4.6.3 NuEclipse ......................................................................................................................... 41

5 NUMAKER-M258KE SCHEMATICS ............................................................. 47

5.1 Nu-Link2-Me ................................................................................................................. 47

5.2 M258 Target Board ...................................................................................................... 48

5.3 Extension Connector ................................................................................................... 49

5.4 Touch Key ..................................................................................................................... 50

5.5 PCB Placement ........................................................................................................... 51

6 REVISION HISTORY ..................................................................................... 52

NuMaker-M258KE

Jul. 9, 2021 Page 4 of 53 Rev 1.01

NU

MA

KE

R-M

258

KE

US

ER

MA

NU

AL

Maker N

u-m

bed

NU

C472 U

ser M

an

ual

List of Figures

Figure 1-1 NuMaker-M258KE Evaluation Board .............................................................................. 7

Figure 3-1 Front View of NuMaker-M258KE .................................................................................... 9

Figure 3-2 Rear View of NuMaker-M258KE .................................................................................. 10

Figure 3-3 M258KE3AE Extension Connectors ............................................................................. 11

Figure 3-4 Arduino UNO Compatible Extension Connectors ......................................................... 18

Figure 3-5 External Power Supply Sources on Nu-Link2-Me ........................................................ 22

Figure 3-6 External Power Supply Sources on M258 Target Board .............................................. 23

Figure 3-7 Detach the Nu-Link2-Me from NuMaker-M258KE ........................................................ 24

Figure 3-8 Wiring between Ammeter Connector and Ammeter ..................................................... 26

Figure 3-9 LCD Digit Mapping Table ............................................................................................. 28

Figure 4-1 Nu-Link USB Driver Installation Setup .......................................................................... 31

Figure 4-2 Nu-Link USB Driver Installation .................................................................................... 32

Figure 4-3 Open VCOM Function .................................................................................................. 33

Figure 4-4 ICE USB Connector ...................................................................................................... 33

Figure 4-5 Device Manger .............................................................................................................. 34

Figure 4-6 PuTTY Session Setting................................................................................................. 34

Figure 4-7 Template Project Folder Path ....................................................................................... 35

Figure 4-8 Warning Message of “Device not found” ...................................................................... 35

Figure 4-9 Project File Migrate to Version 5 Format ...................................................................... 36

Figure 4-10 Debugger Setting in Options Window......................................................................... 36

Figure 4-11 Programming Setting in Options Window ................................................................... 37

Figure 4-12 Compile and Download the Project ............................................................................ 37

Figure 4-13 Keil MDK Debug Mode ............................................................................................... 38

Figure 4-14 Debug Message on Serial Port Terminal Windows .................................................... 38

Figure 4-15 IAR EWARM Window ................................................................................................. 39

Figure 4-16 Compile and Download the Project ............................................................................ 39

Figure 4-17 IAR EWARM Debug Mode ......................................................................................... 40

Figure 4-18 Debug Message on Serial Port Terminal Windows .................................................... 40

Figure 4-19 Import the Project in NuEclipse .................................................................................. 41

Figure 4-20 Import Projects Windows ............................................................................................ 41

Figure 4-21 Open Project Properties Window ............................................................................... 42

Figure 4-22 Project Properties Settings ......................................................................................... 42

Figure 4-23 Build Project ................................................................................................................ 43

Figure 4-24 Open Debug Configuration ......................................................................................... 44

Figure 4-25 Main Tab Configuration .............................................................................................. 44

Figure 4-26 Debugger Tab Configuration ...................................................................................... 45

NuMaker-M258KE

Jul. 9, 2021 Page 5 of 53 Rev 1.01

NU

MA

KE

R-M

258

KE

US

ER

MA

NU

AL

Maker N

u-m

bed

NU

C472 U

ser M

an

ual

Figure 4-27 Startup Tab Configuration .......................................................................................... 45

Figure 4-28 NuEclipse Debug Mode .............................................................................................. 46

Figure 4-29 Debug Message on Serial Port Terminal Windows .................................................... 46

Figure 5-1 Nu-Link2-Me Circuit ...................................................................................................... 47

Figure 5-2 M258 Target Board Circuit ........................................................................................... 48

Figure 5-3 Extension Connectors Circuit ....................................................................................... 49

Figure 5-4 Front Placement ........................................................................................................... 50

Figure 5-4 Front Placement ........................................................................................................... 51

Figure 5-5 Rear Placement ............................................................................................................ 51

NuMaker-M258KE

Jul. 9, 2021 Page 6 of 53 Rev 1.01

NU

MA

KE

R-M

258

KE

US

ER

MA

NU

AL

Maker N

u-m

bed

NU

C472 U

ser M

an

ual

List of Tables

Table 3-1 Extension Connectors .................................................................................................... 11

Table 3-2 M258KE3AE Full-pin Extension Connectors and GPIO Function List .......................... 15

Table 3-3 NuMaker-TNLCDSub_M258K Extension Connectors and M258KE3AE Mapping GPIO List ........................................................................................................................................... 17

Table 3-4 Arduino UNO Extension Connectors and M258KE3AE Mapping GPIO List ................. 19

Table 3-5 Vin Power Source .......................................................................................................... 20

Table 3-6 5 V Power Sources ........................................................................................................ 20

Table 3-7 3.3 V Power Sources ..................................................................................................... 21

Table 3-8 1.8 V Power Sources ..................................................................................................... 21

Table 3-9 Power Connectors ......................................................................................................... 21

Table 3-10 USB Connectors .......................................................................................................... 22

Table 3-11 Power Switches ........................................................................................................... 22

Table 3-12 Supply External Power through Nu-Link2-Me ............................................................. 23

Table 3-13 Supply External Power for M258 Target Board ........................................................... 25

Table 3-14 External Reference Voltage Connector ....................................................................... 26

Table 3-15 Battery Voltage Connector ........................................................................................... 26

Table 3-16 Ammeter Connector ..................................................................................................... 26

Table 3-17 Touch Key .................................................................................................................... 27

Table 3-18 Push-Buttons ............................................................................................................... 27

Table 3-19 LEDs ............................................................................................................................ 27

Table 3-20 LCD Specifications ....................................................................................................... 28

Table 3-21 LCD Pin Mapping Table ............................................................................................... 29

Table 3-21 VCOM Function of Nu-Link2-Me .................................................................................. 30

Table 3-22 Operation Status LED Patterns ................................................................................... 30

NuMaker-M258KE

Jul. 9, 2021 Page 7 of 53 Rev 1.01

NU

MA

KE

R-M

258

KE

US

ER

MA

NU

AL

Maker N

u-m

bed

NU

C472 U

ser M

an

ual

1 OVERVIEW

The NuMaker-M258KE is an evaluation board for Nuvoton NuMicro M258xE, M256xE and M254xE microcontrollers with COM/SEG LCD driver, USB 2.0 full speed device and capacitive touch key sensing function. The NuMaker-M258KE consists of two parts: an M258KE target board and an on-board Nu-Link2-Me debugger and programmer. The NuMaker-M258KE is designed for project evaluation, prototype development and validation with power consumption monitoring function.

The M258KE target board is based on NuMicro M258KE3AE to evaluate the capacitive touch key sensing function on TK14 with message display on 8 x 40 HTN-LCD panel for Human Machine Interface application. For the development flexibility, the M258KE target board provides the extension connectors of M258KE3AE, the Arduino UNO compatible headers and the capability of adopting multiple power supplies. Furthermore, the Nuvoton-designed ammeter connector can measure the power consumption instantly, which is essential for the prototype evaluation.

In addition, there is an attached on-board debugger and programmer “Nu-Link2-Me”. The Nu-Link2-Me supports on-chip debugging, online and offline ICP programming via SWD interface. The Nu-Link2-Me supports virtual COM (VCOM) port for printing debug messages on PC. Besides, the programming status could be shown on the built-in LEDs. Lastly, the Nu-Link2-Me could be detached from the evaluation board and become a stand-alone mass production programmer.

Figure 1-1 NuMaker-M258KE Evaluation Board

NuMaker-M258KE

Jul. 9, 2021 Page 8 of 53 Rev 1.01

NU

MA

KE

R-M

258

KE

US

ER

MA

NU

AL

Maker N

u-m

bed

NU

C472 U

ser M

an

ual

2 FEATURES

NuMicro M258KE3AE microcontroller with function compatible with:

– M258KE3AE

– M258QE3AE

– M258SE3AE

– M256KE3AE

– M256QE3AE

– M256SE3AE

– M254KE3AE

– M254QE3AE

– M254SE3AE

M258KE3AE extension connectors

– HTN-LCD panel board can be plugged

Arduino UNO compatible extension connectors

Ammeter connector for measuring the microcontroller’s power consumption

Flexible board power supply:

– External VDD power connector

– Arduino UNO compatible extension connector Vin

– USB FS connector on M258 target board

– ICE USB connector on Nu-Link2-Me

Supports one touch key on board:

– Equipped with 1 touch key + reference pad + shielding electrode

– Touch development tool can set the hardware and software parameters automatically

Supports 8 x 40 COM/SEG HTN-LCD panel on NuMaker-TNLCDSub_M258K:

– 1/4 bias, 1/8 duty, 8 x 40 COM/SEG

On-board Nu-Link2-Me debugger and programmer:

– Debug through SWD interface

– Online/offline programming

– Virtual COM port function

NuMaker-M258KE

Jul. 9, 2021 Page 9 of 53 Rev 1.01

NU

MA

KE

R-M

258

KE

US

ER

MA

NU

AL

Maker N

u-m

bed

NU

C472 U

ser M

an

ual

3 HARDWARE CONFIGURATION

3.1 Front View

ICE USB Connector

VCOM Switch

Reset Button

ICE Status LEDOff-line Program Button

USB FS Connector

Power LED

PB14 LED

VDD Switch

M258KE3AE M258KE3AE Extension Connectors

Arduino UNO Compatible Extension Connectors

External VDD Connector

Nu-Link2-Me

Ammeter

ICE Chip: M48SSIDAE

External VSS Connector

M258 Target Board

External VREF Connector

TK Touch Key

TK Shileding

External VBAT Connector

Figure 3-1 Front View of NuMaker-M258KE

Figure 3-1 shows the main components and connectors from the front side of NuMaker-M258KE. The following lists components and connectors from the front view:

Target chip: M258KE3AE (U1)

USB FS Connector (J2)

Arduino UNO Compatible Extension Connectors (NU1, NU2, NU3, NU4)

M258 Extension Connectors (JP3, JP4, JP5 and JP6)

External VDD Power Connector (JP1)

External VSS Power Connector (JP2)

External VREF Connector (VREF1)

External VBAT Connector (VBAT)

VDD Switch (SW2)

Ammeter Connector (AMMETER)

Reset Button (SW1)

Power LED and PB14 LED (LEDG1 and LEDR1)

Nu-Link2-Me

– VCOM Switch

– ICE Chip: M48SSIDAE (ICEU2)

– ICE USB Connector (ICEJ3)

– ICE Status LED (ICES0, ICES1, ICES2, ICES3)

– Off-line Program Button (ICESW1)

NuMaker-M258KE

Jul. 9, 2021 Page 10 of 53 Rev 1.01

NU

MA

KE

R-M

258

KE

US

ER

MA

NU

AL

Maker N

u-m

bed

NU

C472 U

ser M

an

ual

3.2 Rear View

Figure 3-2 shows the main components and connectors from the rear side of NuMaker-M258KE.

The following lists components and connectors from the rear view:

Nu-Link2-Me

– MCUVCC Power Switch (ICEJPR1)

– ICEVCC Power Switch (ICEJPR2)

ICEVCC Power Switch

MCUVCC Power

Switch

Figure 3-2 Rear View of NuMaker-M258KE

NuMaker-M258KE

Jul. 9, 2021 Page 11 of 53 Rev 1.01

NU

MA

KE

R-M

258

KE

US

ER

MA

NU

AL

Maker N

u-m

bed

NU

C472 U

ser M

an

ual

3.3 Extension Connectors

Table 3-1 presents the extension connectors.

Connector Description

JP3, JP4, JP5 and JP6 Full pins extension connectors on the NuMaker-M258KE.

NU1, NU2, NU3 and NU4

Arduino UNO compatible pins on the NuMaker-M258KE.

Table 3-1 Extension Connectors

3.3.1 Pin Assignment for Extension Connectors

The NuMaker-M258KE provides the M258KE3AE onboard and extension connectors (JP3, JP4, JP5 and JP6). Figure 3-3 shows the M258KE3AE extension connectors.

JP3Pin1 ~ Pin32

JP6Pin97 ~ Pin128

JP5 Pin33 ~ Pin64

JP4 Pin65 ~ Pin96

Figure 3-3 M258KE3AE Extension Connectors

NuMaker-M258KE

Jul. 9, 2021 Page 12 of 53 Rev 1.01

NU

MA

KE

R-M

258

KE

US

ER

MA

NU

AL

Maker N

u-m

bed

NU

C472 U

ser M

an

ual

Header M258KE3AE

Pin No. Function

JP3

JP3.1 1 PB.5 / EADC0_CH5 / ACMP1_N / LCD_COM0 / I2C0_SCL / SC0_CLK / UART2_TXD / TM0 / INT0

JP3.2 2 PB.4 / EADC0_CH4 / ACMP1_P1 / LCD_COM1 / I2C0_SDA / SC0_DAT / UART2_RXD / TM1 / INT1

JP3.3 3 PB.3 / EADC0_CH3 / ACMP0_N / LCD_COM2 / UART1_TXD / SC0_RST / TM2 / INT2

JP3.4 4 PB.2 / EADC0_CH2 / ACMP0_P1 / LCD_COM3 / UART1_RXD / SC0_PWR / TM3 / INT3

JP3.5 5 PC.12 / UART0_TXD / I2C0_SCL / SC0_nCD / ACMP0_O

JP3.6 6 PC.11 / UART0_RXD / I2C0_SDA / ACMP1_O

JP3.7 7 PC.10 / LCD_SEG3

JP3.8 8 PC.9 / LCD_SEG2

JP3.9 9 PB.1 / EADC0_CH1 / LCD_SEG1 / UART2_TXD

JP3.10 10 PB.0 / EADC0_CH0 / LCD_SEG0 / UART2_RXD / SPI0_I2SMCLK

JP3.11 11 VSS

JP3.12 12 VDD

JP3.13 13 PA.11 / ACMP0_P0 / USCI0_CLK / BPWM0_CH0 / TM0_EXT

JP3.14 14 PA.10 / ACMP1_P0 / USCI0_DAT0 / BPWM0_CH1 / TM1_EXT

JP3.15 15 PA.9 / USCI0_DAT1 / UART1_TXD / BPWM0_CH2 / TM2_EXT

JP3.16 16 PA.8 / USCI0_CTL1 / UART1_RXD / BPWM0_CH3 / TM3_EXT / INT4

JP3.17 17 VLCD

JP3.18 18 PD.12 / UART2_RXD / BPWM0_CH5 / CLKO / EADC0_ST / INT5

JP3.19 19 PD.11 / UART1_TXD / LCD_SEG43 / LCD_COM4

JP3.20 20 PD.10 / UART1_RXD / LCD_SEG42 / LCD_COM5

JP3.21 21 NC

JP3.22 22 NC

JP3.23 23 NC

JP3.24 24 NC

JP3.25 25 NC

JP3.26 26 NC

JP3.27 27 NC

JP3.28 28 PF.7 / SC0_DAT / SPI0_MISO

JP3.29 29 PF.6 / SC0_CLK / SPI0_MOSI

JP3.30 30 VBAT

JP3.31 31 PF.5 / UART2_RXD / UART2_nCTS / BPWM0_CH4 / X32_IN / EADC0_ST

JP3.32 32 PF.4 / UART2_TXD / UART2_nRTS / BPWM0_CH5 / X32_OUT

JP5 JP5.1 33 NC

NuMaker-M258KE

Jul. 9, 2021 Page 13 of 53 Rev 1.01

NU

MA

KE

R-M

258

KE

US

ER

MA

NU

AL

Maker N

u-m

bed

NU

C472 U

ser M

an

ual

Header M258KE3AE

Pin No. Function

JP5.2 34 NC

JP5.3 35 NC

JP5.4 36 NC

JP5.5 37 PF.3 / UART0_TXD / I2C0_SCL / XT1_IN

JP5.6 38 PF.2 / UART0_RXD / I2C0_SDA / XT1_OUT

JP5.7 39 NC

JP5.8 40 NC

JP5.9 41 PE.8 / LCD_SEG20 / LCD_COM0 / UART2_TXD

JP5.10 42 PE.9 / LCD_SEG19 / LCD_COM1 / UART2_RXD

JP5.11 43 PE.10 / LCD_SEG18 / LCD_COM2

JP5.12 44 PE.11 / LCD_SEG17/LCD_COM3 / UART1_nCTS

JP5.13 45 PE.12 / UART1_nRTS

JP5.14 46 PE.13 / I2C0_SCL / LCD_SEG41 / LCD_COM6 / UART1_TXD

JP5.15 47 PC.8 / I2C0_SDA / LCD_SEG40 / LCD_COM7 / UART1_RXD

JP5.16 48 PC.7 / LCD_SEG39 / UART0_nCTS / TM0 / INT3

JP5.17 49 PC.6 / LCD_SEG38 / UART0_nRTS / TM1 / INT2

JP5.18 50 PA.7 / LCD_SEG37 / UART0_TXD / ACMP0_WLAT / TM2 / INT1

JP5.19 51 PA.6 / LCD_SEG36 / UART0_RXD / ACMP1_WLAT / TM3 / INT0

JP5.20 52 VSS

JP5.21 53 VDD

JP5.22 54 PD.15 / TK_TK0 / TM3 / INT1

JP5.23 55 PA.5 / TK_TK1 / UART0_nCTS / UART0_TXD / I2C0_SCL / BPWM0_CH5

JP5.24 56 PA.4 / SPI0_I2SMCLK / TK_TK2 / SC0_nCD / UART0_nRTS / UART0_RXD / I2C0_SDA / BPWM0_CH4

JP5.25 57 PA.3 / SPI0_SS / TK_TK3 / SC0_PWR / I2C0_SMBAL / UART1_TXD / BPWM0_CH3 / CLKO

JP5.26 58 PA.2 / SPI0_CLK / TK_TK4 / SC0_RST / I2C0_SMBSUS / UART1_RXD / BPWM0_CH2

JP5.27 59 PA.1 / SPI0_MISO / TK_TK5 / SC0_DAT / UART0_TXD / UART1_nCTS / BPWM0_CH1

JP5.28 60 PA.0 / SPI0_MOSI / TK_TK6 / SC0_CLK / UART0_RXD / UART1_nRTS / BPWM0_CH0

JP5.29 61 PF.15 / LCD_SEG35 / TK_TK7 / TM2 / CLKO / INT4

JP5.30 62 PE.14 / UART2_TXD / LCD_SEG34 / TK_TK8

JP5.31 63 PE.15 / UART2_RXD

JP5.32 64 nRESET

JP4

JP4.1 65 PF.0 / UART1_TXD / UART0_TXD / ICE_DAT

JP4.2 66 PF.1 / UART1_RXD / UART0_RXD / ICE_CLK

JP4.3 67 PD.9 / UART2_nCTS / LCD_SEG33

NuMaker-M258KE

Jul. 9, 2021 Page 14 of 53 Rev 1.01

NU

MA

KE

R-M

258

KE

US

ER

MA

NU

AL

Maker N

u-m

bed

NU

C472 U

ser M

an

ual

Header M258KE3AE

Pin No. Function

JP4.4 68 PD.8 / UART2_nRTS / LCD_SEG32

JP4.5 69 PC.5 / LCD_SEG31 / LCD_COM4 / TK_TK9 / UART2_TXD

JP4.6 70 PC.4 / LCD_SEG30 / LCD_COM5 / TK_TK10 / UART2_RXD

JP4.7 71 PC.3 / LCD_SEG29 / LCD_COM6 / TK_TK11 / UART2_nRTS / I2C0_SMBAL

JP4.8 72 PC.2 / LCD_SEG28 / LCD_COM7 / TK_TK12 / UART2_nCTS / I2C0_SMBSUS

JP4.9 73 PC.1 / LCD_SEG27 / LCD_COM2 / UART2_TXD / I2C0_SCL / ACMP0_O

JP4.10 74 PC.0 / LCD_SEG26 / LCD_COM3 / UART2_RXD / I2C0_SDA / ACMP1_O

JP4.11 75 VSS

JP4.12 76 VDD

JP4.13 77 NC

JP4.14 78 NC

JP4.15 79 NC

JP4.16 80 NC

JP4.17 81 NC

JP4.18 82 NC

JP4.19 83 NC

JP4.20 84 PD.7 / UART1_TXD / I2C0_SCL / TK_TK13

JP4.21 85 PD.6 / UART1_RXD / I2C0_SDA / TK_TK14

JP4.22 86 PD.5 / TK_TK15

JP4.23 87 PD.4 / USCI0_CTL0 / TK_TK16

JP4.24 88 PD.3 / USCI0_CTL1 / SPI0_SS / LCD_SEG25 / TK_TK13 / UART0_TXD

JP4.25 89 PD.2 / USCI0_DAT1 / SPI0_CLK / LCD_SEG24 / TK_TK14 / UART0_RXD

JP4.26 90 PD.1 / USCI0_DAT0 / SPI0_MISO / LCD_SEG23 / TK_TK15

JP4.27 91 PD.0 / USCI0_CLK / SPI0_MOSI / LCD_SEG22 / TK_TK16 / TM2

JP4.28 92 PD.13 / SPI0_I2SMCLK / LCD_SEG21

JP4.29 93 USB_VBUS

JP4.30 94 USB_D-

JP4.31 95 USB_D+

JP4.32 96 USB_VDD33_CAP

JP6

JP6.1 97 PE.7 / LCD_SEG16 / BPWM0_CH5

JP6.2 98 PE.6 / LCD_SEG15 / SC0_nCD / USCI0_CTL0 / BPWM0_CH4

JP6.3 99 PE.5 / SC0_PWR / USCI0_CTL1 / BPWM0_CH3

JP6.4 100 PE.4 / SC0_RST / USCI0_DAT1 / BPWM0_CH2

JP6.5 101 PE.3 / SC0_DAT / USCI0_DAT0 / BPWM0_CH1

JP6.6 102 PE.2 / SC0_CLK / USCI0_CLK / BPWM0_CH0

NuMaker-M258KE

Jul. 9, 2021 Page 15 of 53 Rev 1.01

NU

MA

KE

R-M

258

KE

US

ER

MA

NU

AL

Maker N

u-m

bed

NU

C472 U

ser M

an

ual

Header M258KE3AE

Pin No. Function

JP6.7 103 NC

JP6.8 104 NC

JP6.9 105 PE.1

JP6.10 106 PE.0

JP6.11 107 NC

JP6.12 108 NC

JP6.13 109 NC

JP6.14 110 NC

JP6.15 111 NC

JP6.16 112 VSS

JP6.17 113 LDO_CAP

JP6.18 114 VDD

JP6.19 115 PC.14 / SPI0_I2SMCLK / USCI0_CTL0 / LCD_SEG14 / LCD_COM0 / TM1

JP6.20 116 PB.15 / EADC0_CH15 / SPI0_SS / USCI0_CTL1 / UART0_nCTS / LCD_SEG13 / LCD_COM1 / TM0_EXT

JP6.21 117 PB.14 / EADC0_CH14 / SPI0_CLK / USCI0_DAT1 / UART0_nRTS / LCD_SEG12 / TM1_EXT / CLKO

JP6.22 118 PB.13 / EADC0_CH13 / ACMP0_P3 / ACMP1_P3 / SPI0_MISO / USCI0_DAT0 / UART0_TXD / LCD_SEG11 / TM2_EXT

JP6.23 119 PB.12 / EADC0_CH12 / ACMP0_P2 / ACMP1_P2 / SPI0_MOSI / USCI0_CLK / UART0_RXD / LCD_SEG10 / TM3_EXT

JP6.24 120 AVDD

JP6.25 121 VREF

JP6.26 122 AVSS

JP6.27 123 PB.11 / EADC0_CH11 / UART0_nCTS / LCD_SEG9 / SPI0_I2SMCLK

JP6.28 124 PB.10 / EADC0_CH10 / UART0_nRTS / LCD_SEG8

JP6.29 125 PB.9 / EADC0_CH9 / UART0_TXD / UART1_nCTS / LCD_SEG7

JP6.30 126 PB.8 / EADC0_CH8 / UART0_RXD / UART1_nRTS / LCD_SEG6

JP6.31 127 PB.7 / EADC0_CH7 / UART1_TXD / LCD_SEG5 / INT5 / ACMP0_O

JP6.32 128 PB.6 / EADC0_CH6 / UART1_RXD / LCD_SEG4 / INT4 / ACMP1_O

Table 3-2 M258KE3AE Full-pin Extension Connectors and GPIO Function List

NuMaker-M258KE

Jul. 9, 2021 Page 16 of 53 Rev 1.01

NU

MA

KE

R-M

258

KE

US

ER

MA

NU

AL

Maker N

u-m

bed

NU

C472 U

ser M

an

ual

3.3.2 NuMaker-TNLCDSub_M258K Compatible Extension Connectors

Table 3-3 shows the NuMaker-TNLCDSub_M258K compatible extension connectors.

Header NuMaker-M258KE NuMaker-TNLCDSub_M258K

Pin No. Function Function

JP3

JP3.1 1 LCD_COM0 LCD_COM0

JP3.2 2 LCD_COM1 LCD_COM1

JP3.3 3 LCD_COM2 LCD_COM2

JP3.4 4 LCD_COM3 LCD_COM3

JP3.7 7 LCD_SEG3 LCD_SEG3

JP3.8 8 LCD_SEG2 LCD_SEG2

JP3.9 9 LCD_SEG1 LCD_SEG1

JP3.10 10 LCD_SEG0 LCD_SEG0

JP3.19 19 LCD_SEG43 / LCD_COM4 LCD_COM4

JP3.20 20 LCD_SEG42 / LCD_COM5 LCD_COM5

JP5

JP5.9 41 LCD_SEG20 / LCD_COM0 LCD_SEG20

JP5.10 42 LCD_SEG19 / LCD_COM1 LCD_SEG19

JP5.11 43 LCD_SEG18 / LCD_COM2 LCD_SEG18

JP5.12 44 LCD_SEG17 / LCD_COM3 LCD_SEG17

JP5.14 46 LCD_SEG41 / LCD_COM6 LCD_COM6

JP5.15 47 LCD_SEG40 / LCD_COM7 LCD_COM7

JP5.16 48 LCD_SEG39 LCD_SEG39

JP5.17 49 LCD_SEG38 LCD_SEG38

JP5.18 50 LCD_SEG37 LCD_SEG37

JP5.19 51 LCD_SEG36 LCD_SEG36

JP5.29 61 LCD_SEG35 LCD_SEG35

JP5.20 62 LCD_SEG34 LCD_SEG34

JP4

JP4.3 67 LCD_SEG33 LCD_SEG33

JP4.4 68 LCD_SEG32 LCD_SEG32

JP4.5 69 LCD_SEG31 / LCD_COM4 LCD_SEG31

JP4.6 70 LCD_SEG30 / LCD_COM5 LCD_SEG30

JP4.7 71 LCD_SEG29 / LCD_COM6 LCD_SEG29

JP4.8 72 LCD_SEG28 / LCD_COM7 LCD_SEG28

JP4.9 73 LCD_SEG27 / LCD_COM2 LCD_SEG27

NuMaker-M258KE

Jul. 9, 2021 Page 17 of 53 Rev 1.01

NU

MA

KE

R-M

258

KE

US

ER

MA

NU

AL

Maker N

u-m

bed

NU

C472 U

ser M

an

ual

JP4.10 74 LCD_SEG26 / LCD_COM3 LCD_SEG26

JP4.24 88 LCD_SEG25 LCD_SEG25

JP4.25 89 LCD_SEG24 LCD_SEG24

JP4.26 90 LCD_SEG23 LCD_SEG23

JP4.27 91 LCD_SEG22 LCD_SEG22

JP4.28 92 LCD_SEG21 LCD_SEG21

JP6

JP6.1 97 LCD_SEG16 / LCD_COM0 LCD_SEG16

JP6.2 98 LCD_SEG15 / LCD_COM1 LCD_SEG15

JP6.19 115 LCD_SEG14 LCD_SEG14

JP6.20 116 LCD_SEG13 LCD_SEG13

JP6.21 117 LCD_SEG12 LCD_SEG12

JP6.22 118 LCD_SEG11 LCD_SEG11

JP6.23 119 LCD_SEG10 LCD_SEG10

JP6.27 123 LCD_SEG9 LCD_SEG9

JP6.28 124 LCD_SEG8 LCD_SEG8

JP6.29 125 LCD_SEG7 LCD_SEG7

JP6.30 126 LCD_SEG6 LCD_SEG6

JP6.31 127 LCD_SEG5 LCD_SEG5

JP6.32 128 LCD_SEG4 LCD_SEG4

Table 3-3 NuMaker-TNLCDSub_M258K Extension Connectors and M258KE3AE Mapping GPIO List

NuMaker-M258KE

Jul. 9, 2021 Page 18 of 53 Rev 1.01

NU

MA

KE

R-M

258

KE

US

ER

MA

NU

AL

Maker N

u-m

bed

NU

C472 U

ser M

an

ual

3.3.3 Arduino UNO Compatible Extension Connectors

Figure 3-4 shows the Arduino UNO compatible extension connectors.

MISO CLK RESET SS

PA.9 PA.11 nRESET PA.8

USCI0_DAT1 USCI0_CLK

5V MOSI GND -

VDD PA.10 VSS PB.15

USCI0_DAT0

BPWM0_CH5 PA.5 D8BPWM0_CH4 PA.4 D9

SPI0_SS BPWM0_CH3 PA.3 D10SPI0_MOSI BPWM0_CH0 PA.0 D11SPI0_MISO BPWM0_CH1 PA.1 D12

SPI0_CLK BPWM0_CH2 PA.2 D13

VSS VSS

VREF VREF

I2C0_SDA PC.0 SDA

I2C0_SCL PC.1 SCL

UART1_RXD PB.2 D0UART1_TXD PB.3 D1

PC.4 D2PC.5 D3PC.3 D4PC.2 D5

TM2 PA.7 D6TM3 PA.6 D7 VIN

VSSVSS5V3VRSTIOREF VDD

NC

A5 PB.1 ADC0_CH1 UART2_TXDA4 PB.0 ADC0_CH0 UART2_RXDA3 PB.4 ADC0_CH4A2 PB.5 ADC0_CH5A1 PB.6 ADC0_CH6A0 PB.7 ADC0_CH7

Figure 3-4 Arduino UNO Compatible Extension Connectors

NuMaker-M258KE

Jul. 9, 2021 Page 19 of 53 Rev 1.01

NU

MA

KE

R-M

258

KE

US

ER

MA

NU

AL

Maker N

u-m

bed

NU

C472 U

ser M

an

ual

Header

NuMaker-M258KE

Header

NuMaker-M258KE

Compatible to Arduino UNO

GPIO Pin of M258 Compatible to Arduino UNO

GPIO Pin of M258

NU3

NU3.1 D0 PB.2

NU2

NU2.6 A5 PB.1

NU3.2 D1 PB.3 NU2.5 A4 PB.0

NU3.3 D2 PC.4 NU2.4 A3 PB.4

NU3.4 D3 PC.5 NU2.3 A2 PB.5

NU3.5 D4 PC.3 NU2.2 A1 PB.6

NU3.6 D5 PC.2 NU2.1 A0 PB.7

NU3.7 D6 PA.7

NU1

NU1.8 VIN

-

NU3.8 D7 PA.6 NU1.7 VSS

NU4

NU4.1 D8 PA.5 NU1.6 VSS

NU4.2 D9 PA.4 NU1.5 5V

NU4.3 D10 PA.3 NU1.4 3V

NU4.4 D11 PA.0 NU1.3 RST nRESET

NU4.5 D12 PA.1 NU1.2 VDD VDD

NU4.6 D13 PA.2 NU1.1 NC -

NU4.7 VSS VSS

NU4.8 VREF VREF

NU4.9 SDA PC.0

NU4.10 SCL PC.1

Table 3-4 Arduino UNO Extension Connectors and M258KE3AE Mapping GPIO List

NuMaker-M258KE

Jul. 9, 2021 Page 20 of 53 Rev 1.01

NU

MA

KE

R-M

258

KE

US

ER

MA

NU

AL

Maker N

u-m

bed

NU

C472 U

ser M

an

ual

3.4 Power Supply Configuration

The NuMaker-M258KE is able to adopt multiple power supplies. External power sources include NU1 Vin (7 V to 12 V), VDD (depending on the target chip operating voltage), and PC through USB connector. By using switches and voltage regulator, multiple power domains can be created on the NuMaker-M258KE.

3.4.1 VIN Power Source

Table 3-5 presents the Vin power source.

Connector Net Name in Schematic

Description

NU1 pin8 NU1_VIN Board external power source, with voltage range from 7 V to 12 V. The voltage regulator UP2 converts the NU1 pin8 input voltage to 5 V and supplies it to NU1_5VCC.

Table 3-5 Vin Power Source

3.4.2 5 V Power Sources

Table 3-6 presents the 5 V power sources.

Connector Net Name in Schematic

Description

ICEJ3 USB_HS_VBUS ICE USB connector supplies 5 V power from PC to M258 target board and Nu-Link2-Me.

J2 USB_VBUS USB connector on NuMaker-M258KE supplies 5 V power from PC to M258 target board and Nu-Link2-Me.

NU1 pin5 NU1_5VCC ICEJ3, J2 or NU1 pin8 supplies 5 V power to NU1 pin5. NU1 pin5 supplies 5 V power to target chip or Arduino adapter board.

Table 3-6 5 V Power Sources

NuMaker-M258KE

Jul. 9, 2021 Page 21 of 53 Rev 1.01

NU

MA

KE

R-M

258

KE

US

ER

MA

NU

AL

Maker N

u-m

bed

NU

C472 U

ser M

an

ual

3.4.3 3.3 V Power Sources

Table 3-7 presents the 3.3 V power sources.

Voltage Regulator

5 V Source Description

ICEUP1 USB_HS_VBUS ICEUP1 converts USB_HS_VBUS to 3.3 V and supplies 3.3 V to M258 target board or ICE chip.

UP1 USB_VBUS

UP1 converts USB_VBUS to 3.3 V and supplies 3.3 V to M258 target board.

Note: SW2.2 (NU1 3VCC) should be switched to ON.

UP1 NU1_5VCC

UP1 converts NU1_5VCC to 3.3 V and supplies 3.3 V to M258 target board.

Note: SW2.2 (NU1 3VCC) should be switched to ON.

Table 3-7 3.3 V Power Sources

3.4.4 1.8 V Power Sources

Table 3-8 presents the 1.8 V power source.

Voltage Regular 5 V Source Description

ICEUP2 USB_HS_VBUS ICEUP2 converts USB_HS_VBUS to 1.8 V and supplies 1.8 V to M258 target board or ICE chip.

Table 3-8 1.8 V Power Sources

3.4.5 Power Connectors

Table 3-9 presents the power connectors.

Connector Description

JP1 VDD connector on the NuMaker-M258KE.

Note: M258 operating voltage range is from 1.8 V to 5.5 V.

JP2 VSS connector on the NuMaker-M258KE.

Table 3-9 Power Connectors

NuMaker-M258KE

Jul. 9, 2021 Page 22 of 53 Rev 1.01

NU

MA

KE

R-M

258

KE

US

ER

MA

NU

AL

Maker N

u-m

bed

NU

C472 U

ser M

an

ual

3.4.6 USB Connectors

Table 3-10 presents the USB connectors.

Connector Description

ICEJ3 ICE USB connector on Nu-Link2-Me for power supply, debugging and programming from PC.

J2 USB FS connector on NuMaker-M258KE for power supply.

Table 3-10 USB Connectors

3.4.7 Power Switches

Table 3-11 presents the power switches.

Switch Description

ICEJPR1 Configures the target chip operating voltage at 1.8 V / 3.3 V / 5 V.

ICEJPR2 Configures the ICE chip operating voltage at 1.8 V / 3.3 V.

SW2 Configures the target chip operating voltage at 3.3 V / 5 V.

Table 3-11 Power Switches

3.4.8 Power Supply Models

External Power Supply through Nu-Link2-Me to Target Chip

The external power supply source on Nu-Link2-Me is shown in Figure 3-5.

ICE USB Connector

(ICEJ3)

Nu-Link2-Me

Figure 3-5 External Power Supply Sources on Nu-Link2-Me

To use ICEJ3 as external power supply source with Nu-Link2-Me, please follow the steps below:

Solder the resistor on ICEJPR1 (MCUVCC) depending on the target chip operating voltage.

NuMaker-M258KE

Jul. 9, 2021 Page 23 of 53 Rev 1.01

NU

MA

KE

R-M

258

KE

US

ER

MA

NU

AL

Maker N

u-m

bed

NU

C472 U

ser M

an

ual

Solder the resistor on ICEJPR2 (ICEVCC) depending on the ICE chip operating voltage.

Switch the SW2 to OFF.

Connect the external power supply to ICEJ3.

Table 3-12 presents all power models when supplying external power through Nu-Link2-Me. The Nu-Link2-Me external power sources are highlighted in yellow.

Model Target Chip

Voltage ICEJ3

ICEJPR1 (MCUVCC) Selection [1]

ICEJPR2 (ICEVCC)

Selection [2]

ICE Chip

Voltage

SW2 Selection

J2 Vin JP1

1 1.8 V Connect

to PC 1.8 V 1.8 V 1.8 V Off - -

1.8 V output

2 3.3 V Connect

to PC 3.3 V (default)

3.3 V (default)

3.3 V Off - - 3.3 V output

3 5 V Connect

to PC 5 V

3.3 V (default)

3.3 V Off - - 5 V

output

Note:

1. 0 Ω should be soldered between ICEJPR1’s MCUVCC and 1.8 V / 3.3 V / 5 V.

2. 0 Ω should be soldered between ICEJPR2’s ICEVCC and 1.8 V / 3.3 V.

3. -: Unused.

Table 3-12 Supply External Power through Nu-Link2-Me

External Power Supply through M258 target board to Target Chip

The external power supply sources on M258 target board are shown in Figure 3-6.

USB Power Connector (J2)

NU1 pin8 (Vin)

External VDD Connector (JP1)

External VSS Connector (JP2)

Figure 3-6 External Power Supply Sources on M258 Target Board

To use Vin or J2 as external power supply source, please follow the steps below:

Switch the SW2 depending on the target chip operating voltage.

Remove the resistor on ICEJPR1 (MCUVCC).

Solder the resistor on ICEJPR2 (ICEVCC) depending on the ICE chip operating voltage.

Connect the external power supply to Vin or J2.

To use JP1 as external power supply source, please follow the steps below:

Switch the SW2 to OFF.

NuMaker-M258KE

Jul. 9, 2021 Page 24 of 53 Rev 1.01

NU

MA

KE

R-M

258

KE

US

ER

MA

NU

AL

Maker N

u-m

bed

NU

C472 U

ser M

an

ual

Remove the resistor on ICEJPR1 (MCUVCC).

Solder the resistor on ICEJPR2 (ICEVCC) depending on the ICE chip operating voltage.

Connect ICEJ3 to PC.

Connect the external power supply to JP1.

To use Vin or J2 as external power supply source with Nu-Link2-Me detached from NuMaker-M258KE, please follow the steps below:

Switch the SW2 depending on the target chip operating voltage.

Detach the Nu-Link2-Me from NuMaker-M258KE.

Connect the external power supply to Vin or J2.

To use JP1 as external power supply source with Nu-Link2-Me detached from NuMaker-M258KE, please follow the steps below:

Switch the SW2 to OFF.

Detach the Nu-Link2-Me from NuMaker-M258KE.

Connect the external power supply to JP1.

Detach Nu-Link2-Me

"

"

USB Power Connector (J2)

NU1 pin8 (Vin)

External VDD Connector (JP1)

External VSS Connector (JP2)

Figure 3-7 Detach the Nu-Link2-Me from NuMaker-M258KE

NuMaker-M258KE

Jul. 9, 2021 Page 25 of 53 Rev 1.01

NU

MA

KE

R-M

258

KE

US

ER

MA

NU

AL

Maker N

u-m

bed

NU

C472 U

ser M

an

ual

Table 3-13 presents all power models when supplies external power through M258 target board. The M258 target board external power sources are highlighted in yellow.

Model Target Chip

Voltage Vin [1] J2[1] ICEJ3

SW2 Selection

JP1[2] ICEJPR1

(MCUVCC) Selection [3]

ICEJPR2 (ICEVCC)

Selection [4]

ICE Chip Voltage [5]

4 3.3 V 7 V ~ 12 V

Input - -

NU1 3VCC

3.3 V output Remove resistor

3.3 V 3.3 V

5 3.3 V - Connect

to PC - NU1

3VCC 3.3 V output

Remove resistor

3.3 V 3.3 V

6 5 V 7 V ~ 12 V

Input - -

NU1 5VCC

5 V output Remove resistor

3.3 V 3.3 V

7 5 V - Connect

to PC - NU1

5VCC 5 V output

Remove resistor

3.3 V 3.3 V

8 1.8 V ~ 5.5 V - - Connect to

PC OFF DC Input

1.8 V ~ 5.5 V Remove resistor

1.8 V / 3.3 V 1.8 V / 3.3 V

9 1.8 V ~ 5.5 V - - Nu-Link2-Me

removed OFF DC Input

1.8 V ~ 5.5 V - - -

Note:

1. The Vin input voltage will be converted by voltage regulator UP2 to 5 V. Supplying external power to Vin or J2 can provide 5 V to NU1 pin5 (5V) and 3.3 V to NU1 pin4 (3VCC).

2. JP1 external power input only provides voltage to target chip.

3. 0 Ω should be removed from ICEJPR1’s MCUVCC and 1.8 V / 3.3 V / 5 V.

4. 0 Ω should be soldered between ICEJPR2’s ICEVCC and 1.8 V / 3.3 V.

5. The ICE chip voltage should be close to the target chip voltage.

6. -: Unused

Table 3-13 Supply External Power for M258 Target Board

NuMaker-M258KE

Jul. 9, 2021 Page 26 of 53 Rev 1.01

NU

MA

KE

R-M

258

KE

US

ER

MA

NU

AL

Maker N

u-m

bed

NU

C472 U

ser M

an

ual

3.5 External Reference Voltage Connector

Table 3-14 presents the external reference voltage connector.

Connector Description

VREF1 Connector for user to connect to the external reference voltage pin of the target chip. User needs to remove the L5 ferrite bead.

Table 3-14 External Reference Voltage Connector

3.6 Battery Voltage (VBAT) Connector

Table 3-15 presents the external reference voltage connector.

Connector Description

VBAT

Connector for user to easily connect to the VBAT pin of the target chip as power source of PF.4 ~ PF.6, RTC and LXT. User needs to remove the R17 resistor.

Table 3-15 Battery Voltage Connector

3.7 Ammeter Connector

Table 3-16 presents the ammeter connector.

Connector Description

AMMETER Connector for user to measure the target chip power consumption easily. User needs to remove the R16 resistor.

Table 3-16 Ammeter Connector

Remove the R16 Resistor

Figure 3-8 Wiring between Ammeter Connector and Ammeter

NuMaker-M258KE

Jul. 9, 2021 Page 27 of 53 Rev 1.01

NU

MA

KE

R-M

258

KE

US

ER

MA

NU

AL

Maker N

u-m

bed

NU

C472 U

ser M

an

ual

3.8 Touch Key

Table 3-17 presents the touch key, shielding electrode and reference pad.

Connector Description

TK14 Touch key.

TK15 Shielding electrode.

TK13 Reference pad.

Table 3-17 Touch Key

3.9 Push Buttons

Table 3-18 presents the push buttons.

Component Description

ICESW1 Offline program button to start offline ICP programming the target chip.

SW1 Reset button to reset the target chip.

Table 3-18 Push-Buttons

3.10 LEDs

Table 3-19 presents the LEDs.

Component Description

Power LED The power LED indicates that the NuMaker-M258KE is powered.

PB14 LED The LED is connected to the target chip PB.14.

ICES0, ICES1, ICES2 and ICES3

Nu-Link2-Me status LED.

Table 3-19 LEDs

NuMaker-M258KE

Jul. 9, 2021 Page 28 of 53 Rev 1.01

NU

MA

KE

R-M

258

KE

US

ER

MA

NU

AL

Maker N

u-m

bed

NU

C472 U

ser M

an

ual

3.11 LCD Panel

The LCD panel on the NuMaker-M258KE supports 8 x 40 COM/SEG and can be used to show many information such as time, battery status, temperature, and humidity. The part number of LCD panel is RHE6616TP01 made by TRICOMTEK. Figure 3-9 shows the LCD digit segment mapping table. Table 3-21 shows pin map for the LCD.

Figure 3-9 LCD Digit Mapping Table

Table 3-20 presents LCD specifications.

Parameter Specifications

Drive Condition 1/8 Duty, 1/4 Bias, 8 x40 COM/SEG

View Direction 12 o’clock

Operation Voltage 4.8 V

Dimension 100 ± 0.2 mm x 64 ± 0.2 mm

Connectors Pin

Table 3-20 LCD Specifications

PIN 1 2 3 4 6 7 8 9 10 11 12

COM1 1B 1A 1G 1F 24C 25D 25C 26D 26C T7 S1

COM2 1I 1H 1J T12 24G 25E 25G 26E 26G T6 S6

COM3 1K 1N 1M 1E 24B 25F 25B 26F 26B T4 S11

COM4 1C 1D 1L T13 T10 25A T11 26A Y3 T5 S16

COM5 T32 T29 8D 8C 9C 10D 10C 11D 11C T1 S21

COM6 T35 T33 8E 8G 9G 10E 10G 11E 11G T2 S26

NuMaker-M258KE

Jul. 9, 2021 Page 29 of 53 Rev 1.01

NU

MA

KE

R-M

258

KE

US

ER

MA

NU

AL

Maker N

u-m

bed

NU

C472 U

ser M

an

ual

COM7 T34 T30 8F 8B 9B 10F 10B 11F 11B T3 S31

COM8 T31 - 8A T8 T9 10A 10A 11A - - S36

PIN 13 14 15 17 18 19 20 21 22 23 24

COM1 S2 S3 S4 COM1 - - - - - - -

COM2 S7 S8 S9 - COM2 - - - - - -

COM3 S12 S13 S14 - - COM3 - - - - -

COM4 S17 S18 S19 - - - COM4 - - - -

COM5 S22 S23 S24 - - - - COM5 - - -

COM6 S27 S28 S29 - - - - - COM6 - -

COM7 S32 S33 S34 - - - - - - COM7 -

COM8 S37 S38 S39 - - - - - - - COM8

PIN 25 26 28 29 30 31 32 33 34 35 36

COM1 2F 2G 2B 3F 3G 3A 3B 4F 4G 4A 4B

COM2 T14 2J 2I T16 3J 3H 3I T18 4J 4H 4I

COM3 2E 2M 2K 3E 3M 3N 3K 4E 4M 4N 4K

COM4 T15 2L 2C T17 3L 3D 3C T19 4L 4D 4C

COM5 12A - - 14A Y1 15A Y2 16A T37 17A T38

COM6 12F 12B 13B 14F 14B 15F 15B 16F 16B 17F 17B

COM7 12E 12G 13G 14E 14G 15E 15G 16E 16G 17E 17G

COM8 12D 12C 13C 14D 14C 15D 15C 16D 16C 17D 17C

PIN 37 39 40 41 42 43 44 45 46 47 48

COM1 5F 5A 5B 6F 6G 6A 6B 7F 7G 7A 7B

COM2 T20 5H 5I T22 6J 6H 6I T24 7J 7H 7I

COM3 5E 5N 5K 6E 6M 6N 6K 7E 7M 7N 7K

COM4 T21 5D 5C T23 6L 6D 6C T25 7L 7D 7C

COM5 18A 19A T41 20A T40 21A T28 22A T27 23A T26

COM6 18F 19F 19B 20F 20B 21F 21B 22F 22B 23F 23B

COM7 18E 19E 19G 20E 20G 21E 21G 22E 22G 23E 23G

COM8 18D 19D 19C 20D 20C 21D 21C 22D 22C 23D 23C

Table 3-21 LCD Pin Mapping Table

NuMaker-M258KE

Jul. 9, 2021 Page 30 of 53 Rev 1.01

NU

MA

KE

R-M

258

KE

US

ER

MA

NU

AL

Maker N

u-m

bed

NU

C472 U

ser M

an

ual

3.12 Nu-Link2-Me

The Nu-Link2-Me is an attached on-board debugger and programmer. The Nu-Link2-Me supports on-chip debugging, online and offline ICP programming through SWD interface. The Nu-Link2-Me also supports virtual COM port (VCOM) for printing debug messages on PC. Besides, the programming status could be shown on the built-in LEDs. Lastly, the Nu-Link2-Me could be detached from the evaluation board and becoming a stand-alone mass production programmer. For more information about Nu-Link2-Me, please refer to Nu-Link2-Pro Debugger and Programmer User Manual.

3.12.1 VCOM Switches

Table 3-22 presents how to set the VCOM function by ICESW2.

ICESW2

Pin Function Description

1 TXD On: Connect target chip PB.13 (UART0_TXD) to Nu-Link2-Me.

Off: Disconnect target chip PB.13 (UART0_TXD) to Nu-Link2-Me.

2 RXD On: Connect target chip PB.12 (UART0_RXD) to Nu-Link2-Me.

Off: Disconnect target chip PB.12 (UART0_RXD) to Nu-Link2-Me.

Note: Pin 3 and 4 is unused.

Table 3-22 VCOM Function of Nu-Link2-Me

Status LEDs

Table 3-19 presents the status LEDs patterns for different operation on Nu-Link2-Me.

Operation Status Status LED

ICES0 ICES1 ICES2 ICES3

Boot Flash x 3 Flash x 3 Flash x 3 Flash x 3

Idle On - - -

One Nu-Link2-Me is selected to connect Flash x 3 Flash x 3 Flash x 3 On

ICE online (Not connected to a target chip) On - Flash x 3 Flash x 3

ICE online (Connected to a target chip) On - - On

ICE online (Failed to connect to a target chip) On Any Flash On

During offline programming - On - Flash

Offline programming completed On - - -

Offline programming completed (Auto mode) On On - -

Offline programming failed On Flash - -

Note: “Online” means Nu-Link2-Me is connected to ICP Programming Tool, IDE or NuTool.

Table 3-23 Operation Status LED Patterns

NuMaker-M258KE

Jul. 9, 2021 Page 31 of 53 Rev 1.01

NU

MA

KE

R-M

258

KE

US

ER

MA

NU

AL

Maker N

u-m

bed

NU

C472 U

ser M

an

ual

4 QUICK START

4.1 Toolchains Supporting

Install the preferred toolchain. Please make sure at least one of the toolchains has been installed.

KEIL MDK Nuvoton edition M0/M23

IAR EWARM

NuEclipse GCC (for Windows)

NuEclipse GCC (for Linux)

4.2 Nuvoton Nu-Link Driver Installation

Download and install the latest Nuvoton Nu-Link Driver.

Download and install Nu-Link_Keil_Driver when using Keil MDK.

Download and install Nu-Link_IAR_Driver when using IAR EWARM.

Skip this step when using NuEclipse.

Please install the Nu-Link USB Driver as well at the end of the installation. The installation is presented in Figure 4-1 and Figure 4-2.

Figure 4-1 Nu-Link USB Driver Installation Setup

NuMaker-M258KE

Jul. 9, 2021 Page 32 of 53 Rev 1.01

NU

MA

KE

R-M

258

KE

US

ER

MA

NU

AL

Maker N

u-m

bed

NU

C472 U

ser M

an

ual

Figure 4-2 Nu-Link USB Driver Installation

NuMaker-M258KE

Jul. 9, 2021 Page 33 of 53 Rev 1.01

NU

MA

KE

R-M

258

KE

US

ER

MA

NU

AL

Maker N

u-m

bed

NU

C472 U

ser M

an

ual

4.3 BSP Firmware Download

Download and unzip the Board Support Package (BSP).

4.4 Hardware Setup

Open the virtual COM (VCOM) function by changing Nu-Link2-Me VCOM Switch No. 1 and 2 to ON.

Figure 4-3 Open VCOM Function

Connect the ICE USB connector shown in Figure 4-4 to the PC USB port through a USB cable.

Figure 4-4 ICE USB Connector

NuMaker-M258KE

Jul. 9, 2021 Page 34 of 53 Rev 1.01

NU

MA

KE

R-M

258

KE

US

ER

MA

NU

AL

Maker N

u-m

bed

NU

C472 U

ser M

an

ual

Find the “Nuvoton Virtual COM Port” on the Device Manger as Figure 4-5.

Figure 4-5 Device Manger

Open a serial port terminal, PuTTY for example, to print out debug message. Set the speed to 115200. Figure 4-6 presents the PuTTY session setting.

Figure 4-6 PuTTY Session Setting

NuMaker-M258KE

Jul. 9, 2021 Page 35 of 53 Rev 1.01

NU

MA

KE

R-M

258

KE

US

ER

MA

NU

AL

Maker N

u-m

bed

NU

C472 U

ser M

an

ual

4.5 Find the Example Project

Use the “Template” project as an example. The project can be found under the BSP folder as shown in

Figure 4-7.

M258_Series_BSP_CMSIS_V3.XX.XXX

SampleCode

Template

GCC

Keil

IAR

Figure 4-7 Template Project Folder Path

4.6 Execute the Project under Toolchains

Open and execute the project under the toolchain. The section 4.6.1, 4.6.2, and 4.6.3 describe the steps of executing project in Keil MDK, IAR EWARM and NuEclipse, respectively.

4.6.1 Keil MDK

This section provides steps to beginners on how to run a project by using Keil MDK.

Double-click the “Template.uvproj” to open the project.

Figure 4-8 Warning Message of “Device not found”

Note: If Figure 4-8 warning message jumps out, please migrate to version 5 format as shown in Figure 4-9. The “.uvproj” filename extension will change to “.uvprojx”.

NuMaker-M258KE

Jul. 9, 2021 Page 36 of 53 Rev 1.01

NU

MA

KE

R-M

258

KE

US

ER

MA

NU

AL

Maker N

u-m

bed

NU

C472 U

ser M

an

ual

1

2

3

Figure 4-9 Project File Migrate to Version 5 Format

Make sure the debugger is “Nuvoton Nu-Link Debugger” as shown in Figure 4-10 and Figure 4-11.

2

1

Figure 4-10 Debugger Setting in Options Window

Note: If the dropdown menu in Figure 4-10 does not contain “Nuvoton Nu-Link Debugger” item, please rework section 4.2.

NuMaker-M258KE

Jul. 9, 2021 Page 37 of 53 Rev 1.01

NU

MA

KE

R-M

258

KE

US

ER

MA

NU

AL

Maker N

u-m

bed

NU

C472 U

ser M

an

ual

3

4

5

Figure 4-11 Programming Setting in Options Window

Rebuild all target files. After successfully compiling the project, download code to the Flash memory. Click “Start/Stop Debug Section” button to enter debug mode.

1 3

2

4

1. Rebuild

3. Download

4. Start/Stop Debug

2. Successfully compile

Figure 4-12 Compile and Download the Project

NuMaker-M258KE

Jul. 9, 2021 Page 38 of 53 Rev 1.01

NU

MA

KE

R-M

258

KE

US

ER

MA

NU

AL

Maker N

u-m

bed

NU

C472 U

ser M

an

ual

Figure 4-13 shows the debug mode under Keil MDK. Click “Run” and the debug message will be printed out as shown in Figure 4-14. User can debug the project under debug mode by checking source code, assembly language, peripherals’ registers, and setting breakpoint, step run, value monitor, etc.

2. Stop

3 1 21. Run

3. Reset

Figure 4-13 Keil MDK Debug Mode

Figure 4-14 Debug Message on Serial Port Terminal Windows

NuMaker-M258KE

Jul. 9, 2021 Page 39 of 53 Rev 1.01

NU

MA

KE

R-M

258

KE

US

ER

MA

NU

AL

Maker N

u-m

bed

NU

C472 U

ser M

an

ual

4.6.2 IAR EWARM

This section provides steps to beginners on how to run a project by using IAR EWARM.

Double click the “Template.eww” to open the project.

Make sure the toolbar contains “Nu-Link” item as shown in Figure 4-15.

Note: If the toolbar does not contain “Nu-Link” item, please rework section 4.2.

Figure 4-15 IAR EWARM Window

Make a target file as presented in Figure 4-16. After successfully compiling the project, download code to the Flash memory and enter debug mode.

1 3

2

1. Make

3. Download and Debug

2. Successfully compile

Figure 4-16 Compile and Download the Project

NuMaker-M258KE

Jul. 9, 2021 Page 40 of 53 Rev 1.01

NU

MA

KE

R-M

258

KE

US

ER

MA

NU

AL

Maker N

u-m

bed

NU

C472 U

ser M

an

ual

Figure 4-17 shows the debug mode under IAR EWARN. Click “Go” and the debug message will be printed out as shown in Figure 4-18. User can debug the project under debug mode by checking source code, assembly language, peripherals’ registers, and setting breakpoint, step run, value monitor, etc.

1 2 3

1. Go

3. Reset

2. Break

Figure 4-17 IAR EWARM Debug Mode

Figure 4-18 Debug Message on Serial Port Terminal Windows

NuMaker-M258KE

Jul. 9, 2021 Page 41 of 53 Rev 1.01

NU

MA

KE

R-M

258

KE

US

ER

MA

NU

AL

Maker N

u-m

bed

NU

C472 U

ser M

an

ual

4.6.3 NuEclipse

This section provides steps to beginners on how to run a project by using NuEclipse. Please make sure the filenames and project folder path contain neither invalid character nor space.

Double-click “NuEclipse.exe" to open the toolchain.

Import the “Template” project by following the steps presented in Figure 4-19 and Figure 4-20.

1

2

3

4

Figure 4-19 Import the Project in NuEclipse

7

6

5 M251_Series_BSP_CMSIS_V3.XX.XXX\SampleCode\Template

M251_Series_BSP_CMSIS_V3.XX.XXX\SampleCode\Template\GCC)

7

Figure 4-20 Import Projects Windows

NuMaker-M258KE

Jul. 9, 2021 Page 42 of 53 Rev 1.01

NU

MA

KE

R-M

258

KE

US

ER

MA

NU

AL

Maker N

u-m

bed

NU

C472 U

ser M

an

ual

Click the “Template” project and find the project properties as shown in Figure 4-21. Make sure the settings are the same as settings in Figure 4-22.

1

2

3

Figure 4-21 Open Project Properties Window

12

3

Figure 4-22 Project Properties Settings

NuMaker-M258KE

Jul. 9, 2021 Page 43 of 53 Rev 1.01

NU

MA

KE

R-M

258

KE

US

ER

MA

NU

AL

Maker N

u-m

bed

NU

C472 U

ser M

an

ual

Click the “Template” project and build the project.

1

2

3

Figure 4-23 Build Project

After the project is built, click the “Template” project and set the “Debug Configuration” as shown in Figure 4-24. Follow the settings presented in Figure 4-25, Figure 4-26 and Figure 4-27 to enter debug mode.

1

3

2

NuMaker-M258KE

Jul. 9, 2021 Page 44 of 53 Rev 1.01

NU

MA

KE

R-M

258

KE

US

ER

MA

NU

AL

Maker N

u-m

bed

NU

C472 U

ser M

an

ual

Figure 4-24 Open Debug Configuration

4 [1] 5

[2]

Note 1: Double-click the “GDB Nuvoton Nu-Link Debugging” to create the sub item.

Note 2: After the project is built, the “*.elf” file will be shown in “C/C++ Application” frame.

Figure 4-25 Main Tab Configuration

6

7

NuMaker-M258KE

Jul. 9, 2021 Page 45 of 53 Rev 1.01

NU

MA

KE

R-M

258

KE

US

ER

MA

NU

AL

Maker N

u-m

bed

NU

C472 U

ser M

an

ual

Figure 4-26 Debugger Tab Configuration

8

10

11

9[1]

Note: User must follow those settings highlighted in green, and configure other settings depending on the needs.

Figure 4-27 Startup Tab Configuration

NuMaker-M258KE

Jul. 9, 2021 Page 46 of 53 Rev 1.01

NU

MA

KE

R-M

258

KE

US

ER

MA

NU

AL

Maker N

u-m

bed

NU

C472 U

ser M

an

ual

Figure 4-28 shows the debug mode under NuEclipse. Click “Resume” and the debug message will be printed out as shown in Figure 4-29. User can debug the project under debug mode by checking source code, assembly language, peripherals’ registers, and setting breakpoint, step run, value monitor, etc. For more information about how to use NuEclipse, please refer to the NuEclipse User Manual.

1. Resume

1 2 4 3

3. Restart the debugging session

2. Suspend

4. Terminate

Figure 4-28 NuEclipse Debug Mode

Figure 4-29 Debug Message on Serial Port Terminal Windows

NuMaker-M258KE

Jul. 9, 2021 Page 47 of 53 Rev 1.01

NU

MA

KE

R-M

258

KE

US

ER

MA

NU

AL

Maker N

u-m

bed

NU

C472 U

ser M

an

ual

5 NUMAKER-M258KE SCHEMATICS

5.1 Nu-Link2-Me

Figure 5-1 shows the Nu-Link2-Me circuit.

Figure 5-1 Nu-Link2-Me Circuit

GND

GREENRED

ICEU1

<M48SSIDAE>

PB

.61

PB

.52

PB

.43

PB

.34

PB

.25

PB

.16

PB

.07

PA

.11

8

PA

.10

9

PA

.910

PA

.811

PF

.612

VB

AT

13

PF

.514

PF

.415

PF

.316

PF.217PC.718PC.619PA.720PA.621VSS22VDD23LDO_CAP24PA.525PA.426PA.327PA.228PA.129PA.030VDDIO31nRESET32

PF

.033

PF

.134

PC

.535

PC

.436

PC

.337

PC

.238

PC

.139

PC

.040

HS

US

B_V

RE

S41

HS

US

B_V

DD

33

42

HS

US

B_V

BU

S43

HS

US

B_D

-44

HS

US

B_V

SS

45

HS

US

B_D

+46

HS

US

B_V

DD

12_C

AP

47

HS

US

B_ID

48

VSS49

LDO_CAP50

VDD51

PC.1452

PB.1553

PB.1454

PB.1355

PB.1256

AVDD57

VREF58

AVSS59

PB.1160

PB.1061

PB.962

PB.863

PB.764

SW

DH

_C

LK

NU

LIN

K_ID

0N

ULIN

K_ID

1

SW

DH

_D

AT

SW

DH

_R

ST

#IC

EV

DD

ICE

LE

D

ICEVDDICE_RST

HX

T_I

HXT_O

ICEC6

1u

C0603

SWO

KEY1ISPLED

US

B_H

S_R

EX

T

US

B_H

S_C

AP

US

B_H

S_V

BU

S

ICEVDDGND

USB_HS_CAP

US

B_H

S_D

-

US

B_H

S_D

+G

ND

ICEC2

1u

C0603

SP

IM_C

S

SP

IM_M

ISO

0

SP

IM_D

3

ICE

_C

LK

ICE

_D

AT

ICEVDD

GND

SP

IM_D

2

SP

IM_C

LK

SP

IM_M

OS

I0

ICED30.1u

C0603

USB_HS_VBUS

RESETDEBUG

ICER310KR0603

ICEVDD

ICEC9

1uC0603

ICE_RST

ICE_RSTICE_CLKICE_DAT

ICEVDD

ICE_DAT

ICEJ1

HEADER_5(NC)

12345

ICE_CLK

ICER210K

R0603

ICEVDD

ICER410K

R0603

ETMD1

ETMCK_MOSIETMD0_MISO

ETMD3_SSETMD2_CK

ICE_RX

ICESW2

SMD HPS604-E

ICE_RX_S

VCOM SWITCH

ICE_TX_S ICE_TX

ETMD3_SSETMD2_CKETMD0_MISOETMCK_MOSI

NULINK_ID0

NULINK ID

Nu-Trace, ID0 = 1, ID1 = 1

Nu-Link2, ID0 = 0, ID1 = 1Nu-LInk2-Me, ID0 = 0, ID1 = 0

NULINK_ID1

SWDH_DAT

SWDH_RST#SWDH_CLK

TICERST

TICEDAT

GND

MCU_TXMCU_RX

MCUVCC_DIODE

TICECLK

ICE_RX_SICE_TX_S

1 2

ICED4

SS24A

MCUVCC

ICER1200 1%

R0603

HS

US

B_V

DD

33

HXT_O

ICEC11 20p

C0603

ICEC10 20p

C0603

HXT_I

12M Crystal

ICEX1

12MHz SMD X3225B1

XIN

2

GND

4GND

3XOUT

3.3VICEU2

W25Q16JVSSIQ

SOP8\5.23/1.27MM

CS#1

DO2

WP#3

GND4

DI5CLK6HOLD#7VCC8

SPIM_MISO0

SPI FLASH

3.3V

ICEC12

0.1u

C0603

SN74LV2T45DCUR

ICEU4

SOP8/3.1/0.5

GND4 A23

VCCA1

DIR5

A12

B26B17VCCB8

SN74LV2T45DCUR

ICEU3

SOP8/3.1/0.5

GND4 A23

VCCA1

DIR5

A12

B26B17VCCB8

SPIM_CLK_LV

3.3V ICEVDD

SPIM_CS

SPIM_CS_LV

SPIM_MOSI0_LV

SPIM_MOSI0SPIM_CLKSPIM_CS_LV

3.3V ICEVDD

SPIM_MOSI0_LVSPIM_CLK_LV

ICER1810KR0603

ICER1910KR0603

3.3V3.3V

ICE INTERFACE

ICEJ4

HEADER 2.54 5X2 (NC)

1 23 45 67 89 10

Tit le

SizeFile Nam e :

Rev

Dat e: Sheet of

Aut hor :

Nu-Link2-Me 1.0

Nu-Link2-Me

CMHuangA3

1 4Monday, August 31, 2020

SWDH_CLKSWDH_DAT

SWDH_RST#

ICE_RX_S

SWO

ICE_TX_S

ICEC1

0.1u

C0603

ICEC7

4.7u

C0603

ICEC8470p

C0603

ICEVDD

MSG_EN

MS

G_E

N

ETMD3_SS I2C1_SCL QSPI_SS BUSY

5V

ETMD0_MISO UART0_TX QSPI_MISOFAILICE_TX

ETMCK_MOSI UART0_RX QSPI_MOSIPASSICE_RX

ETMD2_CK I2C1_SDA QSPI_CLK START

USB_HS_VBUS ICEJ3

micro USB 5pin

MICRO_USB_AB

VBUS1

D-2

D+3

GND5

ID4

Shield6

Shield7

Shield8

Shield9

Shield10

Shield11

ICEL2

FERRITE BEAD

L0603

DP

DM

ICER70

ICER60

USB_HS_D+

USB_HS_D-

USB 2.0 HIGH SPEED DEVICES

ICELED

RED

ISPLED

1 2

ICES3

0805 LED GKP-2012 GREEN

ICEJ2

HEADER04(NC)

1234

ICERP1

8P4R-330

8P4RA

1 23 45 67 8

DMDP

1 2

ICES2

0805 LED RKP-2012

USB_HS_VBUS

ICEVDD

1 2

ICES1

0805 LED YKP-2012

1 2

ICES0

0805 LED RKP-2012

LED

KEY

ICEVDD

KEY1

ICER510KR0603ICESW1

3x6x5 2PIN SMD

SW-2P-SMD

MCUVCC_DIODE

MCUVCC_DIODE

3.3V

ICE5V

ICE5V

ICEVDD

ICE5V

5V

Power Switch

USB_HS_VBUS

1 2ICED1

SS24A

ICEUP1AMS1117_3.3v

IN3

GN

D1

OU

T2

OU

T4

ICEUP2ACE1117_ADJ

IN3

AD

J1

OU

T2

OU

T4

ICER8120,1%R0603

ICER982, 1%

R0603

ICEJPR2

1&2 (0 ohm)

123

ICEVCC

3.3V

1.8VICECT110uF/10VTANT-A

12 3.3V3.3V

MCUVCC

1.8V

ICEJPR1

1&2 (0 ohm)

1234

ICECT310uF/10V

12

1.8V

ICEC5

0.1u

C0603

ICEVDDICEVCC

ICECT210uF/10VTANT-A

12

ICEL1

FERRITE BEAD

O f f - page Connect or

ICEC3

1u

C0603

ICEC4

0.1u

C0603

NuMaker-M258KE

Jul. 9, 2021 Page 48 of 53 Rev 1.01

NU

MA

KE

R-M

258

KE

US

ER

MA

NU

AL

Maker N

u-m

bed

NU

C472 U

ser M

an

ual

5.2 M258 Target Board

Figure 5-2 shows the M258 target board circuit.

Figure 5-2 M258 Target Board Circuit

PD2

PD0

PC0_NU4_SDAPC1_NU4_SCL

J1

HEADER 2.54 5X2 (NC)

1 23 45 67 89 10

USB_VBUS_10R

PD3

PD1

TICEDATTICECLK

USB_D-

PB12_RXD0PB13_TXD0

ICE

USB_D+USB_VDD33_CAP

SW13x6x5 2PIN SMD

SW-2P-SMDC910uC0603

R310KR

R0603

RESET

VDD

nRESET

VLCD

P21P22P23P24P25P26P27

PB7_NU2_A0PB8PB9

PB14_LED_R

PB11

VDD_MCULDO_CAPGND

AVSSVREFAVDD

PB10

MCU_TXMCU_RX

PB15_NU5_GPIOPC14

P117 PB14_LED_RP118 PB13_TXD0

P113 LDO_CAPP114 VDD_2

P33

P121P120P119 PB12_RXD0

P115P116

P34

P126P125P124

P122P123

P35P100P99P98P97

P128P127

P36

P105P104P103P102P101

P39

P110P109P108P107P106

P40

P112P111

P77P78P79P80P81

12

LEDG10805 LED GLED0805

P82P83

P103P104

P107P108P109P110P111

SW2

SMD HPS602-E

PC3_NU3_D4PC4_NU3_D2PC5_NU3_D3

PC2_NU3_D5

PA4_NU3_D9

PA7_NU3_D6PA6_NU3_D7

PA5_NU3_D8

nRESETPF1_ICE_CLKPF0_ICE_DAT

R14100KR

R0603

VDD

R13100KR

R0603

UP2AMS1117_5v

IN3

GN

D1

OU

T2

OU

T4

Tit le

Size Docum ent Num ber Rev

Dat e: Sheet of

NuMaker-PFM-M258KE

v1.2M258KE3AECustom

2 4Friday , July 09, 2021

Bypass Cap

C181uC0603

R17 0

P33 - P64

P1 - P32

P97 - P128

VBATNC

1 2

C190.1u

VBATVDD_MCU

NU1_VIN

R7330R

R0603

1 2

D2

SS24A

PC12

PC10PC11

PC9

VDD_MCUGND

C40.1uC0603

PD12PD11

C30.1uC0603

PD10

PF7

PE8

C51uC0603

PE10PE9

PE11

R6330R

R0603

PE12

CT510uF/10VTANT-A

12

PE13

12

LEDR10805 LED RLED0805

PC8

VDDVDD_MCU

PE14PE15

PD9PD8

GNDVDD_MCU

PD6_TK14

PD4_TK16

PD7_TK13

PD5

PD13

PE7PE6PE5PE4PE3PE2

PE1PE0

C200.1uC0603

U1

<M258KE3AE>P

B.5

/EA

DC

0_

CH

5/A

CM

P1

_N

/EB

I_A

DR

0/I

2C

0_

SC

L/U

SC

I1_

CT

L0

/SC

0_

CL

K/P

WM

0_

CH

0/P

SIO

0_

CH

4/U

AR

T2

_T

XD

/TM

0/I

NT

01

PB

.4/E

AD

C0

_C

H4

/AC

MP

1_

P1

/EB

I_A

DR

1/I

2C

0_

SD

A/U

SC

I1_

CT

L1

/SC

0_

DA

T/P

WM

0_

CH

1/P

SIO

0_

CH

5/U

AR

T2

_R

XD

/TM

1/I

NT

12

PB

.3/E

AD

C0

_C

H3

/AC

MP

0_

N/E

BI_

AD

R2

/I2

C1

_S

CL

/UA

RT

1_

TX

D/U

SC

I1_

DA

T1

/SC

0_

RS

T/P

WM

0_

CH

2/P

SIO

0_

CH

6/P

WM

0_

BR

AK

E0

/TM

2/I

NT

23

PB

.2/E

AD

C0

_C

H2

/AC

MP

0_

P1

/OP

A0

_O

/EB

I_A

DR

3/I

2C

1_

SD

A/U

AR

T1

_R

XD

/US

CI1

_D

AT

0/S

C0

_P

WR

/PW

M0

_C

H3

/PS

IO0

_C

H7

/TM

3/I

NT

34

PC

.12

/EB

I_A

DR

4/U

AR

T0

_T

XD

/I2

C0

_S

CL

/SC

0_

nC

D/P

WM

1_

CH

0/A

CM

P0

_O

5

PC

.11

/EB

I_A

DR

5/U

AR

T0

_R

XD

/I2

C0

_S

DA

/PW

M1

_C

H1

/AC

MP

1_

O6

PC

.10

/EB

I_A

DR

6/P

WM

1_

CH

27

PC

.9/E

BI_

AD

R7

/PW

M1

_C

H3

8

PB

.1/E

AD

C0

_C

H1

/OP

A0

_N

/EB

I_A

DR

8/U

AR

T2

_T

XD

/US

CI1

_C

LK

/I2

C1

_S

CL

/QS

PI0

_M

ISO

1/P

WM

0_

CH

4/P

WM

1_

CH

4/P

WM

0_

BR

AK

E0

9

PB

.0/E

AD

C0

_C

H0

/OP

A0

_P

/EB

I_A

DR

9/U

AR

T2

_R

XD

/SP

I0_

I2S

MC

LK

/I2

C1

_S

DA

/QS

PI0

_M

OS

I1/P

WM

0_

CH

5/P

WM

1_

CH

5/P

WM

0_

BR

AK

E1

10

VS

S11

VD

D12

PA

.11

/AC

MP

0_

P0

/EB

I_n

RD

/US

CI0

_C

LK

/BP

WM

0_

CH

0/T

M0

_E

XT

13

PA

.10

/AC

MP

1_

P0

/EB

I_n

WR

/US

CI0

_D

AT

0/B

PW

M0

_C

H1

/TM

1_

EX

T/D

AC

0_

ST

14

PA

.9/E

BI_

MC

LK

/US

CI0

_D

AT

1/U

AR

T1

_T

XD

/BP

WM

0_

CH

2/T

M2

_E

XT

15

PA

.8/E

BI_

AL

E/U

SC

I0_

CT

L1

/UA

RT

1_

RX

D/B

PW

M0

_C

H3

/TM

3_

EX

T/I

NT

416

NC

17

PD

.12

/EB

I_n

CS

0/U

AR

T2

_R

XD

/BP

WM

0_

CH

5/C

LK

O/E

AD

C0

_S

T/I

NT

518

PD

.11

/EB

I_n

CS

1/U

AR

T1

_T

XD

19

PD

.10

/EB

I_n

CS

2/U

AR

T1

_R

XD

20

NC

21

NC

22

NC

23

NC

24

NC

25

NC

26

NC

27

PF

.7/E

BI_

AD

R1

8/S

C0

_D

AT

/SP

I0_

MIS

O28

PF

.6/E

BI_

AD

R1

9/S

C0

_C

LK

/SP

I0_

MO

SI/

EB

I_n

CS

0/T

AM

PE

R0

29

VB

AT

30

PF

.5/U

AR

T2

_R

XD

/UA

RT

2_

nC

TS

/PW

M0

_C

H0

/BP

WM

0_

CH

4/X

32

_IN

/EA

DC

0_

ST

31

PF

.4/U

AR

T2

_T

XD

/UA

RT

2_

nR

TS

/PW

M0

_C

H1

/BP

WM

0_

CH

5/X

32

_O

UT

32

NC33NC34NC35NC36PF.3/EBI_nCS0/UART0_TXD/I2C0_SCL/XT1_IN/BPWM1_CH037PF.2/EBI_nCS1/UART0_RXD/I2C0_SDA/QSPI0_CLK/XT1_OUT/BPWM1_CH138NC39NC40PE.8/EBI_ADR10/USCI1_CTL1/UART2_TXD/PWM0_CH0/PWM0_BRAKE041PE.9/EBI_ADR11/USCI1_CTL0/UART2_RXD/PWM0_CH1/PWM0_BRAKE142PE.10/EBI_ADR12/USCI1_DAT0/PWM0_CH2/PWM1_BRAKE043PE.11/EBI_ADR13/USCI1_DAT1/UART1_nCTS/PWM0_CH3/PWM1_BRAKE144PE.12/EBI_ADR14/USCI1_CLK/UART1_nRTS/PWM0_CH445PE.13/EBI_ADR15/I2C0_SCL/UART1_TXD/PWM0_CH5/PWM1_CH0/BPWM1_CH546PC.8/EBI_ADR16/I2C0_SDA/UART1_RXD/PWM1_CH1/BPWM1_CH447PC.7/EBI_AD9/UART0_nCTS/I2C1_SMBAL/PWM1_CH2/BPWM1_CH0/TM0/INT348PC.6/EBI_AD8/UART0_nRTS/I2C1_SMBSUS/PWM1_CH3/BPWM1_CH1/TM1/INT249PA.7/EBI_AD7/UART0_TXD/I2C1_SCL/PWM1_CH4/BPWM1_CH2/ACMP0_WLAT/TM2/INT150PA.6/EBI_AD6/UART0_RXD/I2C1_SDA/PWM1_CH5/BPWM1_CH3/ACMP1_WLAT/TM3/INT051VSS52VDD53PD.15/PSIO0_CH7/PWM0_CH5/TM3/INT154PA.5/QSPI0_MISO1/UART0_nCTS/UART0_TXD/I2C0_SCL/BPWM0_CH5/PWM0_CH055PA.4/QSPI0_MOSI1/SPI0_I2SMCLK/SC0_nCD/UART0_nRTS/UART0_RXD/I2C0_SDA/USCI2_CTL1/BPWM0_CH4/PWM0_CH156PA.3/QSPI0_SS/SPI0_SS/SC0_PWR/I2C0_SMBAL/UART1_TXD/I2C1_SCL/PSIO0_CH4/USCI2_CTL0/BPWM0_CH3/PWM0_CH2/CLKO/PWM1_BRAKE157PA.2/QSPI0_CLK/SPI0_CLK/SC0_RST/I2C0_SMBSUS/UART1_RXD/I2C1_SDA/PSIO0_CH5/USCI2_CLK/BPWM0_CH2/PWM0_CH358PA.1/QSPI0_MISO0/SPI0_MISO/SC0_DAT/UART0_TXD/UART1_nCTS/PSIO0_CH6/USCI2_DAT0/BPWM0_CH1/PWM0_CH459PA.0/QSPI0_MOSI0/SPI0_MOSI/SC0_CLK/UART0_RXD/UART1_nRTS/PSIO0_CH7/USCI2_DAT1/BPWM0_CH0/PWM0_CH5/DAC0_ST60VDDIO61PE.14/EBI_AD8/UART2_TXD/PSIO0_CH062PE.15/EBI_AD9/UART2_RXD/PSIO0_CH163nRESET64

PF

.0/I

CE

_D

AT

65

PF

.1/I

CE

_C

LK

66

PD

.9/E

BI_

AD

7/U

AR

T2

_n

CT

S/P

SIO

0_

CH

267

PD

.8/E

BI_

AD

6/U

AR

T2

_n

RT

S/P

SIO

0_

CH

368

PC

.5/E

BI_

AD

5/Q

SP

I0_

MIS

O1

/UA

RT

2_

TX

D/I

2C

1_

SC

L/P

WM

1_

CH

0/P

SIO

0_

CH

069

PC

.4/E

BI_

AD

4/Q

SP

I0_

MO

SI1

/UA

RT

2_

RX

D/I

2C

1_

SD

A/P

WM

1_

CH

1/U

SC

I2_

CT

L1

/PS

IO0

_C

H1

70

PC

.3/E

BI_

AD

3/Q

SP

I0_

SS

/UA

RT

2_

nR

TS

/I2

C0

_S

MB

AL

/PW

M1

_C

H2

/US

CI2

_C

TL

0/P

SIO

0_

CH

271

PC

.2/E

BI_

AD

2/Q

SP

I0_

CL

K/U

AR

T2

_n

CT

S/I

2C

0_

SM

BS

US

/PW

M1

_C

H3

/US

CI2

_C

LK

/PS

IO0

_C

H3

72

PC

.1/E

BI_

AD

1/Q

SP

I0_

MIS

O0

/UA

RT

2_

TX

D/I

2C

0_

SC

L/P

WM

1_

CH

4/U

SC

I2_

DA

T0

/AC

MP

0_

O73

PC

.0/E

BI_

AD

0/Q

SP

I0_

MO

SI0

/UA

RT

2_

RX

D/I

2C

0_

SD

A/P

WM

1_

CH

5/U

SC

I2_

DA

T1

/AC

MP

1_

O74

VS

S75

VD

D76

NC

77

NC

78

NC

79

NC

80

NC

81

NC

82

NC

83

PD

.7/U

AR

T1

_T

XD

/I2

C0

_S

CL

/US

CI1

_C

LK

/PS

IO0

_C

H4

84

PD

.6/U

AR

T1

_R

XD

/I2

C0

_S

DA

/US

CI1

_D

AT

1/P

SIO

0_

CH

585

PD

.5/I

2C

1_

SC

L/U

SC

I1_

DA

T0

/PS

IO0

_C

H6

86

PD

.4/U

SC

I0_

CT

L0

/I2

C1

_S

DA

/US

CI1

_C

TL

1/P

SIO

0_

CH

787

PD

.3/E

BI_

AD

10

/US

CI0

_C

TL

1/S

PI0

_S

S/U

SC

I1_

CT

L0

/UA

RT

0_

TX

D88

PD

.2/E

BI_

AD

11

/US

CI0

_D

AT

1/S

PI0

_C

LK

/UA

RT

0_

RX

D89

PD

.1/E

BI_

AD

12

/US

CI0

_D

AT

0/S

PI0

_M

ISO

90

PD

.0/E

BI_

AD

13

/US

CI0

_C

LK

/SP

I0_

MO

SI/

TM

291

PD

.13

/EB

I_A

D1

0/S

PI0

_I2

SM

CL

K/U

SC

I2_

CT

L0

92

US

B_

VB

US

93

US

B_

D-

94

US

B_

D+

95

US

B_

VD

D3

3_

CA

P96

PE.7/PSIO0_CH0/PWM0_CH0/BPWM0_CH597

PE.6/SC0_nCD/USCI0_CTL0/PSIO0_CH1/PWM0_CH1/BPWM0_CH498

PE.5/EBI_nRD/SC0_PWR/USCI0_CTL1/PSIO0_CH2/PWM0_CH2/BPWM0_CH399

PE.4/EBI_nWR/SC0_RST/USCI0_DAT1/PSIO0_CH3/PWM0_CH3/BPWM0_CH2100

PE.3/EBI_MCLK/SC0_DAT/USCI0_DAT0/PWM0_CH4/BPWM0_CH1101

PE.2/EBI_ALE/SC0_CLK/USCI0_CLK/USCI2_CTL0/PWM0_CH5/BPWM0_CH0102

NC103

NC104

PE.1/EBI_AD10/QSPI0_MISO0/I2C1_SCL/USCI2_DAT1105

PE.0/EBI_AD11/QSPI0_MOSI0/I2C1_SDA/USCI2_DAT0106

NC107

NC108

NC109

NC110

NC111

VSS112

LDO_CAP113

VDD114

PC.14/EBI_AD11/SPI0_I2SMCLK/USCI0_CTL0/QSPI0_CLK/USCI2_CLK/TM1115

PB.15/EADC0_CH15/EBI_AD12/SPI0_SS/USCI0_CTL1/UART0_nCTS/PSIO0_CH0/PWM1_CH0/TM0_EXT/PWM0_BRAKE1116

PB.14/EADC0_CH14/EBI_AD13/SPI0_CLK/USCI0_DAT1/UART0_nRTS/PSIO0_CH1/PWM1_CH1/TM1_EXT/CLKO117

PB.13/EADC0_CH13/ACMP0_P3/ACMP1_P3/EBI_AD14/SPI0_MISO/USCI0_DAT0/UART0_TXD/PSIO0_CH2/PWM1_CH2/TM2_EXT118

PB.12/EADC0_CH12/DAC0_OUT/ACMP0_P2/ACMP1_P2/EBI_AD15/SPI0_MOSI/USCI0_CLK/UART0_RXD/PSIO0_CH3/PWM1_CH3/TM3_EXT119

AVDD120

VREF121

AVSS122

PB.11/EADC0_CH11/EBI_ADR16/UART0_nCTS/I2C1_SCL/SPI0_I2SMCLK/BPWM1_CH0123

PB.10/EADC0_CH10/EBI_ADR17/USCI1_CTL0/UART0_nRTS/I2C1_SDA/BPWM1_CH1124

PB.9/EADC0_CH9/EBI_ADR18/USCI1_CTL1/UART0_TXD/UART1_nCTS/I2C1_SMBAL/BPWM1_CH2125

PB.8/EADC0_CH8/EBI_ADR19/USCI1_CLK/UART0_RXD/UART1_nRTS/I2C1_SMBSUS/BPWM1_CH3126

PB.7/EADC0_CH7/EBI_nWRL/USCI1_DAT0/UART1_TXD/EBI_nCS0/BPWM1_CH4/PWM1_BRAKE0/PWM1_CH4/INT5/ACMP0_O127

PB.6/EADC0_CH6/EBI_nWRH/USCI1_DAT1/UART1_RXD/EBI_nCS1/BPWM1_CH5/PWM1_BRAKE1/PWM1_CH5/INT4/ACMP1_O128

C210.1uC0603

VDD_3

P21P22

P17 VLCDP18

P25P24P23

P19P20

P30 VBATP29P28

P26P27

P32 PF4_X32_OUTP31 PF5_X32_IN

VDD_4

P2P1

P6P5P4P3

P7P8P9

P11P10

P12 VDD_3P13P14P15P16

AMMETERNC

1 2

R16 0

1 2

D1

SS24A

USB Device

L5

FERRITE BEAD

C151uC0603

P98P97

P100P99

VDD

VDD_MCU

UP1AMS1117_3.3v

IN3

GN

D1

OU

T2

OU

T4

NU1_3VCC

CT410uF/10VTANT-A

12

P104P103P102P101

C221uC0603

P108P107P106P105

P110P109

P112P111

NU1_5VCC

P116P115P114P113

ADAVSS

P120P119P118P117

P128P127P126P125P124P123P122P121

P61P62P63P64

P53P54P55P56P57P58P59P60

P45P46P47P48P49P50P51P52

P37P38P39P40P41P42P43P44

P33P34P35P36

VLCD

PF2_XT1_OUT

PF3_XT1_INR2 0

R5 0

MCUVCC_DIODE

X1

NCXTAL\LP\SMD

C8 NC

P67

P66

P65

C2 NC

HXT & LXT Crystal

P69

P68

X2

SMD 32.768K X3215

9HT9

P71

P70

PF4_X32_OUT

PF5_X32_INR1 0

R4 0

P77

P76

P75

P74

P73

P72

C1 20p

P78

C7 20p

P84

P83

P82

P81

P80

P79

P85

P90

P89

P88

P87

P86

H2

H-3.4X6

1

H1

H-3.4X6

1

P92

P91

H4

H-3.4X6

1

H3

H-3.4X6

1

Mounting Hole

P96

P95

P94

P93

JP2

NC

1234

JP1

NC

1234

C120.1u

C140.1u

VDD_MCU AVDD

P26

P27

P28

P29

P30

P31

P32

C110.1u

VREF

P18

P19

P20

P21

P22

P23

P24

P25

VREF1NC

1 2

P10

P11

P12

P13

P14

P15

P16

P17

CT210uF/10V

12

CT310uF/10V

12

P2

P3

P4

P5

P6

P7

P8

P9

L2

FERRITE BEAD

P1

L4

FERRITE BEAD

Power

ADAVSS

C130.01u

LED

HJ2

NC

MICRO_USB_B

VBUS1

D-2

D+3

GND5

ID4

Shield6

Shield7

Shield8

Shield9

Shield10

Shield11

USB_VBUS

D+

D-

VDD

R1810R

USB_VBUS

L1

FERRITE BEAD

GND

PC6PC7

PF2_XT1_OUT

PA2_NU3_D13/CLK

PD15

PA0_NU3_D11/MOSIPF15

PA1_NU3_D12/MISO

PA3_NU3_D10/SS

VDD_MCU

TICERST

PB0_NU2_A4/RX

PF3_XT1_IN

ICE5V

PB6_NU2_A1

PB3_NU3_D1/TXPB4_NU2_A3PB5_NU2_A2

PB1_NU2_A5/TX

PB2_NU3_D0/RX

PA11_NU5_CLK

PA8_NU5_SSPA9_NU5_MISOPA10_NU5_MOSI

USB_VDD33_CAP

PB14_LED_R

D+

D-

C100.1u

USB_D-

USB_D+

R927R

R1127R

CT11uF/16V

12

USB_VBUS_10R

J2

micro USB 5pin

MICRO_USB_AB

VBUS1

D-2

D+3

GND5

ID4

Shield6

Shield7

Shield8

Shield9

Shield10

Shield11

L3

FERRITE BEADL0603

PF4_X32_OUTPF5_X32_INVBATPF6

USB_VBUS

P42

P37 PF3_XT1_INP38 PF2_XT1_OUT

P45P44P43

P39P40P41

P36P35

P48

P46P47

C61uC0603

P33P34

LDO_CAP

P49

P57

P52P51P50

P59P60

P54P53 VDD_1

P58

P63P62

P64 nRESET

P56P55

P61

VDD_2VDD_1

P65 - P96

NU1_3VCC

NU1_5VCC

P85P86

P81P82

P89P88P87

P83P84

P94P93P92

P90P91

R12 0

P67P66 PF1_ICE_CLKP65 PF0_ICE_DAT

P96 USB_VDD33_CAPP95

P72P71P70P69P68

P77P76 VDD_4P75P74P73

P80P79P78

NuMaker-M258KE

Jul. 9, 2021 Page 49 of 53 Rev 1.01

NU

MA

KE

R-M

258

KE

US

ER

MA

NU

AL

Maker N

u-m

bed

NU

C472 U

ser M

an

ual

5.3 Extension Connector

Figure 5-3 shows extension connectors of NuMaker-M258KE.

Figure 5-3 Extension Connectors Circuit

R21 NCPD4_TK16

P2

P12P10P8P6P4

P22P20P18P16P14

P32P30P28P26P24

VLCD

P24P23P22P21

P27P26P25

P36P35P34P33

P40P39

P80P79P78P77

P83P82P81

P104P103

P110P109P108P107

P34P36

P111

P46

P38P40P42P44

P56

P52P54

P50P48

P64P62P60P58

PA4_NU3_D9PA5_NU3_D8

PC5_NU3_D3PC4_NU3_D2

PA7_NU3_D6PA6_NU3_D7

P33P35

PC3_NU3_D4PC2_NU3_D5

P45

P37P39P41P43

P57P55

P51P53

P49P47

P63P61P59

P65 - P96

JP4

HEADER 2.54 16X2 male

1 23 45 67 89 1011 1213 1415 1617 1819 2021 2223 2425 2627 2829 3031 32

JP6

HEADER 2.54 16X2 male

1 23 45 67 89 1011 1213 1415 1617 1819 2021 2223 2425 2627 2829 3031 32

MCUVCC_DIODE

P97 - P128

MCUVCC_DIODEP107

P97P99

External Connector

P115P117

P113P111P109

P101P103P105

P127P125P123P121P119

P75

P65P67

P83P85

P81P79P77

P71P73

P95P93P91P89P87

UNO Interface

P1 - P32

P33 - P64

P3

P7P5

P1

P23P21P19P17P15P13P11P9

P31P29P27P25

JP3

HEADER 2.54 16X2 male

1 23 45 67 89 1011 1213 1415 1617 1819 2021 2223 2425 2627 2829 3031 32

JP5

HEADER 2.54 16X2 male

1 23 45 67 89 1011 1213 1415 1617 1819 2021 2223 2425 2627 2829 3031 32

PB5_NU2_A2 PB4_NU2_A3PB3_NU3_D1/TX

Tit le

Size Docum ent Num ber Rev

Dat e: Sheet of

NuMaker-PFM-M258KE

v1.2Ext. ConnectorCustom

3 4Friday , July 09, 2021

PB2_NU3_D0/RXPC12PC10

PB1_NU2_A5/TX

PC11PC9PB0_NU2_A4/RX

GND VDD_MCUPA11_NU5_CLK PA10_NU5_MOSIPA9_NU5_MISO PA8_NU5_SS

PD12PD11 PD10

PF7VBAT

PF5_X32_IN PF4_X32_OUTPF6

PC8PE12

PE15

PC6

PA1_NU3_D12/MISOPA3_NU3_D10/SS

PA5_NU3_D8VDD_MCU

PF15

PA6_NU3_D7

PF3_XT1_IN PF2_XT1_OUT

PE8 PE9PE10 PE11

PC7PE13

PA7_NU3_D6

GNDPD15PA4_NU3_D9PA2_NU3_D13/CLKPA0_NU3_D11/MOSIPE14TICERST

TICECLKPD8

P82

P86

P94

P84

P88P90P92

P96

P66P68

P69 P70P72

P80

P74P76P78

TICEDATPD9

PD0PD2

PC2_NU3_D5PC3_NU3_D4PC5_NU3_D3

USB_VBUS_10R

PC1_NU4_SCL PC0_NU4_SDA

USB_D-

PC4_NU3_D2

PD1PD3

VDD_MCUGND

USB_VDD33_CAPUSB_D+

PD13

PD7_TK13PD5PD6_TK14

R19 NCR20 NC

NU5

header 2.54 2X4 male

SPI0_MISO1

VCC2

SPI0_CLK3

SPI0_MOSI4

RESET5

GND6

SPI0_SS7

GPIO8

NU1

HEADER 2.54 8X1 f emale

NC1

VDD2

MCU_RESET3

3VCC4

5VCC5

VSS6

VSS7

VIN8

NU3

HEADER 2.54 8X1 f emale

D01D12D23D34D45D56D67D78

NU2

HEADER 2.54 6X1 f emale

A01

A12

A23

A34

A45

A56

NU4

HEADER 2.54 10X1 f emale

D81D92D103D114D125D136VSS7VREF8I2C_SDA9I2C_SCL10

GNDGND

TICERST

PB4_NU2_A3

PB6_NU2_A1PB5_NU2_A2

PB7_NU2_A0

PC0_NU4_SDAPC1_NU4_SCL

PB0_NU2_A4/RXPB1_NU2_A5/TX

PA3_NU3_D10/SS

PA2_NU3_D13/CLK

VREFGND

PA0_NU3_D11/MOSIPA1_NU3_D12/MISO

PB2_NU3_D0/RXPB3_NU3_D1/TX

PA11_NU5_CLK

PA8_NU5_SS

PA9_NU5_MISO

TICERSTPB15_NU5_GPIOGNDPA10_NU5_MOSI

NU1_VIN

NU1_5VCCNU1_3VCC

PB7_NU2_A0PB8PB9

PB14_LED_R

PB11

VDD_MCULDO_CAPGND

AVSSVREFAVDD

PB10

MCU_TXMCU_RX

PB15_NU5_GPIOPC14P118

P114

P120

P116

P126P124P122

P98

P128

P104P102P100

P110P108P106

PE5PE6PE7

P112

PE1

PE2PE3PE4

PB6_NU2_A1

PE0

NuMaker-M258KE

Jul. 9, 2021 Page 50 of 53 Rev 1.01

NU

MA

KE

R-M

258

KE

US

ER

MA

NU

AL

Maker N

u-m

bed

NU

C472 U

ser M

an

ual

5.4 Touch Key

Figure 5-4 shows touch key of NuMaker-M258KE.

Figure 5-4 Front Placement

Touch Keys offpage

TK16

Touch Key reference PCB Touch Keys

TK13

TK14

K14

CTKey 0.8x08 (NC)

12

TK13

REF (NC)

1

Top Layer Shielding

SHILEDING1SHILEDING (NC)

1

TOP SHILED

TK16 P86

TK14 P85TK13 P84

Tit le

Size Docum ent Num ber Rev

Dat e: Sheet of

NuMaker-PFM-M258KE

v1.2Touch KeyA

4 4Friday , July 09, 2021

PD6_TK14PD7_TK13

PD4_TK16

NuMaker-M258KE

Jul. 9, 2021 Page 51 of 53 Rev 1.01

NU

MA

KE

R-M

258

KE

US

ER

MA

NU

AL

Maker N

u-m

bed

NU

C472 U

ser M

an

ual

5.5 PCB Placement

Figure 5-5 and Figure 5-6 show the front and rear placement of NuMaker-M258KE.

Figure 5-5 Front Placement

Figure 5-6 Rear Placement

NuMaker-M258KE

Jul. 9, 2021 Page 52 of 53 Rev 1.01

NU

MA

KE

R-M

258

KE

US

ER

MA

NU

AL

Maker N

u-m

bed

NU

C472 U

ser M

an

ual

6 REVISION HISTORY

Date Revision Description

2020.12.14 1.00 Initial version

2021.07.09 1.01 Updated touch key schematic in section 5.4.

Added part numbers in Chapter 2

NuMaker-M258KE

Jul. 9, 2021 Page 53 of 53 Rev 1.01

NU

MA

KE

R-M

258

KE

US

ER

MA

NU

AL

Maker N

u-m

bed

NU

C472 U

ser M

an

ual

Important Notice

Nuvoton Products are neither intended nor warranted for usage in systems or equipment, any malfunction or failure of which may cause loss of human life, bodily injury or severe property damage. Such applications are deemed, “Insecure Usage”.

Insecure usage includes, but is not limited to: equipment for surgical implementation, atomic energy control instruments, airplane or spaceship instruments, the control or operation of dynamic, brake or safety systems designed for vehicular use, traffic signal instruments, all types of safety devices, and other applications intended to support or sustain life.

All Insecure Usage shall be made at customer’s risk, and in the event that third parties lay claims to Nuvoton as a result of customer’s Insecure Usage, customer shall indemnify the damages and liabilities thus incurred by Nuvoton.