background image

NuMaker-M256SD

 

 

May 20, 2022 

Page 

47

 of 52 

Rev 1.00 

N

UMA

K

E

R

-M

2

56
S

D

 U

S

E

R

 MA

N

UA
L

 

Ma
k

er Nu

-m

be
d

 NUC

47

Us
er Man

ua

 

5.2 

M256SD Target Board 

Figure 5-2 shows the M256SD target board circuit. 

 

 

Figure 5-2 M256SD Target Board Circuit 

 

 

J1

HEADER 2.54 5X2 (NC)

1

2

3

4

5

6

7

8

9

10

PB12_RXD0

PB13_TXD0

ICE

SW1

3x6x5 2PIN SMD

SW-2P-SMD

C9
10u

C0603

R3
10KR

R0603

RESET

VDD

nRESET

P36

P35

P34

P33

P42

P41

P40

P39

P38

P37

P47

P46

P45

P44

P43

P48

P49

P54

P53

P52

P51

P50

P60

P59

P58

P57

P56

P55

P64

P63

P62

P61

1

2

LEDG1
0805 LED G

LED0805

SW2

SMD HPS602-E

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-M256SD

v1.0

M256SD2AE

Custom

2

4

Friday , May  07, 2021

Bypass Cap

NU1_VIN

R7
330R

R0603

1

2

D2

SS24A

C4
0.1u

C0603

C3
0.1u

C0603

C5
1u

C0603

R6
330R

R0603

CT5
10uF/10V

TANT-A

1

2

1

2

LEDR1
0805 LED R

LED0805

VDD

VDD_MCU

PC0_NU4_SDA

PC1_NU4_SCL

PD3

PD1

PD2

PD0

TICEDAT
TICECLK

PA13

PA12

PA14
PA15

P37
P38

P43

P39
P40
P41
P42

P48

P46
P47

P45

P44

PB14_LED_R

P33

PF0_ICE_DAT

P34

PF1_ICE_CLK

P36

P35

GND

PB7_NU2_A0

PB8

PB9

PB10

PB11

VDD_MCU

LDO_CAP

PC14

AVSS

VREF

AVDD

MCU_TX
MCU_RX

PB15_NU5_GPIO

P49

P58

P57

P52

P51

VDD_2

P50

LDO_CAP

P55

PB13_TXD0

P59
P60

P54

PB14_LED_R

P53

P63

P62

P64

P56

PB12_RXD0

PB3_NU3_D1/TX

PB4_NU2_A3

PB5_NU2_A2

PB6_NU2_A1

P61

PA11_NU5_CLK

PB0_NU2_A4/RX

PB1_NU2_A5/TX

PB2_NU3_D0/RX

PF5_X32_IN

PF14

PA9_NU5_MISO

PA10_NU5_MOSI

VLCD

PA8_NU5_SS

PF3_XT1_IN

PF4_X32_OUT

PC6

PC7

PF2_XT1_OUT

GND

PA1_NU3_D12/MISO

PA3_NU3_D10/SS_TK3
PA2_NU3_D13/CLK

PD15_TK0

VDD_MCU

TICERST

PA0_NU3_D11/MOSI
PF15

P33 - P48

P17 - P32

P1 - P16

P17

PF2_XT1_OUT

P18

P49 - P64

P19
P20
P21
P22

P26
P27

P25

P24

P23

VDD_1

P32

nRESET

P31

P30

P29

P28

AMMETER
NC

1

2

R16

0

PA6_NU3_D7

PA4_NU3_D9

PA5_NU3_D8_TK1

PA7_NU3_D6

PC3_NU3_D4
PC2_NU3_D5

P2

P1

PC4_NU3_D2

PC5_NU3_D3

P5

P4

P3

P10

P9

P8

P7

P6

P15

PF4_X32_OUT

P14

PF5_X32_IN

P13

P12

VLCD

P11

P16

PF3_XT1_IN

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

1

2

D1

SS24A

USB Device

L5

FERRITE BEAD

C15
1u

C0603

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

C22
1u

C0603

NU1_5VCC

ADAVSS

VLCD

PF2_XT1_OUT

PF3_XT1_IN

R2

0

R5

0

MCUVCC_DIODE

X1
NC

XTAL\LP\SMD

C8

NC

C2

NC

HXT & LXT Crystal

X2

SMD 32.768K X3215

9HT9

PF4_X32_OUT

PF5_X32_IN

R1

0

R4

0

C1

20p

C7

20p

H2

H-3.4X6

1

H1

H-3.4X6

1

H4

H-3.4X6

1

H3

H-3.4X6

1

Mounting Hole

JP2

NC

1
2
3
4

JP1

NC

1
2
3
4

C12
0.1u

C14
0.1u

VDD_MCU

AVDD

C11
0.1u

VREF

VREF1
NC

1

2

CT2

10uF/10V

1

2

CT3

10uF/10V

1

2

L2

FERRITE BEAD

L4

FERRITE BEAD

Power

ADAVSS

C13
0.01u

LED

VDD

L1

FERRITE BEAD

ICE5V

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

USB_VBUS

U1

<M256SD2AE>

PB

.6/

EA

D

C

0_

C

H

6/

U

AR

T

1_

R

XD

/LC

D

_S

EG

4/

IN

T

4/

AC

M

P1

_O

1

PB

.5/

EA

D

C

0_

C

H

5/

AC

M

P1

_N

/LC

D

_C

OM

0/

I2C

0_

SC

L/

SC

0_

C

LK

/U

AR

T

2_

T

XD

/T

M

0/

IN

T

0

2

PB

.4/

EA

D

C

0_

C

H

4/

AC

M

P1

_P

1/

LC

D

_C

OM

1/

I2C

0_

SD

A/

SC

0_

D

AT

/U

AR

T

2_

R

XD

/T

M

1/

IN

T

1

3

PB

.3/

EA

D

C

0_

C

H

3/

AC

M

P0

_N

/LC

D

_C

OM

2/

U

AR

T

1_

T

XD

/SC

0_

R

ST

/T

M

2/

IN

T

2

4

PB

.2/

EA

D

C

0_

C

H

2/

AC

M

P0

_P

1/

LC

D

_C

OM

3/

U

AR

T

1_

R

XD

/SC

0_

PW

R

/T

M

3/

IN

T

3

5

PB

.1/

EA

D

C

0_

C

H

1/

LC

D

_S

EG

1/

U

AR

T

2_

T

XD

6

PB

.0/

EA

D

C

0_

C

H

0/

LC

D

_S

EG

0/

U

AR

T

2_

R

XD

/SP

I0_

I2S

M

C

LK

7

PA

.11

/AC

M

P0

_P

0/

U

SC

I0_

C

LK

/BP

W

M

0_

C

H

0/

T

M

0_

EX

T

8

PA

.10

/AC

M

P1

_P

0/

U

SC

I0_

D

AT

0/

BP

W

M

0_

C

H

1/

T

M

1_

EX

T

9

PA

.9/

U

SC

I0_

D

AT

1/

U

AR

T

1_

T

XD

/BP

W

M

0_

C

H

2/

T

M

2_

EX

T

10

PA

.8/

U

SC

I0_

C

T

L1

/U

AR

T

1_

R

XD

/BP

W

M

0_

C

H

3/

T

M

3_

EX

T

/I

N

T

4

11

VL

C

D

12

PF

.14

/C

LK

O/

T

M

3/

IN

T

5

13

PF

.5/

U

AR

T

2_

R

XD

/U

AR

T

2_

nC

T

S/

BP

W

M

0_

C

H

4/

X3

2_

IN

/EA

D

C

0_

ST

14

PF

.4/

U

AR

T

2_

T

XD

/U

AR

T

2_

nR

T

S/

BP

W

M

0_

C

H

5/

X3

2_

OU

T

15

PF

.3/

U

AR

T

0_

T

XD

/I

2C

0_

SC

L/

XT

1_

IN

16

PF.2/UART0_RXD/I2C0_SDA/XT1_OUT

17

PC.7/LCD_SEG39/UART0_nCTS/TM0/INT3

18

PC.6/LCD_SEG38/UART0_nRTS/TM1/INT2

19

PA.7/LCD_SEG37/UART0_TXD/ACMP0_WLAT/TM2/INT1

20

PA.6/LCD_SEG36/UART0_RXD/ACMP1_WLAT/TM3/INT0

21

VSS

22

VDD

23

PD.15/TK_TK0/TM3/INT1

24

PA.5/TK_TK1/UART0_nCTS/UART0_TXD/I2C0_SCL/BPWM0_CH5

25

PA.4/SPI0_I2SMCLK/TK_TK2/SC0_nCD/UART0_nRTS/UART0_RXD/I2C0_SDA/BPWM0_CH4

26

PA.3/SPI0_SS/TK_TK3/SC0_PWR/I2C0_SMBAL/UART1_TXD/BPWM0_CH3/CLKO

27

PA.2/SPI0_CLK/TK_TK4/SC0_RST/I2C0_SMBSUS/UART1_RXD/BPWM0_CH2

28

PA.1/SPI0_MISO/TK_TK5/SC0_DAT/UART0_TXD/UART1_nCTS/BPWM0_CH1

29

PA.0/SPI0_MOSI/TK_TK6/SC0_CLK/UART0_RXD/UART1_nRTS/BPWM0_CH0

30

PF.15/LCD_SEG35/TK_TK7/TM2/CLKO/INT4

31

nRESET

32

PF

.0/

IC

E_

D

AT

33

PF

.1/

IC

E_

C

LK

34

PC

.5/

LC

D

_S

EG

31

/LC

D

_C

OM

4/

T

K_

T

K9

/U

AR

T

2_

T

XD

35

PC

.4/

LC

D

_S

EG

30

/LC

D

_C

OM

5/

T

K_

T

K1

0/

U

AR

T

2_

R

XD

36

PC

.3/

LC

D

_S

EG

29

/LC

D

_C

OM

6/

T

K_

T

K1

1/

U

AR

T

2_

nR

T

S/

I2C

0_

SM

BA

L

37

PC

.2/

LC

D

_S

EG

28

/LC

D

_C

OM

7/

T

K_

T

K1

2/

U

AR

T

2_

nC

T

S/

I2C

0_

SM

BS

U

S

38

PC

.1/

LC

D

_S

EG

27

/LC

D

_C

OM

2/

U

AR

T

2_

T

XD

/I

2C

0_

SC

L/

AC

M

P0

_O

39

PC

.0/

LC

D

_S

EG

26

/LC

D

_C

OM

3/

U

AR

T

2_

R

XD

/I

2C

0_

SD

A/

AC

M

P1

_O

40

PD

.3/

U

SC

I0_

C

T

L1

/SP

I0_

SS

/LC

D

_S

EG

25

/T

K_

T

K1

3/

U

AR

T

0_

T

XD

41

PD

.2/

U

SC

I0_

D

AT

1/

SP

I0_

C

LK

/LC

D

_S

EG

24

/T

K_

T

K1

4/

U

AR

T

0_

R

XD

42

PD

.1/

U

SC

I0_

D

AT

0/

SP

I0_

M

ISO

/LC

D

_S

EG

23

/T

K_

T

K1

5

43

PD

.0/

U

SC

I0_

C

LK

/SP

I0_

M

OS

I/

LC

D

_S

EG

22

/T

K_

T

K1

6/

T

M

2

44

PA

.12

/LC

D

_S

EG

20

/LC

D

_S

EG

47

45

PA

.13

/LC

D

_S

EG

19

/LC

D

_S

EG

46

46

PA

.14

/U

AR

T

0_

T

XD

/LC

D

_S

EG

18

/LC

D

_S

EG

45

47

PA

.15

/U

AR

T

0_

R

XD

/LC

D

_S

EG

17

/LC

D

_S

EG

44

48

VSS

49

LDO_CAP

50

VDD

51

PC.14/SPI0_I2SMCLK/USCI0_CTL0/LCD_SEG14/LCD_COM0/TM1

52

PB.15/EADC0_CH15/SPI0_SS/USCI0_CTL1/UART0_nCTS/LCD_SEG13/LCD_COM1/TM0_EXT

53

PB.14/EADC0_CH14/SPI0_CLK/USCI0_DAT1/UART0_nRTS/LCD_SEG12/TM1_EXT/CLKO/TK_SE

54

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

55

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

56

AVDD

57

VREF

58

AVSS

59

PB.11/EADC0_CH11/UART0_nCTS/LCD_SEG9/SPI0_I2SMCLK

60

PB.10/EADC0_CH10/UART0_nRTS/LCD_SEG8/LCD_V1

61

PB.9/EADC0_CH9/UART0_TXD/UART1_nCTS/LCD_SEG7/LCD_V2

62

PB.8/EADC0_CH8/UART0_RXD/UART1_nRTS/LCD_SEG6/LCD_V3

63

PB.7/EADC0_CH7/UART1_TXD/LCD_SEG5/INT5/ACMP0_O

64

LDO_CAP

VDD_2

VDD_1

P15

P16

P10

P11

P12

P13

P14

P4

P5

P6

P7

P8

P9

P1

P2

P3

NU1_3VCC

NU1_5VCC

R12

0

P29

P30

P31

P32

P24

P25

P26

P27

P28

P18

P19

P20

P21

P22

P23

P17

Summary of Contents for NuMicro NuMaker-M256SD

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

Page 2: ... 4 1 VIN Power Source 18 3 4 2 5 V Power Sources 18 3 4 3 3 3 V Power Sources 19 3 4 4 1 8 V Power Sources 19 3 4 5 Power Connectors 19 3 4 6 USB Connectors 20 3 4 7 Power Switches 20 3 4 8 Power Supply Models 20 3 5 External Reference Voltage Connector 24 3 6 Ammeter Connector 24 3 7 Touch Key 24 3 8 Push Buttons 25 3 9 LEDs 25 3 10 LCD Panel 26 3 11 Nu Link2 Me 28 3 11 1VCOM Switches 28 3 11 2St...

Page 3: ...ev 1 00 NUMAKER M256SD USER MANUAL M m U 4 6 2 IAR EWARM 38 4 6 3 NuEclipse 39 5 NUMAKER M256SD SCHEMATICS 46 5 1 Nu Link2 Me 46 5 2 M256SD Target Board 47 5 3 Extension Connectors 48 5 4 Touch Key 49 5 5 PCB Placement 50 6 REVISION HISTORY 51 ...

Page 4: ... ICE USB Connector 32 Figure 4 5 Device Manger 33 Figure 4 6 PuTTY Session Setting 33 Figure 4 7 Template Project Folder Path 34 Figure 4 8 Warning Message of Device not found 34 Figure 4 9 Project File Migrate to Version 5 Format 35 Figure 4 10 Debugger Setting in Options Window 35 Figure 4 11 Programming Setting in Options Window 36 Figure 4 12 Compile and Download the Project 36 Figure 4 13 Kei...

Page 5: ...ation 44 Figure 4 28 NuEclipse Debug Mode 45 Figure 4 29 Debug Message on Serial Port Terminal Windows 45 Figure 5 1 Nu Link2 Me Circuit 46 Figure 5 2 M256SD Target Board Circuit 47 Figure 5 3 Extension Connectors Circuit 48 Figure 5 4 Touch Key Circuit 49 Figure 5 5 Front Placement 50 Figure 5 6 Rear Placement 50 ...

Page 6: ...r Source 18 Table 3 6 5 V Power Sources 18 Table 3 7 3 3 V Power Sources 19 Table 3 8 1 8 V Power Sources 19 Table 3 9 Power Connectors 19 Table 3 10 USB Connectors 20 Table 3 11 Power Switches 20 Table 3 12 Supply External Power through Nu Link2 Me 21 Table 3 13 Supply External Power for M256SD Target Board 23 Table 3 14 External Reference Voltage Connector 24 Table 3 15 Ammeter Connector 24 Tabl...

Page 7: ...ine tuning associated environment variables easily to adjust sensitivity of the touch key Nuvoton provides NuTool NuSenadj to set hardware and software parameters automatically For the development flexibility the M256SD target board provides the extension connectors the Arduino UNO compatible headers and the capability of adopting multiple power supplies Furthermore the Nuvoton designed ammeter co...

Page 8: ... the microcontroller s power consumption Flexible board power supply External VDD power connector Arduino UNO compatible extension connector Vin USB power connector on M256SD target board ICE USB connector on Nu Link2 Me Supports one touch key on board Equipped with 1 touch key reference pad shielding electrode Provides NuTool NuSenadj to set hardware and software parameters automatically Supports...

Page 9: ...ure 3 1 Front View of NuMaker M256SD Figure 3 1 shows the main components and connectors from the front side of NuMaker M256SD The following lists components and connectors from the front view Target chip M256SD2AE U1 USB Power Connector J2 Arduino UNO Compatible Extension Connectors NU1 NU2 NU3 NU4 M256 Extension Connectors JP3 JP4 JP5 JP6 JP7 JP8 JP9 and JP10 External VDD Power Connector JP1 Ext...

Page 10: ... 2 Rear View Figure 3 2 shows the main components and connectors from the rear side of NuMaker M256SD The following lists components and connectors from the rear view Nu Link2 Me MCUVCC Power Switch ICEJPR1 ICEVCC Power Switch ICEJPR2 MCUVCC Power Switch ICEVCC Power Switch Figure 3 2 Rear View of NuMaker M256SD ...

Page 11: ... NU3 and NU4 Arduino UNO compatible pins on the NuMaker M256SD Table 3 1 Extension Connectors 3 3 1 Pin Assignment for Extension Connectors The NuMaker M256SD provides the M256SD2AE onboard and extension connectors JP3 JP4 JP5 JP6 JP7 JP8 JP9 and JP10 Figure 3 3 shows the M256SD2AE extension connectors JP3 Pin1 Pin16 JP6 Pin49 Pin64 JP5 Pin17 Pin32 JP4 Pin33 Pin48 Pin1 Pin16 JP9 JP8 Pin49 Pin64 JP...

Page 12: ...UART2_nCTS BPWM0_CH4 X32_IN EADC0_ST JP3 15 JP9 15 15 PF 4 UART2_TXD UART2_nRTS BPWM0_CH5 X32_OUT JP3 16 JP9 16 16 PF 3 UART0_TXD I2C0_SCL XT1_IN JP5 JP10 JP5 1 JP10 1 17 PF 2 UART0_RXD I2C0_SDA XT1_OUT JP5 2 JP10 2 18 PC 7 LCD_SEG39 UART0_nCTS TM0 INT3 JP5 3 JP10 3 19 PC 6 LCD_SEG38 UART0_nRTS TM1 INT2 JP5 4 JP10 4 20 PA 7 LCD_SEG37 UART0_TXD ACMP0_WLAT TM2 INT1 JP5 5 JP10 5 21 PA 6 LCD_SEG36 UAR...

Page 13: ...4 UART0_TXD LCD_SEG18 LCD_SEG45 JP4 16 JP7 16 48 PA 15 UART0_RXD LCD_SEG17 LCD_SEG44 JP6 JP8 JP6 1 JP8 1 49 VSS JP6 2 JP8 2 50 LDO_CAP JP6 3 JP8 3 51 VDD JP6 4 JP8 4 52 PC 14 SPI0_I2SMCLK USCI0_CTL0 LCD_SEG14 LCD_COM0 TM1 JP6 5 JP8 5 53 PB 15 EADC0_CH15 SPI0_SS USCI0_CTL1 UART0_nCTS LCD_SEG13 LCD_COM1 TM 0_EXT JP6 6 JP8 6 54 PB 14 EADC0_CH14 SPI0_CLK USCI0_DAT1 UART0_nRTS LCD_SEG12 TM1_EXT CLK O T...

Page 14: ...COM0 JP3 6 6 LCD_SEG1 LCD_SEG21 JP3 7 7 LCD_SEG0 LCD_SEG20 JP5 JP5 2 18 LCD_SEG39 LCD_SEG19 JP5 3 19 LCD_SEG38 LCD_SEG18 JP5 4 20 LCD_SEG37 LCD_SEG25 JP5 5 21 LCD_SEG36 LCD_SEG27 JP5 15 31 LCD_SEG35 LCD_SEG15 JP4 JP4 3 35 LCD_COM4 LCD_COM7 JP4 4 36 LCD_COM5 LCD_COM6 JP4 5 37 LCD_COM6 LCD_COM5 JP4 6 38 LCD_COM7 LCD_COM4 JP4 7 39 LCD_SEG27 LCD_SEG39 JP4 8 40 LCD_SEG26 LCD_SEG38 JP4 9 41 LCD_SEG25 LC...

Page 15: ...P6 5 53 LCD_SEG13 LCD_SEG28 JP6 6 54 LCD_SEG12 LCD_SEG16 JP6 7 60 LCD_SEG9 LCD_SEG24 JP6 8 61 LCD_SEG8 LCD_SEG23 JP6 9 62 LCD_SEG7 LCD_SEG22 JP6 10 63 LCD_SEG6 LCD_SEG26 JP6 11 64 LCD_SEG5 LCD_SEG17 Table 3 3 NuMaker TNLCDSub_M256SD Extension Connectors and M256SD2AE Mapping GPIO List ...

Page 16: ... PA 3 D10 SPI0_MOSI BPWM0_CH0 PA 0 D11 SPI0_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 D0 UART1_TXD PB 3 D1 UART2_RXD PC 4 D2 UART2_TXD PC 5 D3 PC 3 D4 PC 2 D5 TM2 PA 7 D6 TM3 PA 6 D7 VIN VSS VSS 5V 3V RST IOREF VDD NC A5 PB 1 EADC0_CH1 UART2_TXD A4 PB 0 EADC0_CH0 UART2_RXD A3 PB 4 EADC0_CH4 A2 PB 5 EADC0_CH5 A1 PB 6 EAD...

Page 17: ...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...

Page 18: ...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 P...

Page 19: ...CC UP1 converts NU1_5VCC to 3 3 V and supplies 3 3 V to M256SD 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 5V Source Description ICEUP2 USB_HS_VBUS ICEUP2 converts USB_HS_VBUS to 1 8 V and supplies 1 8 V to M256SD target board or ICE chip Table 3 8 1 8 V Power Sources 3 4...

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

Page 21: ...e 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 M256SD Target Board to Target Chip The external power supply sources on M256SD target board are shown in Figure 3 6 USB Power Connector J2 NU1 pin8 Vin External VDD Conne...

Page 22: ...r M256SD please follow the steps below Switch the SW2 depending on the target chip operating voltage 2 Detach the Nu Link2 Me from NuMaker M256SD 3 Connect the external power supply to Vin or J2 To use JP1 as external power supply source with Nu Link2 Me detached from NuMaker M256SD please follow the steps below Switch the SW2 to OFF 2 Detach the Nu Link2 Me from NuMaker M256SD 3 Connect the exter...

Page 23: ... 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 3 6 V Connect to PC OFF DC Input 1 8 V 3 6 V Remove resistor 1 8 V 3 3 V 1 8 V 3 3 V 9 1 8 V 3 6 V Nu Link2 Me removed OFF DC Input 1 8 V 3 6 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 ...

Page 24: ...ferrite bead Table 3 14 External Reference Voltage Connector 3 6 Ammeter Connector Table 3 15 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 15 Ammeter Connector Remove the R16 Resistor Figure 3 8 Wiring between Ammeter Connector and Ammeter 3 7 Touch Key Table 3 16 pr...

Page 25: ...ogram button to start offline ICP programming the target chip SW1 Reset button to reset the target chip Table 3 17 Push Buttons 3 9 LEDs Table 3 18 presents the LEDs Component Description Power LED The power LED indicates that the NuMaker M256SD 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 18 LEDs ...

Page 26: ...igure 3 9 shows the LCD digit segment mapping table Table 3 20 shows the pin map for the LCD Figure 3 9 LCD Digit Segment Mapping Table 3 19 presents LCD specifications Parameter Specifications Drive Condition 1 8 Duty 1 4 Bias 8 x 40 COM SEG View Direction 12 O Clock Operating Voltage 4 8 V Dimension 100 0 2 mm x 64 0 2 mm Connectors PIN Table 3 19 LCD Specifications PIN 1 2 3 4 6 7 8 9 10 11 12 ...

Page 27: ... 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 ...

Page 28: ...EDs Lastly the Nu Link2 Me could be detached from the evaluation board and become 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 11 1 VCOM Switches Table 3 21 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 O...

Page 29: ...2 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...

Page 30: ...RM 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 ...

Page 31: ...NuMaker M256SD May 20 2022 Page 31 of 52 Rev 1 00 NUMAKER M256SD USER MANUAL M m U Figure 4 2 Nu Link USB Driver Installation ...

Page 32: ...mware Download Download and unzip the Board Support Package BSP 4 4 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 shown in Figure 4 4 to the PC USB port through a USB cable Figure 4 4 ICE USB Connector ...

Page 33: ...M m U 3 Find the Nuvoton Virtual COM Port on the Device Manger as Figure 4 5 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 session setting Figure 4 6 PuTTY Session Setting ...

Page 34: ...th 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 1 Double click the Template uvproj to open the project Figure 4 8 Warning Message of D...

Page 35: ...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 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 ...

Page 36: ...re 4 11 Programming Setting in Options Window 3 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 ...

Page 37: ...n 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 2 1 Run 3 Reset Figure 4 13 Keil MDK Debug Mode Figure 4 14 Debug Message on Serial Port Terminal Windows ...

Page 38: ... to open the project 2 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 3 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 Fi...

Page 39: ...ers 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 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 1 Double click NuEclipse exe ...

Page 40: ...Import the Project in NuEclipse 7 6 5 M031_Series_BSP_CMSIS_V3 XX XXX SampleCode Template M031_Series_BSP_CMSIS_V3 XX XXX SampleCode Template GCC 7 Figure 4 20 Import Projects Windows 3 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 ...

Page 41: ...D May 20 2022 Page 41 of 52 Rev 1 00 NUMAKER M256SD 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 build the project ...

Page 42: ...472 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 25 Figure 4 26 and Figure 4 27 to enter debug mode 1 3 2 Figure 4 24 Open Debug Configuration ...

Page 43: ...USER MANUAL M m U 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 Figure 4 26 Debugger Tab Configuration ...

Page 44: ... of 52 Rev 1 00 NUMAKER M256SD USER MANUAL Maker Nu mbed NUC472 User Manual 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 ...

Page 45: ...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 Term...

Page 46: ...Hz SMD X3225B 1 XIN 2 GND 4 GND 3 XOUT 3 3V ICEU2 W25Q16JVSSIQ SOP8 5 23 1 27MM CS 1 DO 2 WP 3 GND 4 DI 5 CLK 6 HOLD 7 VCC 8 SPIM_MISO0 SPI FLASH 3 3V ICEC12 0 1u C0603 SN74LV2T45DCUR ICEU4 SOP8 3 1 0 5 GND 4 A2 3 VCCA 1 DIR 5 A1 2 B2 6 B1 7 VCCB 8 SN74LV2T45DCUR ICEU3 SOP8 3 1 0 5 GND 4 A2 3 VCCA 1 DIR 5 A1 2 B2 6 B1 7 VCCB 8 SPIM_CLK_LV 3 3V ICEVDD SPIM_CS SPIM_CS_LV SPIM_MOSI0_LV SPIM_MOSI0 SPI...

Page 47: ...EAD L0603 USB_VBUS U1 M256SD2AE PB 6 EADC0_CH6 UART1_RXD LCD_SEG4 INT4 ACMP1_O 1 PB 5 EADC0_CH5 ACMP1_N LCD_COM0 I2C0_SCL SC0_CLK UART2_TXD TM0 INT0 2 PB 4 EADC0_CH4 ACMP1_P1 LCD_COM1 I2C0_SDA SC0_DAT UART2_RXD TM1 INT1 3 PB 3 EADC0_CH3 ACMP0_N LCD_COM2 UART1_TXD SC0_RST TM2 INT2 4 PB 2 EADC0_CH2 ACMP0_P1 LCD_COM3 UART1_RXD SC0_PWR TM3 INT3 5 PB 1 EADC0_CH1 LCD_SEG1 UART2_TXD 6 PB 0 EADC0_CH0 LCD_...

Page 48: ...DER 2 54 16x1 NC 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 P29 P28 P26 P27 P25 P18 P22 P21 P20 P32 P31 P30 P19 P23 P24 P17 JP5 HEADER 2 54 16x1 Male 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 JP4 HEADER 2 54 16x1 Male 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 JP7 HEADER 2 54 16x1 NC 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 JP6 HEADER 2 54 16x1 NC 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 JP8 HEADER 2 54 16x1 Mal...

Page 49: ...uch Key Circuit Touch Keys offpage TK3 Touch Key reference PCB Touch Keys TK0 TK1 K1 CTKey 0 8x08 NC 1 2 TK0 REF NC 1 Top Layer Shielding SHILEDING1 SHILEDING NC 1 TOP SHILED TK3 P27 TK1 P25 TK0 P24 Ti t l e Si ze D ocum ent N um ber R ev D at e Sheet of NuMaker PFM M256SD v1 0 Touch Key A 4 4 Friday May 07 2021 PA5_NU3_D8_TK1 PD15_TK0 PA3_NU3_D10 SS_TK3 ...

Page 50: ...age 50 of 52 Rev 1 00 NUMAKER M256SD USER MANUAL Maker Nu mbed NUC472 User Manual 5 5 PCB Placement Figure 5 5 and Figure 5 6 show the front and rear placement of NuMaker M256SD Figure 5 5 Front Placement Figure 5 6 Rear Placement ...

Page 51: ...NuMaker M256SD May 20 2022 Page 51 of 52 Rev 1 00 NUMAKER M256SD USER MANUAL M m U 6 REVISION HISTORY Date Revision Description 2022 05 20 1 00 Initial version ...

Page 52: ...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 ...

Reviews: