Nuvoton NuMicro 8051 Series User Manual Download Page 1

NuMaker-ML56SD

 

 

Mar. 08, 2021 

Page 

1

 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

 

 

 

1T 8051 

8-bit Microcontroller

 

 

 

 

 

 

 

NuMaker-ML56SD 

User Manual  

NuMicro

®

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

 

 

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: