background image

NuMaker-M251KG

 

 

Aug. 

08, 2020 

Page 

45

 of 49 

Rev 1.00 

NuMa

k

er

-M

25
1

K

G

 U

S

E

R

 MA
NU

A

L

 

Ma
k

er Nu

-m

be
d

 NUC

47

Us
er Man

ua

 

 

M251 platform 

Figure 5-2 shows the M251 platform circuit. 

 

Figure 5-2 M251 platform Circuit 

 

 

PD2

PD0

PC0_NU4_SDA

PC1_NU4_SCL

J1

HEADER 2.54 5X2 (NC)

1

2

3

4

5

6

7

8

9

10

PA12

PD3

PD1

TICEDAT
TICECLK

PA13

PB12_RXD0

PB13_TXD0

ICE

PA14
PA15

SW1

3x6x5 2PIN SMD

SW-2P-SMD

C9
10u

C0603

R3
10KR

R0603

RESET

VDD

nRESET

P17

P21
P22
P23
P24
P25
P26
P27

PB7_NU2_A0

PB8

PB9

PB14_LED_R

PB11

VDD_MCU

LDO_CAP

GND

AVSS

VREF

AVDD

PB10

MCU_TX
MCU_RX

PB15_NU5_GPIO

PC14

P117

PB14_LED_R

P118

PB13_TXD0

P113

LDO_CAP

P114

VDD_2

P33

P121

P120

P119

PB12_RXD0

P115
P116

P34

P126

P125

P124

P122
P123

P35

P100

P99

P98

P97

P128

P127

P36

P105

P104

P103

P102

P101

P39

P110

P109

P108

P107

P106

P40

P112

P111

P77
P78
P79
P80
P81

1

2

LEDG1
Green

LED0805

P82
P83

P103
P104

P107
P108
P109
P110
P111

SW2

SMD HPS602-E

PC3_NU3_D4

PC4_NU3_D2

PC5_NU3_D3

PC2_NU3_D5

PA4_NU3_D9

PA7_NU3_D6
PA6_NU3_D7

PA5_NU3_D8

nRESET

PF1_ICE_CLK

PF0_ICE_DAT

R14
100KR

R0603

VDD

R13
100KR

R0603

UP2
AMS1117_5v

IN

3

GN

D

1

OU

T

2

OU

T

4

Tit le

Size

Docum ent   Num ber

Rev

Dat e:

Sheet

of

NuMaker-PFM-M251KG

v1.0

M251KG6AE

Custom

2

3

Monday , May  20, 2019

Bypass Cap

C18
1u

C0603

R17

0

P33 - P64

P1 - P32

P97 - P128

VBAT
NC

1

2

C19
0.1u

VBAT

VDD_MCU

NU1_VIN

R7
330R

R0603

1

2

D2

SS24A

PC12

PC10

PC11

PC9

VDD_MCU

GND

C4
0.1u

C0603

PD12
PD11

C3
0.1u

C0603

PD10

PF7

PE8

C5
1u

C0603

PE10

PE9

PE11

R6
330R

R0603

PE12

CT5
10uF/10V

TANT-A

1

2

PE13

1

2

LEDR1
Red

LED0805

PC8

VDD

VDD_MCU

PE14
PE15

PD9
PD8

GND
VDD_MCU

PD6

PD4

PD7

PD5

PD13

PE7
PE6
PE5
PE4
PE3
PE2

PE1
PE0

C20
0.1u

C0603

C21
0.1u

C0603

VDD_3

P21
P22

P17
P18

P25

P24

P23

P19
P20

P30

VBAT

P29

P28

P26
P27

P32

PF4_X32_OUT

P31

PF5_X32_IN

VDD_4

P2

P1

P6

P5

P4

P3

P7
P8
P9

P11

P10

P12

VDD_3

P13
P14
P15
P16

AMMETER
NC

1

2

R16

0

1

2

D1

SS24A

USB Device

L5

FERRITE BEAD

C15
1u

C0603

P98

P97

P100

P99

VDD

VDD_MCU

UP1
AMS1117_3.3v

IN

3

GN

D

1

OU

T

2

OU

T

4

NU1_3VCC

CT4
10uF/10V

TANT-A

1

2

P104

P103

P102

P101

P108

P107

P106

P105

P110

P109

P112

P111

NU1_5VCC

P116

P115

P114

P113

ADAVSS

P120

P119

P118

P117

P128

P127

P126

P125

P124

P123

P122

P121

P61

P62

P63

P64

P53

P54

P55

P56

P57

P58

P59

P60

P45

P46

P47

P48

P49

P50

P51

P52

P37

P38

P39

P40

P41

P42

P43

P44

P33

P34

P35

P36

PF2_XT1_OUT

PF3_XT1_IN

R2

0

R5

0

MCUVCC_DIODE

X1
32MHz 49S SMD (NC)

XTAL\LP\SMD

C8

20p

P67

P66

P65

C2

20p

HXT & LXT Crystal

P69

P68

X2

SMD 32.768K X3215

9HT9

P71

P70

PF4_X32_OUT

PF5_X32_IN

R1

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

1
2
3
4

JP1

NC

1
2
3
4

C12
0.1u

C14
0.1u

VDD_MCU

AVDD

P26

P27

P28

P29

P30

P31

P32

C11
0.1u

VREF

P18

P19

P20

P21

P22

P23

P24

P25

VREF1
NC

1

2

P10

P11

P12

P13

P14

P15

P16

P17

CT2

10uF/10V

1

2

CT3

10uF/10V

1

2

P2

P3

P4

P5

P6

P7

P8

P9

L2

FERRITE BEAD

P1

L4

FERRITE BEAD

Power

ADAVSS

C13
0.01u

LED

HJ2

micro USB 5pin

MICRO_USB_B

VBUS

1

D-

2

D+

3

GND

5

ID

4

Shield

6

Shield

7

Shield

8

Shield

9

Shield

10

Shield

11

USB_VBUS

VDD

L1

FERRITE BEAD

C16
1u

C0603

R15

0

U1

<M251KG6AE>

PB.

5/

EAD

C

0_C

H

5/

AC

M

P1_N

/EBI

_AD

R

0/

I2C

0_SC

L/

U

SC

I1_C

T

L0/

SC

0_C

LK/

PW

M

0_C

H

0/

PSI

O0_C

H

4/

U

AR

T

2_T

XD

/T

M

0/

IN

T

0

1

PB.

4/

EAD

C

0_C

H

4/

AC

M

P1_P1/

EBI

_AD

R

1/

I2C

0_SD

A/

U

SC

I1_C

T

L1/

SC

0_D

AT

/PW

M

0_C

H

1/

PSI

O0_C

H

5/

U

AR

T

2_R

XD

/T

M

1/

IN

T

1

2

PB.

3/

EAD

C

0_C

H

3/

AC

M

P0_N

/EBI

_AD

R

2/

I2C

1_SC

L/

U

AR

T

1_T

XD

/U

SC

I1_D

AT

1/

SC

0_R

ST

/PW

M

0_C

H

2/

PSI

O0_C

H

6/

PW

M

0_BR

AKE0/

T

M

2/

IN

T

2

3

PB.

2/

EAD

C

0_C

H

2/

AC

M

P0_P1/

OPA0_O/

EBI

_AD

R

3/

I2C

1_SD

A/

U

AR

T

1_R

XD

/U

SC

I1_D

AT

0/

SC

0_PW

R

/PW

M

0_C

H

3/

PSI

O0_C

H

7/

T

M

3/

IN

T

3

4

PC

.12/

EBI

_AD

R

4/

U

AR

T

0_T

XD

/I

2C

0_SC

L/

SC

0_nC

D

/PW

M

1_C

H

0/

AC

M

P0_O

5

PC

.11/

EBI

_AD

R

5/

U

AR

T

0_R

XD

/I

2C

0_SD

A/

PW

M

1_C

H

1/

AC

M

P1_O

6

PC

.10/

EBI

_AD

R

6/

PW

M

1_C

H

2

7

PC

.9/

EBI

_AD

R

7/

PW

M

1_C

H

3

8

PB.

1/

EAD

C

0_C

H

1/

OPA0_N

/EBI

_AD

R

8/

U

AR

T

2_T

XD

/U

SC

I1_C

LK/

I2C

1_SC

L/

QSPI

0_M

ISO1/

PW

M

0_C

H

4/

PW

M

1_C

H

4/

PW

M

0_BR

AKE0

9

PB.

0/

EAD

C

0_C

H

0/

OPA0_P/

EBI

_AD

R

9/

U

AR

T

2_R

XD

/SPI

0_I

2SM

C

LK/

I2C

1_SD

A/

QSPI

0_M

OSI

1/

PW

M

0_C

H

5/

PW

M

1_C

H

5/

PW

M

0_BR

AKE1

10

VSS

11

VD

D

12

PA.

11/

AC

M

P0_P0/

EBI

_nR

D

/U

SC

I0_C

LK/

BPW

M

0_C

H

0/

T

M

0_EXT

13

PA.

10/

AC

M

P1_P0/

EBI

_nW

R

/U

SC

I0_D

AT

0/

BPW

M

0_C

H

1/

T

M

1_EXT

/D

AC

0_ST

14

PA.

9/

EBI

_M

C

LK/

U

SC

I0_D

AT

1/

U

AR

T

1_T

XD

/BPW

M

0_C

H

2/

T

M

2_EXT

15

PA.

8/

EBI

_ALE/

U

SC

I0_C

T

L1/

U

AR

T

1_R

XD

/BPW

M

0_C

H

3/

T

M

3_EXT

/I

N

T

4

16

NC

17

PD

.12/

EBI

_nC

S0/

U

AR

T

2_R

XD

/BPW

M

0_C

H

5/

C

LKO/

EAD

C

0_ST

/I

N

T

5

18

PD

.11/

EBI

_nC

S1/

U

AR

T

1_T

XD

19

PD

.10/

EBI

_nC

S2/

U

AR

T

1_R

XD

20

NC

21

NC

22

NC

23

NC

24

NC

25

NC

26

NC

27

PF

.7/

EBI

_AD

R

18/

SC

0_D

AT

/SPI

0_M

ISO

28

PF

.6/

EBI

_AD

R

19/

SC

0_C

LK/

SPI

0_M

OSI

/EBI

_nC

S0/

T

AM

PER

0

29

VBAT

30

PF

.5/

U

AR

T

2_R

XD

/U

AR

T

2_nC

T

S/

PW

M

0_C

H

0/

BPW

M

0_C

H

4/

X32_I

N

/EAD

C

0_ST

31

PF

.4/

U

AR

T

2_T

XD

/U

AR

T

2_nR

T

S/

PW

M

0_C

H

1/

BPW

M

0_C

H

5/

X32_OU

T

32

NC

33

NC

34

NC

35

NC

36

PF.3/EBI_nCS0/UART0_TXD/I2C0_SCL/XT1_IN/BPWM1_CH0

37

PF.2/EBI_nCS1/UART0_RXD/I2C0_SDA/QSPI0_CLK/XT1_OUT/BPWM1_CH1

38

NC

39

NC

40

PE.8/EBI_ADR10/USCI1_CTL1/UART2_TXD/PWM0_CH0/PWM0_BRAKE0

41

PE.9/EBI_ADR11/USCI1_CTL0/UART2_RXD/PWM0_CH1/PWM0_BRAKE1

42

PE.10/EBI_ADR12/USCI1_DAT0/PWM0_CH2/PWM1_BRAKE0

43

PE.11/EBI_ADR13/USCI1_DAT1/UART1_nCTS/PWM0_CH3/PWM1_BRAKE1

44

PE.12/EBI_ADR14/USCI1_CLK/UART1_nRTS/PWM0_CH4

45

PE.13/EBI_ADR15/I2C0_SCL/UART1_TXD/PWM0_CH5/PWM1_CH0/BPWM1_CH5

46

PC.8/EBI_ADR16/I2C0_SDA/UART1_RXD/PWM1_CH1/BPWM1_CH4

47

PC.7/EBI_AD9/UART0_nCTS/I2C1_SMBAL/PWM1_CH2/BPWM1_CH0/TM0/INT3

48

PC.6/EBI_AD8/UART0_nRTS/I2C1_SMBSUS/PWM1_CH3/BPWM1_CH1/TM1/INT2

49

PA.7/EBI_AD7/UART0_TXD/I2C1_SCL/PWM1_CH4/BPWM1_CH2/ACMP0_WLAT/TM2/INT1

50

PA.6/EBI_AD6/UART0_RXD/I2C1_SDA/PWM1_CH5/BPWM1_CH3/ACMP1_WLAT/TM3/INT0

51

VSS

52

VDD

53

PD.15/PSIO0_CH7/PWM0_CH5/TM3/INT1

54

PA.5/QSPI0_MISO1/UART0_nCTS/UART0_TXD/I2C0_SCL/BPWM0_CH5/PWM0_CH0

55

PA.4/QSPI0_MOSI1/SPI0_I2SMCLK/SC0_nCD/UART0_nRTS/UART0_RXD/I2C0_SDA/USCI2_CTL1/BPWM0_CH4/PWM0 _CH1

56

PA.3/QSPI0_SS/SPI0_SS/SC0_PWR/I2C0_SMBAL/UART1_TXD/I2C1_SCL/PSIO0_CH4/USCI2_CTL0/BPWM0_CH3/PWM0_CH2/CLKO/PWM1_BRAKE1

57

PA.2/QSPI0_CLK/SPI0_CLK/SC0_RST/I2C0_SMBSUS/UART1_RXD/I2C1_SDA/PSIO0_CH5/USCI2_CLK/BPWM0_CH2/P WM0_CH3

58

PA.1/QSPI0_MISO0/SPI0_MISO/SC0_DAT/UART0_TXD/UART1_nCTS/PSIO0_CH6/USCI2_DAT0/BPWM0_CH1/PWM0_C H4

59

PA.0/QSPI0_MOSI0/SPI0_MOSI/SC0_CLK/UART0_RXD/UART1_nRTS/PSIO0_CH7/USCI2_DAT1/BPWM0_CH0/PWM0_C H5/DAC0_ST

60

VDDIO

61

PE.14/EBI_AD8/UART2_TXD/PSIO0_CH0

62

PE.15/EBI_AD9/UART2_RXD/PSIO0_CH1

63

nRESET

64

PF

.0/

IC

E_D

AT

65

PF

.1/

IC

E_C

LK

66

PD

.9/

EBI

_AD

7/

U

AR

T

2_nC

T

S/

PSI

O0_C

H

2

67

PD

.8/

EBI

_AD

6/

U

AR

T

2_nR

T

S/

PSI

O0_C

H

3

68

PC

.5/

EBI

_AD

5/

QSPI

0_M

ISO1/

U

AR

T

2_T

XD

/I

2C

1_SC

L/

PW

M

1_C

H

0/

PSI

O0_C

H

0

69

PC

.4/

EBI

_AD

4/

QSPI

0_M

OSI

1/

U

AR

T

2_R

XD

/I

2C

1_SD

A/

PW

M

1_C

H

1/

U

SC

I2_C

T

L1/

PSI

O0_C

H

1

70

PC

.3/

EBI

_AD

3/

QSPI

0_SS/

U

AR

T

2_nR

T

S/

I2C

0_SM

BAL/

PW

M

1_C

H

2/

U

SC

I2_C

T

L0/

PSI

O0_C

H

2

71

PC

.2/

EBI

_AD

2/

QSPI

0_C

LK/

U

AR

T

2_nC

T

S/

I2C

0_SM

BSU

S/

PW

M

1_C

H

3/

U

SC

I2_C

LK/

PSI

O0_C

H

3

72

PC

.1/

EBI

_AD

1/

QSPI

0_M

ISO0/

U

AR

T

2_T

XD

/I

2C

0_SC

L/

PW

M

1_C

H

4/

U

SC

I2_D

AT

0/

AC

M

P0_O

73

PC

.0/

EBI

_AD

0/

QSPI

0_M

OSI

0/

U

AR

T

2_R

XD

/I

2C

0_SD

A/

PW

M

1_C

H

5/

U

SC

I2_D

AT

1/

AC

M

P1_O

74

VSS

75

VD

D

76

NC

77

NC

78

NC

79

NC

80

NC

81

NC

82

NC

83

PD

.7/

U

AR

T

1_T

XD

/I

2C

0_SC

L/

U

SC

I1_C

LK/

PSI

O0_C

H

4

84

PD

.6/

U

AR

T

1_R

XD

/I

2C

0_SD

A/

U

SC

I1_D

AT

1/

PSI

O0_C

H

5

85

PD

.5/

I2C

1_SC

L/

U

SC

I1_D

AT

0/

PSI

O0_C

H

6

86

PD

.4/

U

SC

I0_C

T

L0/

I2C

1_SD

A/

U

SC

I1_C

T

L1/

PSI

O0_C

H

7

87

PD

.3/

EBI

_AD

10/

U

SC

I0_C

T

L1/

SPI

0_SS/

U

SC

I1_C

T

L0/

U

AR

T

0_T

XD

88

PD

.2/

EBI

_AD

11/

U

SC

I0_D

AT

1/

SPI

0_C

LK/

U

AR

T

0_R

XD

89

PD

.1/

EBI

_AD

12/

U

SC

I0_D

AT

0/

SPI

0_M

ISO

90

PD

.0/

EBI

_AD

13/

U

SC

I0_C

LK/

SPI

0_M

OSI

/T

M

2

91

PD

.13/

EBI

_AD

10/

SPI

0_I

2SM

C

LK/

U

SC

I2_C

T

L0

92

PA.

12/

I2C

1_SC

L/

U

SC

I2_D

AT

1/

PSI

O0_C

H

4/

BPW

M

1_C

H

2

93

PA.

13/

I2C

1_SD

A/

U

SC

I2_D

AT

0/

PSI

O0_C

H

5/

BPW

M

1_C

H

3

94

PA.

14/

U

AR

T

0_T

XD

/U

SC

I2_C

LK/

PSI

O0_C

H

6/

BPW

M

1_C

H

4

95

PA.

15/

U

AR

T

0_R

XD

/U

SC

I2_C

T

L1/

PSI

O0_C

H

7/

BPW

M

1_C

H

5

96

PE.7/PSIO0_CH0/PWM0_CH0/BPWM0_CH5

97

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

98

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

99

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

100

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

101

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

102

NC

103

NC

104

PE.1/EBI_AD10/QSPI0_MISO0/I2C1_SCL/USCI2_DAT1

105

PE.0/EBI_AD11/QSPI0_MOSI0/I2C1_SDA/USCI2_DAT0

106

NC

107

NC

108

NC

109

NC

110

NC

111

VSS

112

LDO_CAP

113

VDD

114

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

115

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

116

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

117

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

118

PB.12/EADC0_CH12/DAC0_OUT/ACMP0_P2/ACMP1_P2/EBI_AD15/SPI0_MOSI/USCI0_CLK/UART0_RXD/PSIO0_CH3/P WM1_CH3/TM3_EXT

119

AVDD

120

VREF

121

AVSS

122

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

123

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

124

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

125

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

126

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

127

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

128

VDDIO
NC

1

2

GND

PC6

PC7

PF2_XT1_OUT

VDD_MCU

C17
0.1u

PA2_NU3_D13/CLK

PD15

VDDIO

PA0_NU3_D11/MOSI
VDDIO

PA1_NU3_D12/MISO

PA3_NU3_D10/SS

VDD_MCU

TICERST

PB0_NU2_A4/SDA/RX

PF3_XT1_IN

ICE5V

PB6_NU2_A1

PB3_NU3_D1/TX

PB4_NU2_A3

PB5_NU2_A2

PB1_NU2_A5/SCL/TX

PB2_NU3_D0/RX

PA11_NU5_CLK

PA8_NU5_SS

PA9_NU5_MISO

PA10_NU5_MOSI

PB14_LED_R

C10
0.1u

CT1

1uF/16V

1

2

USB_VBUS

J2

micro USB 5pin

MICRO_USB_AB

VBUS

1

D-

2

D+

3

GND

5

ID

4

Shield

6

Shield

7

Shield

8

Shield

9

Shield

10

Shield

11

L3

FERRITE BEAD

L0603

PF4_X32_OUT

PF5_X32_IN

VBAT

PF6

USB_VBUS

P42

P37

PF3_XT1_IN

P38

PF2_XT1_OUT

P45

P44

P43

P39
P40
P41

P36

P35

P48

P46
P47

P33
P34

LDO_CAP

P49

P57

P52

P51

P50

P59
P60

P54

P53

VDD_1

P58

P63

P62

P64

nRESET

P56

P55

P61

VDDIO

VDD_2

VDD_1

P65 - P96

NU1_3VCC

NU1_5VCC

P85
P86

P81
P82

P89

P88

P87

P83
P84

P94

P93

P92

P90
P91

R12

0

P67

P66

PF1_ICE_CLK

P65

PF0_ICE_DAT

P96

P95

P72

P71

P70

P69

P68

P77

P76

VDD_4

P75

P74

P73

P80

P79

P78

Summary of Contents for NuMaker-M251KG

Page 1: ...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 based s...

Page 2: ...V Power Sources 20 3 4 3 3 3 V Power Sources 20 3 4 4 1 8V Power Sources 20 3 4 5 Power Connectors 21 3 4 6 USB Connectors 21 3 4 7 Power Switches 21 3 4 8 Power Supply Models 22 External Reference Vo...

Page 3: ...3 of 49 Rev 1 00 NuMaker M251KG USER MANUAL M m U 4 6 1 Keil MDK 32 4 6 2 IAR EWARM 36 4 6 3 NuEclipse 37 5 NuMaker M251KG Schematics 44 Nu Link2 Me 44 M251 platform 45 Extension Connector 46 PCB Pla...

Page 4: ...Figure 4 6 PuTTY Session Setting 31 Figure 4 7 Template Project Folder Path 32 Figure 4 8 Warning Message of Device not found 32 Figure 4 9 Project File Migrate to Version 5 Format 33 Figure 4 10 Deb...

Page 5: ...M m U Figure 4 28 NuEclipse Debug Mode 43 Figure 4 29 Debug Message on Serial Port Terminal Windows 43 Figure 5 1 Nu Link2 Me Circuit 44 Figure 5 2 M251 platform Circuit 45 Figure 5 3 Extension Conne...

Page 6: ...e 3 6 3 3 V Power Sources 20 Table 3 7 1 8V Power Sources 20 Table 3 8 Power Connectors 21 Table 3 9 USB Connectors 21 Table 3 10 Power Switches 21 Table 3 11 Supply External Power through Nu Link2 Me...

Page 7: ...sion connectors of M251KG6AE the Arduino UNO compatible headers and able to adopt multiple power supply Furthermore the Nuvoton designed ammeter connector can measure the power consumption instantly w...

Page 8: ...onnectors Arduino UNO compatible extension connectors Ammeter connector for measuring the microcontroller s power consumption Fixable board power supply External VDD power connector Arduino UNO compat...

Page 9: ...1 Front View of NuMaker M251KG Figure 3 1 shows the main components and connectors from the front side of NuMaker M251KG The following lists components and connectors from the front view Target Chip...

Page 10: ...ar View Figure 3 2 shows the main components and connectors from the rear side of NuMaker M251KG The following lists components and connectors from the rear view Nu Link2 Me MCUVCC Power Switch ICEJPR...

Page 11: ...r M251KG NU1 NU2 NU3 and NU4 Arduino UNO compatible pins on the NuMaker M251KG Table 3 1 Extension Connectors 3 3 1 Pin Assignment for Extension Connectors The NuMaker M251KG provides the M251KG6AE ta...

Page 12: ...JP3 7 7 PC 10 EBI_ADR6 PWM1_CH2 JP3 8 8 PC 9 EBI_ADR7 PWM1_CH3 JP3 9 9 PB 1 EADC0_CH1 OPA0_N EBI_ADR8 UART2_TXD USCI1_CLK I2C1_SCL QSPI0_MISO1 PWM0 _CH4 PWM1_CH4 PWM0_BRAKE0 JP3 10 10 PB 0 EADC0_CH0...

Page 13: ...5 15 47 PC 8 EBI_ADR16 I2C0_SDA UART1_RXD PWM1_CH1 BPWM1_CH4 JP5 16 48 PC 7 EBI_AD9 UART0_nCTS I2C1_SMBAL PWM1_CH2 BPWM1_CH0 TM0 INT3 JP5 17 49 PC 6 EBI_AD8 UART0_nRTS I2C1_SMBSUS PWM1_CH3 BPWM1_CH1 T...

Page 14: ...5 69 PC 5 EBI_AD5 QSPI0_MISO1 UART2_TXD I2C1_SCL PWM1_CH0 PSIO0_CH0 JP4 6 70 PC 4 EBI_AD4 QSPI0_MOSI1 UART2_RXD I2C1_SDA PWM1_CH1 USCI2_CTL1 PSIO0_CH1 JP4 7 71 PC 3 EBI_AD3 QSPI0_SS UART2_nRTS I2C0_S...

Page 15: ..._CH2 JP6 5 101 PE 3 EBI_MCLK SC0_DAT USCI0_DAT0 PWM0_CH4 BPWM0_CH1 JP6 6 102 PE 2 EBI_ALE SC0_CLK USCI0_CLK USCI2_CTL0 PWM0_CH5 BPWM0_CH0 JP6 7 103 NC JP6 8 104 NC JP6 9 105 PE 1 EBI_AD10 QSPI0_MISO0...

Page 16: ...UART0_nRTS I2C1_SDA BPWM1_CH1 JP6 29 125 PB 9 EADC0_CH9 EBI_ADR18 USCI1_CTL1 UART0_TXD UART1_nCTS I2C1_SMBAL BPWM1_C H2 JP6 30 126 PB 8 EADC0_CH8 EBI_ADR19 USCI1_CLK UART0_RXD UART1_nRTS I2C1_SMBSUS...

Page 17: ...I0_MOSI PWM0_CH5 PA 0 D11 SPI0_MISO PWM0_CH4 PA 1 D12 SPI0_CLK PWM0_CH3 PA 2 D13 VSS VSS VREF VREF UART2_RXD I2C0_SDA PC 0 SDA UART2_TXD I2C0_SCL PC 1 SCL UART1_RXD PWM0_CH3 PB 2 D0 UART1_TXD PWM0_CH2...

Page 18: ...1 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 N U 1 NU1 8 VIN NU3 8 D7 PA 6 NU1 7 VSS N U 3 NU4 1 D...

Page 19: ...ng voltage and PC through USB connector By using switches and voltage regulator multiple power domains can be created on the NuMaker M251KG 3 4 1 VIN Power Source Table 3 4 presents the Vin power sour...

Page 20: ...rd Table 3 5 5V Power Sources 3 4 3 3 3 V Power Sources Table 3 6 presents the 3 3 V power sources Voltage Regulator 5V Source Comment ICEUP1 USB_HS_VBUS ICEUP1 converts USB_HS_VBUS to 3 3 V and suppl...

Page 21: ...s the USB connectors Connector Comment ICEJ3 ICE USB connector on Nu Link2 Me for power supply debugging and programming from PC J2 USB PWR connector on NuMaker M251KG for power supply Table 3 9 USB C...

Page 22: ...on ICEJPR2 ICEVCC depends on the ICE chip operating voltage 3 Switch the SW2 to OFF 4 Connect the external power supply to JP1 Table 3 11 presents all power models when supplies external power throug...

Page 23: ...he external power supply to Vin or J2 To use JP1 as external power supply source please follow the below steps 1 Switch the SW2 to OFF 2 Remove the resistor on ICEJPR1 MCUVCC 3 Solder the resistor on...

Page 24: ...NU1 3VCC 3 3 V output Remove resistor 3 3 V 3 3 V 4 3 3 V X Connect to PC X NU1 3VCC 3 3 V output Remove resistor 3 3 V 3 3 V 5 1 8 V 3 6 V X X Connect to PC OFF DC Input 1 8 V 3 6 V Remove resistor 1...

Page 25: ...VDDIO pin of the target chip as power source of PA 0 PA 5 User needs to remove the R15 resistor Table 3 14 Voltage Adjustable Interface Connector Battery Voltage VBAT Connector Table 3 14 presents the...

Page 26: ...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 s...

Page 27: ...x 3 Flash x 3 Flash x 3 Flash x 3 Connected to IDE NuTool 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...

Page 28: ...M NuEclipse GCC for Windows NuEclipse GCC for Linux Nuvoton Nu Link Driver Installation Download and install the latest Nuvoton Nu Link Driver Download and install Nu Link_Keil_Driver when using Keil...

Page 29: ...NuMaker M251KG Aug 08 2020 Page 29 of 49 Rev 1 00 NuMaker M251KG USER MANUAL M m U Figure 4 2 Nu Link USB Driver Installation...

Page 30: ...he Board Support Package BSP Hardware Setup 1 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 2 Connect the ICE USB connector show...

Page 31: ...v 1 00 NuMaker M251KG USER MANUAL M m U Figure 4 5 Device Manger 4 Open a serial port terminal PuTTY for example to print out debug message Set the speed to 115200 Figure 4 6 presents the PuTTY sessio...

Page 32: ...the Project under Toolchains Open and execute the project under the toolchain The section 4 6 1 0 and 4 6 3 describe the steps of executing project in Keil MDK IAR EWARM and NuEclipse respectively 4...

Page 33: ...9 Project File Migrate to Version 5 Format 2 Make sure the debugger is Nuvoton Nu Link Debugger as shown in Figure 4 10 and Figure 4 11 Note If the dropdown menu in Figure 4 10 does not contain Nuvot...

Page 34: ...compile the project download code to the flash memory Click Start Stop Debug Section button can enter debug mode 1 3 2 4 1 Rebuild 3 Download 4 Start Stop Debug 2 Successfully compile Figure 4 12 Com...

Page 35: ...uMaker M251KG USER MANUAL M m U source code assembly language peripherals registers and setting breakpoint step run value monitor etc 2 Stop 3 1 2 1 Run 3 Reset Figure 4 13 Keil MDK Debug Mode Figure...

Page 36: ...eww to open the project 2 Make sure the toolbar contain Nu Link item as shown in Figure 4 15 Note If the toolbar does not contain Nu Link item please rework section Figure 4 15 IAR EWARM Window 3 Mak...

Page 37: ...rs 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 4 6 3 NuEclipse This section...

Page 38: ...rt the Project in NuEclipse 7 6 5 M251_252_Series_BSP_CMSIS_V3 XX XXX SampleCod e Templ M251_252__Series_BSP_CMSIS_V3 XX XXX SampleCode Te mplate G 7 Figure 4 20 Import Projects Windows 3 Click the Te...

Page 39: ...Aug 08 2020 Page 39 of 49 Rev 1 00 NuMaker M251KG USER MANUAL M m U 1 2 3 Figure 4 21 Open Project Properties Window 1 2 3 Figure 4 22 Project Properties Settings 4 Click the Template project and bui...

Page 40: ...72 User Manual 1 2 3 Figure 4 23 Build Project 5 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...

Page 41: ...USER MANUAL M m U 4 1 5 2 Note 1 Double click the GDB Nuvoton Nu Link Debugging to create the subitem Note 2 After the project is built the elf file will be shown in C C Application frame Figure 4 25...

Page 42: ...f 49 Rev 1 00 NuMaker M251KG USER MANUAL Maker Nu mbed NUC472 User Manual 8 10 11 9 1 Note 1 User must follow those settings highlighted in green and can configure other settings depend on the needs F...

Page 43: ...9 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 Nu...

Page 44: ...XT_O HXT_I ICEC10 20p C0603 ICEC11 20p C0603 12M Crystal ICEX1 12MHz SMD X3225B 1 XIN 2 GND 4 GND 3 XOUT 3 3V SPIM_MISO0 ICEU2 W25Q16JVSSIQ SOP8 5 23 1 27MM CS 1 DO 2 WP 3 GND 4 DI 5 CLK 6 HOLD 7 VCC...

Page 45: ...EBI_ADR12 USCI1_DAT0 PWM0_CH2 PWM1_BRAKE0 43 PE 11 EBI_ADR13 USCI1_DAT1 UART1_nCTS PWM0_CH3 PWM1_BRAKE1 44 PE 12 EBI_ADR14 USCI1_CLK UART1_nRTS PWM0_CH4 45 PE 13 EBI_ADR15 I2C0_SCL UART1_TXD PWM0_CH5...

Page 46: ...r PFM M251KG v1 0 Ext Connector Custom 3 3 Wednesday June 17 2020 PB2_NU3_D0 RX PC12 PC10 PB1_NU2_A5 SCL TX PC11 PC9 PB0_NU2_A4 SDA RX GND VDD_MCU PA11_NU5_CLK PA10_NU5_MOSI PA9_NU5_MISO PA8_NU5_SS PD...

Page 47: ...Aug 08 2020 Page 47 of 49 Rev 1 00 NuMaker M251KG USER MANUAL M m U PCB Placement Figure 5 4 and Figure 5 5 show the front and rear placement of NuMaker M251KG Figure 5 4 Front Placement Figure 5 5 R...

Page 48: ...NuMaker M251KG Aug 08 2020 Page 48 of 49 Rev 1 00 NuMaker M251KG USER MANUAL Maker Nu mbed NUC472 User Manual 6 REVISION HISTORY Date Revision Description 2019 08 18 1 00 1 Initially issued...

Page 49: ...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 fo...

Reviews: