Nu-LB-M051 User Manual - Microcontroller (MCU)|M0 |M4 User Manual EN V1.0.pdf · Nu-LB-M051 User...

16
Nu-LB-M051 User Manual ARM Cortex™-M0 32-BIT MICROCONTROLLER Publication Release Date: Oct. 21, 2010 Revision V1.0 - 1 - Nu-LB-M051 User Manual For NuMicro M051 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.

Transcript of Nu-LB-M051 User Manual - Microcontroller (MCU)|M0 |M4 User Manual EN V1.0.pdf · Nu-LB-M051 User...

Page 1: Nu-LB-M051 User Manual - Microcontroller (MCU)|M0 |M4 User Manual EN V1.0.pdf · Nu-LB-M051 User Manual ARM ... Nuvoton is providing this document only for reference purposes of NuMicro™

Nu-LB-M051 User Manual

ARM Cortex™-M0

32-BIT MICROCONTROLLER

Publication Release Date: Oct. 21, 2010 Revision V1.0

- 1 -

Nu-LB-M051 User Manual For NuMicro™ M051 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.

Page 2: Nu-LB-M051 User Manual - Microcontroller (MCU)|M0 |M4 User Manual EN V1.0.pdf · Nu-LB-M051 User Manual ARM ... Nuvoton is providing this document only for reference purposes of NuMicro™

Nu-LB-M051 User Manual

Publication Release Date: Oct. 21, 2010 Revision V1.0 - 2 -

1 Overview ..................................................................................................... 3

2 Nu-LB-M051 Introduction............................................................................... 3 2.1 Functional Block of Nu -LB-M051 .............................................................................4 2.2 Pin Assignment for Extended Connector....................................................................5

3 How to Start Nu-LB-M051 on the Keil μVision® IDE............................................ 6 3.1 Keil uVision® IDE Software Download and Install .......................................................6 3.2 Nuvoton Nu-Link Driver Download and Install............................................................6 3.3 Hardware Setup....................................................................................................6 3.4 Smpl_StartKit Example Program .............................................................................7

4 How to Start Nu-LB-M051 on the IAR Embedded Workbench............................... 8 4.1 IAR Embedded Workbench Software Download and Install ..........................................8 4.2 Nuvoton Nu-Link Driver Download and Install............................................................8 4.3 Hardware Setup....................................................................................................8 4.4 Smpl_StartKit Example Program .............................................................................9

5 Nu-LB-M051 Schematic................................................................................ 10

6 Download NuMicro™ Family Related Files from Nuvoton Company ...................... 13 6.1 Download NuMicro™ Keil μVision® IDE driver ........................................................... 13 6.2 Download NuMicro™ IAR EWARM driver .................................................................. 14 6.3 Download NuMicro™ M051 series BSP Software Library ............................................. 15

7 Revision History.......................................................................................... 16

Page 3: Nu-LB-M051 User Manual - Microcontroller (MCU)|M0 |M4 User Manual EN V1.0.pdf · Nu-LB-M051 User Manual ARM ... Nuvoton is providing this document only for reference purposes of NuMicro™

Nu-LB-M051 User Manual

Publication Release Date: Oct. 21, 2010 Revision V1.0 - 3 -

1 Overview Nu-LB-M051 is the specific development tool for NuMicro M051 series. Users can use Nu-LB-M051 to learn easily how to display information, store date, communicate with PC and interact with human through M051 series. Besides, it also integrates ICE controller called Nu-Link-Me and users do not need other additional ICE or debug equipments. 2 Nu-LB-M051 Introduction Nu-LB-M051 uses the M0516LAN as the target microcontroller and includes rich functional blocks on board. Figure 2-1 is the positive and negative Nu-LB-M051. The positive Nu-LB-M051 includes main chip (M0516LAN), INT key, reset key, variable resistance, RGB LED, 8 LEDs, 128x64 Dot Matrix LCD and RS232 interface. The negative Nu-LB-M051 includes EEPROM, Flash and ICE controller called Nu-Link-Me. Nu-LB-M051 is similar to other development boards. Users can use the functional blocks connected with M0516LAN to develop and verify applications to emulate the real behavior. The on board chip covers M051 series features. The Nu-LB-M051 can be a real system controller to design users’ target systems. Nu-Link-Me is a Debug Adaptor. The Nu-Link-Me Debug Adaptor connects your PC's USB port to your target system (via Serial Wired Debug Port) and allows you to program and debug embedded programs on the target hardware. To use Nu-Link-Me Debug adaptor with IAR or Keil, please refer to “Nuvoton NuMicro™ IAR ICE driver user manual “or Nuvoton NuMicro™ Keil ICE driver user manual” in detail. These two documents will be stored in the local hard disk when the user installs each driver.

Figure 2-1 Nu-LB-M051

Page 4: Nu-LB-M051 User Manual - Microcontroller (MCU)|M0 |M4 User Manual EN V1.0.pdf · Nu-LB-M051 User Manual ARM ... Nuvoton is providing this document only for reference purposes of NuMicro™

Nu-LB-M051 User Manual

Publication Release Date: Oct. 21, 2010 Revision V1.0 - 4 -

2.1 Functional Block of Nu -LB-M051 Nu-LB-M051 provides the rich functional blocks connected with M0516LAN to display information, communicate with PC, store data and interact with human. Users can follow the pin assignment at Table 2-1 to control every functional block.

Functional Block Pin assignment Pin Function Description ICE controller(Nu-Link-Me) ICE_CLK

ICE_DATA SWD interface

Reset Key /RST Reset INT Key P3.2 INT0 Variable Resistance P1.0 AIN0(ADC input) Buzzer P4.3 PWM3 GRB LED P4.0

P4.1 P4.2

PWM0 PWM1 PWM2

8 LEDs P2.0~P2.7 GPIO or PWM0~PWM7 EEPROM P3.4

P3.5 I2C SDA I2C SCL

FLASH P0.4 P0.7 P0.6 P0.5

SPISS1 SPICLK1 MISO_1 MOSI_1

P1.4 P1.7 P1.6 P1.5

SPISS0 SPICLK0 MISO_0(LCD Reset) MOSI_0

Black Dot Matrix LCD Panel

P1.1 Background Enable/Disable P4.4 P4.5 P3.6 P3.7

/CS ALE /WR /RD

EBI Interface

P0.0~P0.7 P2.0~P2.7

AD0~AD7 AD8~AD15

Table 2-1 Functional Block for Nu-LB-M051

Page 5: Nu-LB-M051 User Manual - Microcontroller (MCU)|M0 |M4 User Manual EN V1.0.pdf · Nu-LB-M051 User Manual ARM ... Nuvoton is providing this document only for reference purposes of NuMicro™

Nu-LB-M051 User Manual

Publication Release Date: Oct. 21, 2010 Revision V1.0 - 5 -

2.2 Pin Assignment for Extended Connector Nu-LB-M051 provides M0516LAN on board and the extended connector for LQFP-48 pin. Table 2-2 is the pin assignment for M0516LAN.

Pin No Pin Name Pin No Pin Name

01 P1.5, MOSI_0, AIN5 25 P2.5, PWM5, AD13 02 P1.6, MISO_0, AIN6 26 P2.6, PWM6, AD14 03 P1.7, SPICLK0, AIN7 27 P2.7, PWM7, AD15 04 /RST 28 P4.4, /CS 05 P3.0, RXD 29 P4.5, ALE 06 AVSS 30 P4.6, ICE_CLK 07 P3.1, TXD 31 P4.7, ICE_DAT 08 P3.2, /INT0, STADC 32 P0.7, SPISCLK1, AD7 09 P3.3, /INT1, MCLK 33 P0.6, MISO_1, AD6 10 P3.4, T0, SDA 34 P0.5, MOSI_1, AD5 11 P3.5, T1, SCL 35 P0.4, SPISS1, AD4 12 P4.3, PWM3 36 P4.1, PWM1 13 P3.6, /WR, CKO 37 P0.3, RTS0, AD3 14 P3.7, /RD 38 P0.2, CTS0, AD2 15 XTAL2 39 P0.1, RTS1, AD1 16 XTAL1 40 P0.0, CTS1, AD0 17 VSS 41 VDD 18 LDO_CAP 42 AVDD 19 P2.0, PWM0, AD8 43 P1.0, T2, AIN0 20 P2.1, PWM1, AD9 44 P1.1, T3, AIN1 21 P2.2, PWM2, AD10 45 P1.2, RXD1, AIN2 22 P2.3, PWM3, AD11 46 P1.3, TXD1, AIN3 23 P2.4, PWM4, AD12 47 P1.4, SPISS0, AIN4 24 P4.0, PWM0 48 P4.2, PWM2

Table 2-2 Pin Assignment for M0516LAN

Page 6: Nu-LB-M051 User Manual - Microcontroller (MCU)|M0 |M4 User Manual EN V1.0.pdf · Nu-LB-M051 User Manual ARM ... Nuvoton is providing this document only for reference purposes of NuMicro™

Nu-LB-M051 User Manual

Publication Release Date: Oct. 21, 2010 Revision V1.0 - 6 -

3 How to Start Nu-LB-M051 on the Keil μVision® IDE

3.1 Keil uVision® IDE Software Download and Install Please visit the Keil company website (http://www.keil.com) to download the Keil μVision® IDE and install the RVMDK.

3.2 Nuvoton Nu-Link Driver Download and Install Please visit the Nuvoton company NuMicro™ website (http://www.nuvoton.com/NuMicro ) to download “NuMicro™ Keil μVision® IDE driver” file. Please refer to Chapter 6.1 for the detail download flow. When the Nu-Link driver has been well downloaded, please unzip the file and execute the “Nu-Link_Keil_Driver.exe” to install the driver.

3.3 Hardware Setup The hardware setup is shown as Figure 3-1

Figure 3-1 Nu-LB-M051 Hardware Setup

Page 7: Nu-LB-M051 User Manual - Microcontroller (MCU)|M0 |M4 User Manual EN V1.0.pdf · Nu-LB-M051 User Manual ARM ... Nuvoton is providing this document only for reference purposes of NuMicro™

Nu-LB-M051 User Manual

Publication Release Date: Oct. 21, 2010 Revision V1.0 - 7 -

3.4 Smpl_StartKit Example Program This example demonstrates the ease of downloading and debugging an application on a Nu-LB-M051 board. It can be found on Figure 3-2 list directory and downloaded from Nuvoton NuMicro™ website following on Chapter 6.3.

Directory Project File

Figure 3-2 Smpl_StartKit Example Directory To use this example: The LCD will display the result of ADC on the Nu-LB-M051 board.

Start μVision®

Project-Open Open the Smpl_StartKit.uvproj project file

Project - Build Compile and link the Smpl_StartKit application

Flash – Download Program the application code into on-chip Flash ROM

Start debug mode Using the debugger commands, you may:

Review variables in the watch window

Single step through code

Reset the device

Run the application

Page 8: Nu-LB-M051 User Manual - Microcontroller (MCU)|M0 |M4 User Manual EN V1.0.pdf · Nu-LB-M051 User Manual ARM ... Nuvoton is providing this document only for reference purposes of NuMicro™

Nu-LB-M051 User Manual

Publication Release Date: Oct. 21, 2010 Revision V1.0 - 8 -

4 How to Start Nu-LB-M051 on the IAR Embedded Workbench

4.1 IAR Embedded Workbench Software Download and Install Please connect to IAR company website (http://www.iar.com) to download the IAR Embedded Workbench and install the EWARM.

4.2 Nuvoton Nu-Link Driver Download and Install Please connect to the Nuvoton Company NuMicro™ website (http://www.nuvoton.com/NuMicro) to download “NuMicro™ IAR ICE driver user manual” file. Please refer to Chapter 6.2 for the detail download flow. When the Nu-Link driver has been well downloaded, please unzip the file and execute the “Nu-Link_IAR_Driver.exe” to install the driver.

4.3 Hardware Setup The hardware setup is shown as Figure 4-1

Figure 4-1 Nu-LB-M051 Hardware Setup

Page 9: Nu-LB-M051 User Manual - Microcontroller (MCU)|M0 |M4 User Manual EN V1.0.pdf · Nu-LB-M051 User Manual ARM ... Nuvoton is providing this document only for reference purposes of NuMicro™

Nu-LB-M051 User Manual

Publication Release Date: Oct. 21, 2010 Revision V1.0 - 9 -

4.4 Smpl_StartKit Example Program This example demonstrates the ease of downloading and debugging an application on a Nu-LB-M051 board. It can be found on Figure 4-2 list directory and downloaded from Nuvoton NuMicro™ website following on Chapter 6.3.

Directory Project File

Figure 4-2 Smpl_StartKit Example Directory To use this example: The LCD will display the result of ADC on the Nu-LB-M051 board.

Start IAR Embedded Workbench

File-Open-Workspace Open the Smpl_StartKit.eww workspace file

Project - Make Compile and link the Smpl_StartKit application

Project – Download and Debug Program the application code into on-chip Flash ROM.

Single step through code

Reset the device

Run the application

Page 10: Nu-LB-M051 User Manual - Microcontroller (MCU)|M0 |M4 User Manual EN V1.0.pdf · Nu-LB-M051 User Manual ARM ... Nuvoton is providing this document only for reference purposes of NuMicro™

Nu-LB-M051 User Manual

Publication Release Date: Oct. 21, 2010 Revision V1.0 - 10 -

5 Nu-LB-M051 Schematic

SPI_MISOSPI_CLK

UART_TXUART_RXRX

TX

SPI_SSSPI_SS

SPI_MOSISPI_MOSI

SPI_MISOSPI_CLK

SPI1_MISO SPI1_MOSISPI1_SSSPI1_MOSI

SPI1_SS

SPI1_CLK SPI1_CLKSPI1_MISO

VCC

R410KR0603

C6

10uF/10VTANT-A

SW1PUSH BOTTOMSW

AD[0..15]AD[0..15]

PIN2PIN1JP2

HEADER 6X2

1 23 45 67 89 1011 12

PIN3

PIN9PIN8

PIN5 PIN6PIN4

PIN12PIN11PIN10

PIN7

ICE_RSTICE_RST

VCCGNDGND

VCC

C15

820pfC0603

ADC0

ADAVSS

ADAVSS

PIN

40A

D0

PIN6

PIN

18

PIN

48PW

M2

PIN

17

CB30.1u

C0603

DAVDD

PIN

14nR

D

PIN

41CB70.1u

C0603

PIN31 ICE_DAT

PIN

15

PIN29 ALEPIN30 ICE_CLK

PIN

13nW

R

VCC

PIN

44LC

D_L

ED

PIN

46

VCC5

ADAVSS

PIN

42

VCC5

PIN4ICE_RST

PIN7TXPIN8INT0

PIN5RX

PIN1SPI_MOSI

CB410uF/6.3VTANT-R

PIN9

PIN

20LE

D1

AD9

PIN

19LE

D0

AD8

PIN25 LED5 AD13

PIN

21LE

D2

AD10

PIN

22LE

D3

AD11

PIN28 nCS

PIN26 LED6 AD14

PIN

23LE

D4

AD12

PIN27 LED7 AD15

PIN

24PW

M0

PIN35 SPI1_SS AD4PIN36 PWM1

PIN33 SPI1_MISO AD6P

IN37

AD

3PIN34 SPI1_MOSI AD5

PIN32 SPI1_CLK AD7

PIN

39A

D1

PIN

43AD

C0

PIN

38A

D2

U5

M052 LQFP 48

IC51-0484-806A

IN1/

T2/P

1.1

44AI

N2/

RXD

1/P

1.2

45AI

N3/

TXD

1/P

1.3

46AI

N3/

SS0/

P1.

447

P4.

248

MOSI_0/AIN5/P1.51

MISO_0/AIN6/P1.62

SCLK0/AIN7/P1.73

VSS

17

LDO

_CAP

18

P2.0

/AD

8/PW

M0

19

P2.1

/AD

9/PW

M1

20

P2.2

/AD

10/P

WM

221

P2.3

/AD

11/P

WM

322

P2.4

/AD

12/P

WM

423

P4.0

24

P2.6/AD14/PWM6 26

P4.6/ICE_CLK 30P4.7/ICE_DAT31P0.7/AD7/SCLK1 32P0.6/AD6/MISO_1 33P0.5/AD5/MOSI_1 34P0.4/AD4/SS135P4.1 36

P0.3

/AD

3/R

TS0

37P0

.2/A

D2/

CTS

038

P0.1

/AD

1/R

TS1

39

RST4

RXD/P3.05

AVSS6

MCLK/INT1/P3.39TXD/P3.17

INT0/P3.28

SDA/T0/P3.410

SCL/T1/P3.511

P4.312

P3.6

/WR

/CKO

13

P4.5/ALE 29

P4.4/CS 28

AIN

0/T2

/P1.

043

AVD

D42

VDD

41

P0.0

/AD

0/C

TS1

40

P3.7

/RD

14

XTA

L116

XTA

L215

P2.5/AD13/PWM5 25P2.7/AD15/PWM7

27

ICE_DATICE_CLKICE_CLK

ICE_DAT

PIN3SPI_CLK

PIN

47SP

I_SS

PIN

45

PIN11SCL

PIN2SPI_MISO

PIN12PWM3

PIN10SDA

LCD_LEDLCD_LED

CB10.1u

C0603

DAVDD

CT110uF/10V

TANT-R

CB20.1u

C0603

VCC

CT210uF/10V

TANT-R

L2

L0603

ADAVSS

L3

L0603

CB60.1u

C0603

CT310uF/10V

TANT-R

U1RT9164A-3.3v

IN3

GN

D1

OU

T2

OU

T4

VCC5

nWRnWR

nRDnRD ALEALE

nCSnCS

JP4

HEADER 6X2

1 23 45 67 89 1011 12

PIN13

PIN17 PIN18PIN15 PIN16

PIN14

PIN23 PIN24

PIN19 PIN20PIN21

PIN26PIN25

PIN22

JP3

HEADER 6X2

1 23 45 67 89 1011 12

PIN28PIN27PIN29

PIN32

PIN35

PIN31PIN33

PIN30

PIN36PIN34

JP1

HEADER 6X2

1 23 45 67 89 1011 12

PIN37PIN39

PIN38

PIN41

PIN45PIN44PIN42PIN40

PIN43

PIN47 PIN48PIN46

DAVDD

VR120K

VCC

R110K

PWM3R210K

R0603 BZ1

2400Hz

12

Q18550

RINT110KR0603

VCC

INT0

SW_INT1PUSH BOTTOMSW

LED[0..7]LED[0..7]

PowerNuMicro M0516

Pin interface

ADCBuzzerReset

24LC64 3 Color LED

C1420pC0603

X3

12MHzXTAL3-1

C1320pC0603

PIN

16

EEPROMADDRESS:0H

SCL

I2C-EEPROM

24LC64

U4

GND4 A23 A12 A01

SDA5SCL 6WP 7VCC 8

VCC

SDA

R7

2.2K

R82.2K

Title

Size Document Number Rev

Date: Sheet of

<Doc> V1.0

Nu-LB-M051 (1/3)

A4

1 4Thursday , October 21, 2010

RRGB2 500 R0603RRGB3 500 R0603

VCC

RGBLED1

1234 RRGB1 500 R0603

PWM1PWM2

PWM0

Page 11: Nu-LB-M051 User Manual - Microcontroller (MCU)|M0 |M4 User Manual EN V1.0.pdf · Nu-LB-M051 User Manual ARM ... Nuvoton is providing this document only for reference purposes of NuMicro™

Nu-LB-M051 User Manual

Publication Release Date: Oct. 21, 2010 Revision V1.0 - 11 -

LED

Title

Size Document Number Rev

Date: Sheet of

<Doc> 1.0

Nu-LB-M051 (2/3)

A4

2 4Thursday , October 21, 2010

SPI_CLKLCM_RST

UART_RXUART_TXRX

TX SPI_MISOSPI_MOSISPI_SSSPI_MOSI

SPI_SS

SPI_CLK

SPI1_MOSISPI1_SS

SPI1_CLKSPI1_MISO

SPI1_CLKSPI1_MISOSPI1_MOSISPI1_SS

AD2AD0

AD4

nRDAD14AD12AD10

nCSALE

AD8AD6

AD1

AD7

AD11AD9

AD5

AD15nWR

AD3

AD13

HEADER 2X13

J1

HRADER13X2\2.54

17

31

15

9

13

7

19

11

2468101214161820

5

212223242526

VCC

VCCGND

VCCGND

LCD_LEDLCD_LED

U3W25X16VSSIG

SOIC-8P

CS#1

DO2

WP#3

GND4 DI 5CLK 6HOLD# 7VCC 8

VCC

SPI1b_MISOSPI1b_CLKSPI1b_MOSI

R6

4.7KSPI1b_SS

R54.7K

AD[0..15]AD[0..15]

nWRnRD

nWRnRD

nCSALEnCS

ALECB5

0.1uC0603T2

K

C70.01u

C0603

R1210KR0603

C104.7u

C0603

T1A

C91uC0603

R1110M

R0603

VCC

VCC

GND

SPI_CLK

SPI_SSLCM_RST

SPI_MOSI

Drain

Gate

Source

(P-FET)

VCC

QL1

Si2301ADS1

32

CL2

C/C,1uF

CL3

C/C,0.1uF

CL1

C/C,0.1uF

EBI

RL1 33

GND

LCD_LED

CON2

FPC30\0.5MMFPC 1X30

11

22

33

44

55

66

77

88

99

1010

1111

1212

1414 1313

1515

1616

1717

1818

1919

2020

2121

2222

2323

2424

2525

2626

2727

2828

2929

3030

C81u

C0603

J2

HEADER 8X2

2468

10121416

13579111315

LED[0..7]LED[0..7]

GND

GND

GNDCON1

DB9_MALE162738495

10

11C40.1u

C0603C5

0.1uC0603

C10.1u

C0603C3

0.1uC0603

C20.1u

C0603

LED0

RXTX

VCCVCC

GND

SPI Flash

UART64*128 Dot Matrix LCM

LED1

U2SP232ECN

DIP16\SO

C1+1

V+2

C1-3

C2+4

C2-5

V-6

T2_OUT7

R2_IN8

VCC 16

GND 15

T1_OUT 14

R1_IN 13

R1_OUT 12

T1_IN 11

T2_IN 10

R2_OUT 9

L1L0603

LED2LED3LED4LED5LED6LED7

LEDb0LEDb1LEDb2LEDb3LEDb4

LEDb3 12

LED5KPT-2012

KP-2012

VCC

LEDb5

LEDb1

LEDb2

LEDb6LEDb7

12

LED2KPT-2012

KP-2012

RP18P4R-300

8P4RA

1 23 45 67 8

LEDb0

12

LED3KPT-2012

KP-2012

12

LED4KPT-2012

KP-201212

LED8KPT-2012

KP-2012

12

LED7KPT-2012

KP-2012

LEDb4

J3

HEADER 4X2

2468

1357

12

LED6KPT-2012

KP-2012

12

LED9KPT-2012

KP-2012

SPI1_SS

RP28P4R-300

8P4RA

1 23 45 67 8

VCC

LEDb6

LEDb7

LEDb5

SPI1_CLK

SPI1_MOSISPI1_MISO

SPI1b_SS

SPI1b_MISOSPI1b_CLK

SPI1b_MOSI

Page 12: Nu-LB-M051 User Manual - Microcontroller (MCU)|M0 |M4 User Manual EN V1.0.pdf · Nu-LB-M051 User Manual ARM ... Nuvoton is providing this document only for reference purposes of NuMicro™

Nu-LB-M051 User Manual

Publication Release Date: Oct. 21, 2010 Revision V1.0 - 12 -

Title

Size Document Number Rev

Date: Sheet of

<Doc> V1.0

Nu-LB-M051 (3/3)

A4

3 4Thursday , October 21, 2010

USB_DPUSB_DN

VCC

GNDGND

VCC5VCC

ICE_CLKICE_DAT

VCC5

TICECLKTICEDAT

ICE_RSTTICERST

ICER310KR0603

ICEC310uF/10V

TANT-A

VCC

DRET

VCC

VCC

VCC

VCC

ICECHIP1

NUC12SRE3AN

PA0/ADC0 44PA1/ADC1 45PA2/ADC2 46PA3/ADC347PA4/ADC448INT0/PB14

1

CPO1/PB132

CPO0/PB123

VBU

S17

VDD

3318

D-

19

D+

20

PB0/

RX

021

PB1/

TX0

22

PB2/

RT

S023

PB3/

CT

S024

PC2/

SDI0

026

PC1/

SPC

LK0

27

PC0/

SS00

28

PC11/SDO10 33PC10/SDI10 34PC9/SPCLK1 35PC8/SS10 36PA15/PWM337PA14/PWM238PA13/PWM139

X32I4

X32O5

I2C1SCL/PA116

I2C0SDA/PA89I2C1SDA/PA107

I2C0SCL/PA98

RX1/PB410

TX1/PB511

RTS1/PB612

CTS1/PB713

PC3/

SDO

0025

AVSS 43

ICE_CK 42

ICE_DAT 41

PA12/PWM040

LDO14

VSS16 VDD15

AD

C/P

A549

ADC

6/P

A650

ADC

7/P

A751

AVD

D52

CP

N0/

PC

753

CP

P0/P

C6

54C

PN1/

PC15

55C

PP1/

PC14

56IN

T1/P

B15

57X

T1_O

ut58

XT1

_In

59/R

ESET

60VS

S161

VDD

162

PVSS

63S

TAD

C/T

M0/

PB8

64

PE5

29

PB11

/TM

330

PB10

/SS

01/T

M2

31

PB9/

SS11

/TM

132

ICPLED

GREENRED

ICELED

ICEC50.1uC0603

ICEC410uF/6.3V

TANT-R

USB

_DP

DVBUS

USB

_DN

ICEC61u

C0603

ICEC70.1u

C0603

TICERST

RTDA2

0R0603

TICECLK

RTCK1100K

R0603

TICEDATRTDA3

1K

R0603

RTDA1100K

R0603

RRSET1100K

R0603

DDATDCLK

X212MHzXTAL3-1

DH1

HEADER 5

12345

ICEC220p

C0603

ICEC120pC0603

DCLKDRET

DDAT

VCC

VCC

1 2ICED1

SS24ARB060L

DVBUS

1 2

BUSY1

KPT-2012KP-2012

ICE_USB1mini USB 5pin

USB_MINI_B

GND5 NC4 DP3 DM2 VCC1 SHIELD 6

SHIELD 7

SHIELD8

SHIELD9

VCC5

ICERP1

8P4R-3308P4RA

12345678 ICELED

1 2

ICP1

KPT-2012KP-2012

ICRR1100R0603

ICER4100R0603

ICPLED

RED

ICE Interface

Nu-Link on board (NUC12SRE3AN) USB

LED

1 2

IDLE1

KPT-2012KP-2012

ICEL3

L0805

GREEN

1 2

ICE1

KPT-2012KP-2012

Page 13: Nu-LB-M051 User Manual - Microcontroller (MCU)|M0 |M4 User Manual EN V1.0.pdf · Nu-LB-M051 User Manual ARM ... Nuvoton is providing this document only for reference purposes of NuMicro™

Nu-LB-M051 User Manual

Publication Release Date: Oct. 21, 2010 Revision V1.0 - 13 -

6 Download NuMicro™ Family Related Files from Nuvoton Company

6.1 Download NuMicro™ Keil μVision® IDE driver

Step1

Visit the Nuvoton NuMicro™ website: http://www.nuvoton.com/NuMicro

Step2

Step 3

Step 4

Download the NuMicro Keil μVision® IDE driver

Page 14: Nu-LB-M051 User Manual - Microcontroller (MCU)|M0 |M4 User Manual EN V1.0.pdf · Nu-LB-M051 User Manual ARM ... Nuvoton is providing this document only for reference purposes of NuMicro™

Nu-LB-M051 User Manual

Publication Release Date: Oct. 21, 2010 Revision V1.0 - 14 -

6.2 Download NuMicro™ IAR EWARM driver

Step1

Visit the Nuvoton NuMicro™ website: http://www.nuvoton.com/NuMicro

Step2

Step 3

Step 4

Download the NuMicro™ IAR Embedded Workbench® driver

Page 15: Nu-LB-M051 User Manual - Microcontroller (MCU)|M0 |M4 User Manual EN V1.0.pdf · Nu-LB-M051 User Manual ARM ... Nuvoton is providing this document only for reference purposes of NuMicro™

Nu-LB-M051 User Manual

Publication Release Date: Oct. 21, 2010 Revision V1.0 - 15 -

6.3 Download NuMicro™ M051 series BSP Software Library

Step1

Visit the Nuvoton NuMicro™ website: http://www.nuvoton.com/NuMicro

Step2

Click here to enter Software Library page

Step 3

Download the NuMicro™ M051 series software library

Page 16: Nu-LB-M051 User Manual - Microcontroller (MCU)|M0 |M4 User Manual EN V1.0.pdf · Nu-LB-M051 User Manual ARM ... Nuvoton is providing this document only for reference purposes of NuMicro™

Nu-LB-M051 User Manual

Publication Release Date: Oct. 21, 2010 Revision V1.0 - 16 -

7 Revision History

Version Date Page Description

1.0 Oct. 21, 2010 -- Initial Release

Important Notice

Nuvoton products are not designed, intended, authorized or warranted for use as components in systems or equipment intended for surgical implantation, atomic energy control instruments, airplane or spaceship instruments, transportation instruments, traffic signal instruments, combustion control instruments, or for other applications intended to support or sustain life. Further more, Nuvoton products are not intended for applications wherein failure of Nuvoton products could result or lead to a situation wherein personal injury, death or severe property or environmental damage could occur.

Nuvoton customers using or selling these products for use in such applications do so at their own risk and agree to fully indemnify Nuvoton for any damages resulting from such improper use or sales.

Please note that all data and specifications are subject to change without notice. All the trademarks of products and companies mentioned in this datasheet belong to their respective owners.