Nuvoton NuMaker-M031TC Скачать руководство пользователя страница 34

NuMaker-M031TC

 

 

Feb. 

20, 2019 

Page 

34

 of 36 

Rev 1.00 

N

UMA

K

E

R

-M0
31
T

C

 U

S

E

R

 MA

N

UA
L

 

Ma
k

er Nu

-m

be
d

 NUC

47

Us
er Man

ua

 

 

Extension Connector 

4.3

Figure 4-3 shows extension connectors of NuMaker-M031TC. 

 

Figure 4-3 Extension Connectors Circuit  

 

PF4_X32_OUT

PF5_X32_IN

PF3_XT1_IN

P1

P6

P5

P4

P3

P2

P8

P7

JP3

HEADER8x2/2.54 (NC)

2
4
6
8

10
12
14
16

1
3
5
7
9
11
13
15

JP4

HEADER8x2/2.54 (NC)

2
4
6
8

10
12
14
16

1
3
5
7
9
11
13
15

JP5

HEADER8x2/2.54 (NC)

2
4
6
8

10
12
14
16

1
3
5
7
9
11
13
15

JP6

HEADER8x2/2.54 (NC)

2
4
6
8

10
12
14
16

1
3
5
7
9
11
13
15

PF2_XT1_OUT
PA3_NU3_D10/SS
PA2_NU3_D13/CLK

TICERST

PA0_NU3_D11/MOSI
PF15

PA1_NU3_D12/MISO

P20
P21
P22

P17
P18

P24

P23

P19

VDD

P22

P17
P18

P24

P23

P19
P20
P21

P29

P28

P26
P27

P25

P32

P31

P30

P29

P28

P26
P27

P25

P32

P31

P30

P13

P9
P10

P12

P11

P17 - P24

P16

P15

P14

P13

P12

P10
P11

P9

P16

P15

P14

PB3_NU3_D1/TX

PB4_NU2_A3

PB5_NU2_A2

PB0_NU2_A4/SDA/RX

PB1_NU2_A5/SCL/TX

PB2_NU3_D0/RX

P24 - P32

LDO_CAP

GND

AVDD

VDD_MCU

MCU_TX
MCU_RX

PB15_NU2_A0
PB14_NU2_A1

External Connector

UNO Interface

P1 - P8

P9 - P18

P2

P4

P3

P1

P8

P7

P6

P5

Title

Size

Document Number

Rev

Date:

Sheet

of

NuMaker-M031TC

v1.1

Ext. Connector

Custom

3

3

Thursday , January  24, 2019

PC0_NU4_SDA

PC1_NU4_SCL

NU1

HEADER 2.54 8X1 f emale

NC

1

VDD

2

MCU_RESET

3

3VCC

4

5VCC

5

VSS

6

VSS

7

VIN

8

TICECLK

PA13_NU3_D3

PA12_NU3_D2

NU3

HEADER 2.54 8X1 f emale

D0

1

D1

2

D2

3

D3

4

D4

5

D5

6

D6

7

D7

8

PA14_NU3_D4
PA15_NU3_D5

TICEDAT

NU4

HEADER 2.54 10X1 f emale

D8

1

D9

2

D10

3

D11

4

D12

5

D13

6

VSS

7

VREF

8

I2C_SDA

9

I2C_SCL

10

NU2

HEADER 2.54 6X1 f emale

A0

1

A1

2

A2

3

A3

4

A4/SDA

5

A5/SCL

6

GND

GND

TICERST

PB4_NU2_A3

PB14_NU2_A1
PB5_NU2_A2

PB15_NU2_A0

PC0_NU4_SDA

PC1_NU4_SCL

PB0_NU2_A4/SDA/RX
PB1_NU2_A5/SCL/TX

PA3_NU3_D10/SS

PA2_NU3_D13/CLK

AVDD
GND

NU3_D8_NC

NU3_D9_NC

PA0_NU3_D11/MOSI

PA1_NU3_D12/MISO

PA15_NU3_D5
PA14_NU3_D4

NU3_D6_NC

NU3_D7_NC

PB2_NU3_D0/RX

PB3_NU3_D1/TX

PA12_NU3_D2

PA13_NU3_D3

NU1_VIN

NU1_5VCC

NU1_3VCC

Содержание NuMaker-M031TC

Страница 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...

Страница 2: ...es 14 2 5 3 3 3 V Power Sources 14 2 5 4 1 8V Power Sources 15 2 5 5 Power Connectors 15 2 5 6 USB Connectors 15 2 5 7 Power Switches 15 2 5 8 Power Supply Models 16 2 5 9 Ammeter Connector 19 2 5 10...

Страница 3: ...NuMaker M031TC Feb 20 2019 Page 3 of 36 Rev 1 00 NUMAKER M031TC USER MANUAL M m U Nu Link2 Me 32 4 1 M031 Platform 33 4 2 Extension Connector 34 4 3 5 REVISION HISTORY 35...

Страница 4: ...llation Setup 22 Figure 3 2 Nu Link USB Driver Installation 23 Figure 3 3 Open VCOM Function 24 Figure 3 4 ICE USB Connector 24 Figure 3 5 Device Manger 25 Figure 3 6 PuTTY Session Setting 25 Figure 3...

Страница 5: ...Power Source 14 Table 2 4 5V Power Sources 14 Table 2 5 3 3 V Power Sources 14 Table 2 6 1 8V Power Sources 15 Table 2 7 Power Connectors 15 Table 2 8 USB Connectors 15 Table 2 9 Power Switches 15 Ta...

Страница 6: ...or the microcontroller s power consumption during development The Nu Link2 Me is a debugger and programmer that supports on line programming and debugging through SWD interface The on board 16 Mbit SP...

Страница 7: ...2019 Page 7 of 36 Rev 1 00 NUMAKER M031TC USER MANUAL M m U ICE USB connector on Nu Link2 Me On board Nu Link2 Me debugger and programmer Debug through SWD interface On line off line programming Virt...

Страница 8: ...1 Platform Figure 2 1 Front View of NuMaker M031TC Figure 2 1 shows the main components and connectors from the front side of NuMaker M031TC The following lists components and connectors from the fron...

Страница 9: ...gure 2 2 shows the main components and connectors from the rear side of NuMaker M031TC The following lists components and connectors from the rear view Nu Link2 Me MCUVCC Power Switch ICEJPR1 ICEVCC P...

Страница 10: ...OSI PWM0_CH5 PA 0 D11 SPI0_MISO PWM0_CH4 PA 1 D12 SPI0_CLK PWM0_CH3 PA 2 D13 VSS VSS AVDD VREF I2C0_SCL PC 0 SDA I2C0_SDA PC 1 SCL UART1_RXD PWM0_CH2 PB 2 D0 UART1_TXD PWM0_CH3 PB 3 D1 PA 12 D2 PA 13...

Страница 11: ...A4 PB 0 NU3 3 D2 PA 12 NU2 4 A3 PB 4 NU3 4 D3 PA 13 NU2 3 A2 PB 5 NU3 5 D4 PA 14 NU2 2 A1 PB 14 NU3 6 D5 PA 15 NU2 1 A0 PB 15 NU3 7 D6 NC N U 1 NU1 8 VIN NU3 8 D7 NC NU1 7 VSS N U 3 NU4 1 D8 NC NU1 6...

Страница 12: ...ssignment for Extension Connectors 2 4 The NuMaker M031TC provides the M031TC1AE target chip onboard and full pins extension connectors JP3 JP4 JP5 and JP6 The Figure 2 4 shows the M031TC1AE extension...

Страница 13: ...0_CH2 CLKO JP5 7 JP5 8 12 PA 2 SPI0_CLK UART1_RXD I2C1_SDA PWM0_CH3 JP5 9 JP5 10 13 PA 1 SPI0_MISO UART0_TXD UART1_nCTS PWM0_CH4 JP5 11 JP5 12 14 PA 0 SPI0_MOSI UART0_RXD UART1_nRTS PWM0_CH5 JP5 13 JP...

Страница 14: ...J2 USB_VBUS USB connector on NuMaker M031TC supplies 5 V power from PC to M031 platform and Nu Link2 Me NU1 pin5 NU1_5VCC ICEJ3 J2 or NU1 pin8 supplies 5 V power to NU1 pin5 NU1 pin5 supplies 5 V pow...

Страница 15: ...e NuMaker M031TC JP2 VSS connector on the NuMaker M031TC Table 2 7 Power Connectors 2 5 6 USB Connectors Table 2 8 presents the USB connectors Connector Comment ICEJ3 ICE USB connector on Nu Link2 Me...

Страница 16: ...chip operating voltage 3 Switch the SW2 to OFF 4 Connect the external power supply to JP1 Table 2 10 presents all power models when supplies external power through Nu Link2 Me The Nu Link2 Me externa...

Страница 17: ...t the 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...

Страница 18: ...VCC 3 3 V output Remove resistor 3 3 V 3 3 V 6 5 V 7 V 12 V Input X Ignore NU1 5VCC 5 V output Remove resistor 3 3 V 3 3 V 7 5 V X Connect to PC Ignore NU1 5VCC 5 V output Remove resistor 3 3 V 3 3 V...

Страница 19: ...al VSS Connector JP2 Separate Nu Link2 Me Figure 2 8 Wiring between Ammeter Connector and Ammeter 2 5 10 Extension Connectors Table 2 13 presents the extension connectors Connector Comment JP3 JP4 JP5...

Страница 20: ...s on line programming and debugging through SWD interface The on board 16 Mbit SPI Flash allows it to off line program the target microcontroller Additionally the Nu Link2 Me provides virtual COM port...

Страница 21: ...b 20 2019 Page 21 of 36 Rev 1 00 NUMAKER M031TC USER MANUAL M m U PCB Placement 2 7 Figure 2 9 and Figure 2 10 show the front and rear placement of NuMaker M031TC Figure 2 9 Front Placement Figure 2 1...

Страница 22: ...EWARM NuEclipse GCC Windows NuEclipse GCC Linux Nuvoton Nu Link Driver Installation 3 2 Download and install the latest Nuvoton Nu Link Driver Download and install Nu Link_Keil_Driver when using Keil...

Страница 23: ...NuMaker M031TC Feb 20 2019 Page 23 of 36 Rev 1 00 NUMAKER M031TC USER MANUAL M m U Figure 3 2 Nu Link USB Driver Installation...

Страница 24: ...he Board Support Package BSP Hardware Setup 3 4 1 Open the virtual COM VCOM function by changing Nu Link2 Me VCOM Switch No 1 and 2 to ON Figure 3 3 Open VCOM Function 2 Connect the ICE USB connector...

Страница 25: ...v 1 00 NUMAKER M031TC USER MANUAL M m U Figure 3 5 Device Manger 4 Open a serial port terminal PuTTY for example to print out debug message Set the speed to 115200 Figure 3 6 presents the PuTTY sessio...

Страница 26: ...he Project under Toolchains 3 6 Open and execute the project under the toolchain The section 3 6 1 3 6 2 and 3 6 3 describe the steps of executing project in Keil MDK IAR EWARM and NuEclipse respectiv...

Страница 27: ...Project File Migrate to Version 5 Format 2 Make sure the debugger is Nuvoton Nu Link Debugger as shown in Figure 3 10 and Figure 3 11 Note If the dropdown menu in Figure 3 10 does not contain Nuvoton...

Страница 28: ...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 3 12 Com...

Страница 29: ...UMAKER M031TC 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 3 13 Keil MDK Debug Mode Figure...

Страница 30: ...ww to open the project 2 Make sure the toolbar contain Nu Link item as shown in Figure 3 15 Note If the toolbar does not contain Nu Link item please rework section 3 2 Figure 3 15 IAR EWARM Window 3 M...

Страница 31: ...n Figure 3 18 User can debug the project under debug mode by checking source code assembly language peripherals registers and setting breakpoint step run value monitor etc 1 2 3 1 Go 3 Reset 2 Break F...

Страница 32: ...B_VDD33 HXT_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 HO...

Страница 33: ...JP2 NC 1 2 3 4 JP1 NC 1 2 3 4 C12 0 1u VDD AVDD C11 0 1u CT2 10uF 10V 1 2 CT3 10uF 10V 1 2 L2 FERRITE BEAD L4 FERRITE BEAD Power C13 0 01u LED U2 M031TC1AE PB 5 ADC0_CH5 I2C0_SCL PWM0_CH0 UART2_TXD T...

Страница 34: ...NU2_A2 PB0_NU2_A4 SDA RX PB1_NU2_A5 SCL TX PB2_NU3_D0 RX P24 P32 LDO_CAP GND AVDD VDD_MCU MCU_TX MCU_RX PB15_NU2_A0 PB14_NU2_A1 External Connector UNO Interface P1 P8 P9 P18 P2 P4 P3 P1 P8 P7 P6 P5 Ti...

Страница 35: ...NuMaker M031TC Feb 20 2019 Page 35 of 36 Rev 1 00 NUMAKER M031TC USER MANUAL M m U 5 REVISION HISTORY Date Revision Description 2019 02 20 1 00 1 Initially issued...

Страница 36: ...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...

Отзывы: