Nuvoton NuMicro 8051 Series User Manual Download Page 40

NuMaker-ML56SD

 

 

Mar. 08, 2021 

Page 

40

 of 46 

Rev 1.01 

N

UMA

K

E

R

-M

L

56
S

D

 U

S

E

R

 MA

N

UA
L

 

Ma
k

er Nu

-m

be
d

 NUC

47

Us
er 
Ma
n

ua

 

  ML56 platform 

Figure 5-2 shows the ML56 platform circuit. 

 

Figure 5-2 ML56 platform Circuit 

 

 

P62

P60

P40_NU4_SDA

P41_NU4_SCL

J1

HEADER 2.54 5X2 (NC)

1

2

3

4

5

6

7

8

9

10

P14

P63

P61

TICEDAT_MCU
TICECLK_MCU

P15

PB12_RXD0

PB13_TXD0

ICE

P16
P17

Pin42

Pin37
Pin38

Pin44

Pin43

Pin39
Pin40
Pin41

SW1

3x6x5 2PIN SMD

SW-2P-SMD

Pin45

C9
10u

C0603

R3
10KR

R0603

Pin48

Pin46
Pin47

RESET

VDD

nRESET

Pin36

Pin35

PF0_ICE_DAT_MCU

Pin33

PF1_ICE_CLK_MCU

Pin34

P27_NU2_A0

P64

P65

P32_LED_R

P67

VDD_MCU

P46

GND

AVSS

VREF

AVDD

P66

MCU_TX
MCU_RX

P33_NU5_GPIO

P47

U1

<ML56SD1AE>

P2

.6

1

P2

.5

2

P2

.4

3

P2

.3

4

P2

.2

5

P2

.1

6

P2

.0

7

P1

.3

8

P1

.2

9

P1

.1

10

P1

.0

11

VL

C

D

12

P5

.7

13

P5

.5

14

P5

.4

15

P5

.3

16

P5.2

17

P3.5

18

P3.4

19

P0.7

20

P0.6

21

VSS

22

VDD

23

P3.6

24

P0.5

25

P0.4

26

P0.3

27

P0.2

28

P0.1

29

P0.0

30

P5.6

31

nRESET

32

P5

.0/

IC

E_

D

AT

33

P5

.1/

IC

E_

C

LK

34

P4

.5

35

P4

.4

36

P4

.3

37

P4

.2

38

P4

.1

39

P4

.0

40

P6

.3

41

P6

.2

42

P6

.1

43

P6

.0

44

P1

.4

45

P1

.5

46

P1

.6

47

P1

.7

48

VSS

49

P4.6

50

VDD

51

P4.7

52

P3.3

53

P3.2

54

P3.1

55

P3.0

56

AVDD

57

VREF

58

AVSS

59

P6.7

60

P6.6

61

P6.5

62

P6.4

63

P2.7

64

LDO_CAP

Pin50

Pin49

PB14_LED_R

Pin54

Pin53

Pin58

Pin57

Pin52

VDD_2

Pin51

PB12_RXD0

Pin56

PB13_TXD0

Pin55

Pin59
Pin60
Pin61

Pin63

Pin62

Pin64

1

2

LEDG1
0805 LED G (

綠光

普亮

LED0805

P26_NU2_A1

P22_NU3_D0/RX

P23_NU3_D1/TX

P24_NU2_A3

P25_NU2_A2

P12_DH2

P13

P20_NU2_A4/SDA/RX

P21_NU2_A5/SCL/TX

P54_X32_OUT

P55_X32_IN

P57

P11_DH1

VLCD

P10

P53_XT1_IN

Pin

35

Pin

34

Pin

33

Pin

37

Pin

36

Pin

42

Pin

41

Pin

40

Pin

39

Pin

38

Pin

46

Pin

45

Pin

44

Pin

43

Pin

47

Pin

48

GND

P34

P35

P52_XT1_OUT

P02_NU3_D13/CLK

P00_NU3_D11/MOSI

P01_NU3_D12/MISO

P03_NU3_D10/SS

VDD_MCU

TICERST

TICECLK

R14
100KR

R0603

VDD

R13
100KR

R0603

Tit le

Size

Docum ent   Num ber

Rev

Dat e:

Sheet

of

NuMaker-ML56SD

v1.1

ML56SD1AE

Custom

2

3

Thursday , September 10, 2020

Bypass Cap

P33 - P48

P17 - P32

P1 - P16

P49 - P64

R7
330R

R0603

C4
0.1u

C0603

C3
0.1u

C0603

R6
330R

R0603

1

2

LEDR1
0805 LED R (

紅光

高亮

LED0805

VDD

VDD_MCU

GND

VDD_MCU

VDD_MCU

O f f - page  Connect or

TICEDAT
TICECLK

Pin21
Pin22

PF2_XT1_OUT

Pin17
Pin18

Pin25

Pin24

VDD_1

Pin23

Pin19
Pin20

Pin30

Pin29

Pin28

Pin26
Pin27

R15 100R

R0603

nRESET

Pin32

Pin31

R17
100R

R0603

PF1_ICE_CLK_MCU

PF0_ICE_DAT_MCU

TICECLK

TICEDAT

Pin2

Pin1

Pin6

Pin5

Pin4

Pin3

Pin7
Pin8
Pin9

Pin11

Pin10

Pin12
Pin13

PF5_X32_IN

Pin14

PF4_X32_OUT

Pin15

PF3_XT1_IN

Pin16

H1

H-3.4X6 (NC)

1

H2

H-3.4X6 (NC)

1

H4

H-3.4X6 (NC)

1

H3

H-3.4X6 (NC)

1

Mounting Hole

P44_NU3_D2

P45_NU3_D3

P43_NU3_D4
P42_NU3_D5

P04_NU3_D9

P06_NU3_D7

P07_NU3_D6

PF2_XT1_OUT

PF3_XT1_IN

R2

0

R5

0

C8

20p

X1
24MHz 49S SMD (NC)

XTAL\LP\SMD

C2

20p

HXT & LXT Crystal

X2

SMD 32.768K X3215

9HT9

PF4_X32_OUT

PF5_X32_IN

R1

0

R4

0

C1

20p

C7

20p

LED

SW2

SMD HPS602-E

VDD_MCU

VDD

NU1_VIN

UP2
AMS1117_5v

IN

3

GN

D

1

OU

T

2

OU

T

4

1

2

D2

SS24A

VDD_MCU

VDD

CT5
10uF/10V

TANT-A

1

2

1

2

D1

SS24A

NU1_3VCC

UP1
AMS1117_3.3v

IN

3

GN

D

1

OU

T

2

OU

T

4

CT4
10uF/10V

TANT-A

1

2

NU1_5VCC

R16

0

MCUVCC_DIODE

AMMETER
NC

1

2

JP2

NC

1
2
3
4

JP1

NC

1
2
3
4

VDD

C11
0.1u

CT2

10uF/10V

1

2

L1

FERRITE BEAD

Power

ICE5V

P05_Pin

P36_Pin

P56_Pin

NU1_5VCC

NU1_3VCC

USB_VBUS

R12

0(NC)

L5

FERRITE BEAD

USB Power

C15
1u

C0603

ADAVSS

C12
0.1u

AVDD

C14
0.1u

VREF

CT3

10uF/10V

1

2

VREF
NC

1

2

L2

FERRITE BEAD

L4

FERRITE BEAD

ADAVSS

C10
0.1u

C13
0.01u

CT1

1uF/16V

1

2

L3

FERRITE BEAD

L0603

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

PB14_LED_R

Pin20
Pin19
Pin18
Pin17

nRESET

Pin26
Pin25
Pin24
Pin23
Pin22
Pin21

Pin31
Pin30
Pin29
Pin28
Pin27

Pin32

TICEDAT

Pin

13

Pin

14

Pin

15

Pin

11

Pin

10

Pin

9

Pin

12

Pin

16

Pin

4

Pin

8

Pin

5

Pin

6

Pin

7

Pin

1

Pin

3

Pin

2

Pin51

Pin50

Pin49

Pin56

Pin55

Pin54

Pin53

Pin52

Pin61

Pin60

Pin59

Pin58

Pin57

Pin64

Pin63

Pin62

VDD_2

VDD_1

Summary of Contents for NuMicro 8051 Series

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

Page 2: ...on Connectors 16 Power Supply Configuration 18 3 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 Connec...

Page 3: ...M Execute the Project under Toolchains 33 4 6 1 Keil C51 33 4 6 2 IAR EW8051 37 5 NuMaker ML56SD Schematics 39 Nu Link2 Me 39 ML56 platform 40 Extension Connector 41 TK and LCD Cap 42 PCB Placement 4...

Page 4: ...Function 31 Figure 4 4 ICE USB Connector 31 Figure 4 5 Device Manger 32 Figure 4 6 PuTTY Session Setting 32 Figure 4 7 Template Project Folder Path 33 Figure 4 8 Warning Message of Device not found 3...

Page 5: ...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 Extern...

Page 6: ...6SD1AE MCU For the development flexibility the ML56 platform provides the extension connectors of ML56SD1AE the Arduino UNO compatible headers and able to adopt multiple power supply Furthermore the N...

Page 7: ...r s power consumption Flexible board power source External VDD power connector Arduino UNO compatible extension connector Vin USB FS connector on ML56 evaluation board ICE USB connector on Nu Link2 Me...

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

Page 9: ...ure 3 2 shows the main components and connectors from the rear side of NuMaker ML56SD The following lists components and connectors from the rear view Nu Link2 Me MCUVCC Power Switch ICEJPR1 ICEVCC Po...

Page 10: ...Sub_ML56SD extension connectors on the NuMaker ML56SD NU1 NU2 NU3 and NU4 Arduino UNO compatible pins on the NuMaker ML56SD Table 3 1 Extension Connectors 3 3 1 Pin Assignment for Extension Connectors...

Page 11: ...2 JP3 11 JP9 11 11 P1 0 UART1_RXD IC0 JP3 12 JP9 12 12 VLCD JP3 13 JP9 13 13 P5 7 PWM0_BRAKE PWM0_CH4 CLKO JP3 14 JP9 14 14 P5 5 UART2_RXD PWM0_CH0 X32_IN STADC JP3 15 JP9 15 15 P5 4 UART2_TXD PWM0_CH...

Page 12: ...P6 1 LCD_SEG23 UART3_RXD SPI0_MISO TK10 JP4 12 JP7 12 44 P6 0 LCD_SEG22 SPI0_MOSI TK11 JP4 13 JP7 13 45 P1 4 LCD_SEG21 I2C1_SCL LCD_COM4 JP4 14 JP7 14 46 P1 5 LCD_SEG20 I2C1_SDA LCD_COM5 JP4 15 JP7 15...

Page 13: ...SD Mar 08 2021 Page 13 of 46 Rev 1 01 NUMAKER ML56SD USER MANUAL M m U M JP6 16 JP8 16 64 P2 7 ADC_CH15 LCD_SEG7 UART1_TXD PWM3_CH0 ACMP0_O Table 3 2 ML56SD1AE Full pin Extension Connectors and GPIO F...

Page 14: ...Pin No Function Function JP3 JP3 1 1 LCD_SEG6 J3 11 SEG11 JP3 2 2 LCD_COM0 J3 20 COM4 JP3 3 3 LCD_COM1 J3 19 COM3 JP3 4 4 LCD_COM2 J3 18 COM2 JP3 5 5 LCD_COM3 J3 17 COM1 JP3 6 6 LCD_SEG5 J4 6 SEG30 JP...

Page 15: ...9 JP4 8 40 LCD_SEG26 J4 24 SEG48 JP4 9 41 LCD_SEG25 J4 23 SEG47 JP4 10 42 LCD_SEG24 J4 22 SEG46 JP4 11 43 LCD_SEG23 J4 21 SEG45 JP4 12 44 LCD_SEG22 J4 20 SEG44 JP4 13 45 LCD_SEG21 J4 19 SEG43 JP4 14 4...

Page 16: ...tible extension connectors UART0_TXD PWM0_CH0 P0 5 D8 UART0_RXD PWM0_CH1 P0 4 D9 I2C1_SDA PWM0_CH2 P0 3 D10 PWM1_CH5 P0 0 D11 PWM0_CH4 P0 1 D12 PWM0_CH3 P0 2 D13 VSS VREF PWM3_CH1 P4 0 SDA PWM3_CH0 P4...

Page 17: ...A4 P2 0 NU3 3 D2 P4 4 NU2 4 A3 P2 4 NU3 4 D3 P4 5 NU2 3 A2 P2 5 NU3 5 D4 P4 3 NU2 2 A1 P2 6 NU3 6 D5 P4 2 NU2 1 A0 P2 7 NU3 7 D6 P0 7 N U 1 NU1 8 VIN NU3 8 D7 P0 6 NU1 7 VSS N U 4 NU4 1 D8 P0 5 NU1 6...

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

Page 19: ...UP1 converts NU1_5VCC to 3 3 V and supplies 3 3 V to ML56 platform 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 po...

Page 20: ...8 V 3 3 V 5 V Note ML56SD1AE operating voltage range is from 1 8 V to 3 6 V Do not switch ICEJPR1 MCUVCC to 5 V ICEJPR2 Configures the ICE chip operating voltage at 1 8 V 3 3 V SW2 Configures the targ...

Page 21: ...put 3 5 V Connect to PC 5 V 3 3 V default 3 3 V Off X X 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...

Page 22: ...om NuMaker ML56SD please follow the steps below 1 Switch the SW2 depends on the target chip operating voltage 2 Detach the Nu Link2 Me from NuMaker ML56SD 3 Connect the external power supply to Vin or...

Page 23: ...V X X X Note 1 The Vin input voltage will be converted by voltage regulator UP2 to 5 V Supply 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 powe...

Page 24: ...the target chip SW1 Reset button to reset the target chip Table 3 16 Push Buttons LEDs Table 3 17 presents the LEDs Component Description Power LED The power LED indicates that the NuMaker ML56SD is p...

Page 25: ...E6616TP01 Figure 3 9 shows the LCD digit segment mapping table Table 3 20 shows pin map for the LCD Figure 3 9 The LCD Digit Mapping Table The assignment of COM pins and SEG pins for the LCD and NuMak...

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

Page 27: ...ML56SD Mar 08 2021 Page 27 of 46 Rev 1 01 NUMAKER ML56SD USER MANUAL M m U M 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 20 LCD Pin Mappin...

Page 28: ...Pin Function Description 1 TXD On Connect target chip P3 1 UART0_TXD to Nu Link2 Me Off Disconnect target chip P3 1 UART0_TXD to Nu Link2 Me 2 RXD On Connect target chip P3 0 UART0_RXD to Nu Link2 Me...

Page 29: ...KEIL C51 IAR EW8051 Nuvoton Nu Link Driver Installation Download and install the latest Nuvoton Nu Link Driver Download and install Nu Link_Keil_Driver when using Keil C51 Download and install Nu Lin...

Page 30: ...NuMaker ML56SD Mar 08 2021 Page 30 of 46 Rev 1 01 NUMAKER ML56SD USER MANUAL Maker Nu mbed NUC472 User Manual Figure 4 2 Nu Link USB Driver Installation...

Page 31: ...ad Download and unzip the 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...

Page 32: ...UC472 User Manual 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 spe...

Page 33: ...roject under Toolchains Open and execute the project under the toolchain Section 4 6 1 and 4 6 2 describe the steps of executing project in Keil C51 and IAR EW8051 respectively 4 6 1 Keil C51 This sec...

Page 34: ...2 3 Figure 4 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...

Page 35: ...arget files After successfully 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 Succes...

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

Page 37: ...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 4 2 Figure 4 15 IAR EW8051 Window 3 Make target fil...

Page 38: ...8051 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...

Page 39: ...MD 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 G...

Page 40: ...N um ber R ev D at e Sheet of NuMaker ML56SD v1 1 ML56SD1AE Custom 2 3 Thursday September 10 2020 Bypass Cap P33 P48 P17 P32 P1 P16 P49 P64 R7 330R R0603 C4 0 1u C0603 C3 0 1u C0603 R6 330R R0603 1 2...

Page 41: ...n17 Pin26 Pin27 TK6_R Pin23 Pin32 TK0_R Pin30 Pin29 Pin28 P17 P32 P33 P48 Pin42 Pin37 Pin38 Pin44 Pin43 Pin39 Pin40 Pin41 Pin35 Pin48 Pin46 Pin47 Pin45 Pin33 Pin34 Pin36 Pin38 Pin39 Pin40 Pin41 Pin42...

Page 42: ...rge Pump Capacitor Touch Keys offpage VLCD TK6 P56_Pin Touch Key reference VDD_MCU GND VDD_MCU O f f page C onnect or TK0 PCB Touch Keys TK7 Ti t l e Si ze D ocum ent N um ber R ev D at e Sheet of NuM...

Page 43: ...Mar 08 2021 Page 43 of 46 Rev 1 01 NUMAKER ML56SD USER MANUAL M m U M PCB Placement Figure 5 5 and Figure 5 6 show the front and rear placement of NuMaker ML56SD Figure 5 5 Front Placement Figure 5 6...

Page 44: ...Pin9 LCD_Pin8 LCD_Pin17 LCD_Pin16 LCD_Pin15 LCD_Pin14 LCD_Pin13 LCD_Pin22 LCD_Pin20 LCD_Pin18 LCD_Pin23 LCD_Pin21 LCD_Pin19 LCD_Pin24 LCD_Pin28 LCD_Pin27 LCD_Pin26 LCD_Pin25 LCD_Pin33 LCD_Pin32 LCD_Pi...

Page 45: ...Mar 08 2021 Page 45 of 46 Rev 1 01 NUMAKER ML56SD USER MANUAL M m U M 7 REVISION HISTORY Date Revision Description 2020 08 21 1 00 1 Initial version 2021 03 08 1 01 2 Modified the Figure 4 11 Figure...

Page 46: ...sage 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 system...

Reviews: