background image

NuMaker-M2354

 

 

Dec. 25, 2020 

Page 

47

 of 54 

Rev 1.00

 

N

UMA

K

E

R

-M2
35
4

 US
E


MA

NU

A

L

 

Ma
k

er Nu

-m

be
d

 NUC

47

Us
er Man

ua

 

 

MCU Connector 

 

Figure 5-5 shows the MCU Connector of JP6 to JP9. 

 

Figure 5-5 MCU connector 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

JP7

HEADER 2.54 16X2 (NC)

2
4
6
8
10
12
14
16
18
20
22
24
26
28
30
32

1
3
5
7
9

11
13
15
17
19
21
23
25
27
29
31

JP8

HEADER 2.54 16X2 (NC)

2
4
6
8
10
12
14
16
18
20
22
24
26
28
30
32

1
3
5
7
9

11
13
15
17
19
21
23
25
27
29
31

JP9

HEADER 2.54 16X2 (NC)

2
4
6
8
10
12
14
16
18
20
22
24
26
28
30
32

1
3
5
7
9

11
13
15
17
19
21
23
25
27
29
31

P36

P34

P38

P50

P56

P40

P58

P54

P44

P42

P46

P60
P62

P52

P48

P64

P51
P53

P45

P35

P33

P49

P47

P59

P39
P41

P61

P57

P43

P63

P37

P55

P85

P89

P95

P79

P73

P87

P91

P81
P83

P75

P93

P77

P82

P74

P86

P80

P84

P88
P90

P78

P92
P94
P96

P76

P65

P71

P69

P67

P68

P72

P66

P70

P111

P115

P121

P127

P117

P113

P123
P125

P109

P119

P116

P112

P126
P128

P120

P118

P114

P110

P124

P122

P97
P99

P100

P98

P101

P105

P103

P107

P102
P104
P106
P108

P66

P65

P69

P68

P67

P66

PF.1

ICECLK

P65

PF.0

ICEDAT

P72

P71

P70

P67

PD.9

COM7

P70

PC.4

COM4

P69

PC.5

COM5

P68

PD.8

COM6

P33

P64

~

P72

PC.2

COM2

P71

PC.3

COM3

P65

P96

~

P97

P128

P1

P32

~

~

P1

PF.8

P27

PF.9

P26

PF.10

P25

P2

P30

VBAT

PF.6

P29

PF.7

P28

P4

P3

PF.4

P32

XT32_OUT

PF.5

P31

XT32_IN

P6

P5

P22

PG.3

SEG38

P21

PG.2

SEG39

P22

P21

P24

PF.11

P23

PG.4

SEG37

P38

P37

P7

P25

P24

P23

P43

P42

P41

P40

P39

P48

P47

P46

P45

P44

P54

P53

P52

P51

P50

P49

P59

P58

P57

P56

P55

P64

P63

P62

P61

P60

P113

P110
P111

P109

P97

PE.7

SEG12

P116
P117

P114
P115

P112

P122
P123

P120
P121

P118
P119

P128

P126
P127

P124
P125

P77

P76

P75

P74

P73

P83

P82

P81

P80

P79

P78

P88

P87

P86

P85

P84

P93

P92

P91

P90

P89

P99

P98

P97

P96

P95

P94

P104

P103

P102

P101

P100

P108

P107

P106

P105

P2

PB.4

P5

PC.12

P4

PB.2

P3

PB.3

P1

PB.5

P10

PB.0

P9

PB.1

P7

PC.10

P6

PC.11

P14

PA.10

P12

VDD

VDD_MCU

P13

PA.11

P11

VSS

GND

P18

PD.12

P17

PC.13

P16

PA.8

P15

PA.9

P81

PG.13

SEG17

P20

PD.10

P19

PD.11

P85

PD.6

SEG13

P84

PD.7

SEG14

P83

PG.15

SEG15

P82

PG.14

SEG16

P88

PD.3

P87

PD.4

P86

PD.5

P27
P28

P91

PD.0

P90

PD.1

P89

PD.2

P32

P31

P29
P30

P8

PC.9

P12

P11

P10

P9

P8

P16

P26

P15

P14

P13

P20

P19

P18

P17

P109

PH.10

SEG2

P112

VSS

GND

P111

PD.14

SEG0

P110

PH.11

SEG1

P116

PB.15

P115

LDO1_CAP

P114

VDD_MCU

P113

Vsw

P119

PB.12

P120

AVDD

P118

PB.13

P117

PB.14

P100

PE.4

SEG9

P99

PE.5

SEG10

P98

PE.6

SEG11

P96

PA.15

P103

VSS

GND

P102

PE.2

SEG7

P101

PE.3

SEG8

P106

PE.0

SEG5

P105

PE.1

SEG6

P104

VDD

VDD_MCU

P93

PA.12

P92

PD.13

P108

PH.9

SEG3

P107

PH.8

SEG4

P124

PB.10

P128

PB.6

P95

PA.14

P94

PA.13

P125

PB.9

P123

PB.11

P121

VREF

P122

AVSS

PE.13

P46

PE.12

P45

P127

PB.7

P126

PB.8

PA.7

P50

PC.6

P49

P48

PC.7

P47

PC.8

P53

VDD

VDD_MCU

P52

VSS

GND

PA.6

P51

PA.3

P57

SEG27

PA.4

P56

SEG28

PA.5

P55

SEG29

P54

LDO2_CAP

P60

PA.0

SEG24

PA.1

P59

SEG25

PA.2

P58

SEG26

P63

PE.15

SEG22

P62

PE.14

SEG23

P61

VDDIO

PE.8

P41

SEG32

PE.9

P42

SEG31

P64

nRESET

RESET

PF.3

P37

XT1_IN

PF.2

P38

XT1_OUT

PE.11

P44

PE.10

P43

SEG30

PH.4

P33

SEG36

P40

VDD

VDD_MCU

P39

VSS

GND

PH.6

P35

SEG34

PH.7

P36

SEG33

P34

PH.5

SEG35

P36

P34
P35

P33

P73

PC.1

COM1

P76

VDD

VDD_MCU

P75

VSS

GND

P74

PC.0

COM0

P79

PG.11

SEG19

P78

PG.10

SEG20

P77

PG.9

SEG21

P80

PG.12

SEG18

Title

Size

Document Number

Rev

Date:

Sheet

of

NuMaker-M2354

V1.1

MCU Connector

A4

5

10

Tuesday , April 14, 2020

JP6

HEADER 2.54 16X2 (NC)

2
4
6
8
10
12
14
16
18
20
22
24
26
28
30
32

1
3
5
7
9

11
13
15
17
19
21
23
25
27
29
31

P29

P19

P2

P24

P27

P4

P1

P14

P7

P22

P26

P18

P21

P16

P6

P17

P25

P11

P9

P20

P31

P30

P28

P13

P3

P23

P5

P12

P10

P15

P8

P32

MCU CONNECTOR

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

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

Страница 2: ...3 4 1 VIN Power Source 19 3 4 2 5V Power Sources 19 3 4 3 3 3 V Power Sources 19 3 4 4 1 8V Power Sources 20 3 4 5 Power Connectors 20 3 4 6 USB Connectors 20 3 4 7 Power Switches 20 3 4 8 Power Suppl...

Страница 3: ...ect under Toolchains 32 4 6 1 Keil MDK 32 4 6 2 IAR EWARM 35 4 6 3 NuEclipse 37 5 NuMaker M2354 Schematics 43 Nu Link2 Me 43 M2354 target Board 44 USB 2 0 FS OTG 45 Power Supply 46 MCU Connector 47 Ar...

Страница 4: ...gure 4 4 ICE USB Connector 30 Figure 4 5 Device Manger 31 Figure 4 6 PuTTY Session Setting 31 Figure 4 7 Blinky Project Folder Path 32 Figure 4 8 Debugger Setting in Options Window 32 Figure 4 9 Progr...

Страница 5: ...uit 43 Figure 5 2 M2354 Pin Assignment 44 Figure 5 3 USB 2 0 FS OTG Circuit 45 Figure 5 4 Power Circuit and Configurations 46 Figure 5 5 MCU connector 47 Figure 5 6 Arduino UNO Compatible Interface 48...

Страница 6: ...5V Power Sources 19 Table 3 6 3 3 V Power Sources 20 Table 3 7 1 8V Power Sources 20 Table 3 8 Power Connectors 20 Table 3 9 USB Connectors 20 Table 3 10 Power Switches 21 Table 3 11 Supply External...

Страница 7: ...eaders and is able to adopt multiple power supply by external power connectors Furthermore the Nuvoton designed ammeter connector can measure the power consumption instantly which is essential for the...

Страница 8: ...ace macrocell debug interface for instruction and data tracing of a processor Wi Fi module for wireless application MicroSD Card slot for T Flash Ammeter connector for measuring the microcontroller s...

Страница 9: ...354KJFAE U1 USB PWR Connector J2 Arduino UNO Compatible Extension Connectors NU1 NU2 NU3 NU4 M2354 Extension Connectors JP6 JP7 JP8 JP9 External VDD Power Connector External VSS Power Connector Extern...

Страница 10: ...ual Rear View Figure 3 2 shows the main components and connectors from the rear side of NuMaker M2354 The following lists components and connectors from the rear view Nu Link2 Me MCUVCC Power Switch I...

Страница 11: ...e NuMaker M2354 NU1 NU2 NU3 and NU4 Arduino UNO compatible pins on the NuMaker M2354 Table 3 1 Extension Connectors 3 3 1 Pin Assignment for Extension Connectors The NuMaker M2354 provides the M2354 t...

Страница 12: ...VSS JP6 12 12 VDD JP6 13 13 PA 11 ACMP0_P0 EBI_nRD SC2_PWR SPI2_SS USCI0_CLK I2C2_SCL BPWM0_CH0 EPWM0_SYNC_OUT TM0_EXT DAC1_ST JP6 14 14 PA 10 ACMP1_P0 EBI_nWR SC2_RST SPI2_CLK USCI0_DAT0 I2C2_SDA BPW...

Страница 13: ...47 PC 8 EBI_ADR16 I2C0_SDA UART4_nCTS UART1_RXD EPWM1_CH1 BPWM1_CH4 JP8 16 48 PC 7 EBI_AD9 SPI1_MISO UART4_TXD SC2_PWR UART0_nCTS I2C1_SMBAL EPWM1_CH2 BPWM1_CH0 TM0 INT3 JP8 17 49 PC 6 EBI_AD8 SPI1_M...

Страница 14: ...CH5 LCD_SEG21 JP7 14 78 PG 10 EBI_AD1 BPWM0_CH4 LCD_SEG20 JP7 15 79 PG 11 EBI_AD2 BPWM0_CH3 LCD_SEG19 JP7 16 80 PG 12 EBI_AD3 BPWM0_CH2 LCD_SEG18 JP7 17 81 PG 13 EBI_AD4 BPWM0_CH1 LCD_SEG17 JP7 18 82...

Страница 15: ..._MOSI1 UART4_RXD UART0_RXD EPWM0_CH5 LCD_SEG1 JP9 15 111 PD 14 EBI_nCS0 SPI3_I2SMCLK SC1_nCD USCI0_CTL0 SPI0_I2SMCLK EPWM0_CH4 LCD_SEG0 JP9 16 112 VSS JP9 17 113 Vsw JP9 18 114 VDD JP9 19 115 LDO_CAP...

Страница 16: ...ANUAL Maker Nu mbed NUC472 User Manual Header M2354KJFAE Pin No Function JP9 32 128 PB 6 EADC0_CH6 EBI_nWRH USCI1_DAT1 UART1_RXD EBI_nCS1 BPWM1_CH5 EPWM1_BRAKE1 EPWM1_CH5 INT4 USB_VBUS_EN ACMP1_O Tabl...

Страница 17: ...D10 SPI0_MOSI EPWM0_CH5 PA 0 D11 SPI0_MISO EPWM0_CH4 PA 1 D12 SPI0_CLK EPWM0_CH3 PA 2 D13 VSS VSS VREF VREF I2C1_SDA PG 3 SDA I2C1_SCL PG 2 SCL UART1_RXD BPWM0_CH3 PA 8 D0 UART1_TXD BPWM0_CH2 PA 9 D1...

Страница 18: ...9 NU2 5 A4 PB 7 NU4 3 D2 PC 1 NU2 4 A3 PB 8 NU4 4 D3 PC 0 NU2 3 A2 PB 9 NU4 5 D4 PE 7 NU2 2 A1 PB 10 NU4 6 D5 PE 6 NU2 1 A0 PB 11 NU4 7 D6 PC 12 NU1 NU1 8 VIN NU4 8 D7 PC 11 NU1 7 VSS NU3 NU3 1 D8 PC...

Страница 19: ...ower Sources Table 3 5 presents the 5 V power sources Connector Net Name in Schematic Comment ICEJ3 USB_HS_VBUS ICE USB connector supplies 5 V power from PC to M2354 target board and Nu Link2 Me J2 US...

Страница 20: ...8V and supplies 1 8V to internal VDDIO pin Table 3 7 1 8V Power Sources 3 4 5 Power Connectors Table 3 8 presents the power connectors Connector Comment JP13 JP14 JP15 VDD connector on the NuMaker M23...

Страница 21: ...l Power Supply Sources on Nu Link2 Me To use ICEJ3 as external power supply source with Nu Link2 Me please follow the steps below 1 Solder the resistor on ICEJPR1 MCUVCC depends on the target chip ope...

Страница 22: ...llow the steps below 1 Switch the SW4 2 to ON 2 Remove the resistor on ICEJPR1 MCUVCC 3 Solder the resistor on ICEJPR2 ICEVCC depends on the ICE chip operating voltage 4 Connect the external power sup...

Страница 23: ...2 ICEVCC Selection 3 ICE Chip Voltage 4 4 3 3 V 7 V 12 V Input SW4 2 ON 3 3 V output Remove resistor 3 3 V 3 3 V 5 3 3 V Connect to PC SW4 2 ON 3 3 V output Remove resistor 3 3 V 3 3 V 6 1 8 V 3 6 V 5...

Страница 24: ...ter Connector Table 3 14 presents the ammeter connector Connector Comment AMMETER AMMETER is used to easily measure the target chip power consumption Remove the R16 resistor before using it Table 3 14...

Страница 25: ...ower LED The power LED indicates that the NuMaker M2354 is powered PD2 PD3 LED The LED is connected to the target chip PD 2 and PD 3 ICES0 ICES1 ICES2 and ICES3 Nu Link2 Me status LED Table 3 16 LEDs...

Страница 26: ...MAKER M2354 USER MANUAL Maker Nu mbed NUC472 User Manual HTN LCD Panel The NuMaker M2354 equip with a COM SEG LCD interface which can connect to LCD panel JLCD_1 8 COM 40 SEG LCD connective interface...

Страница 27: ...ption 1 TXD On Connect target chip PA 7 UART0_TXD to Nu Link2 Me Off Disconnect target chip PA 7 UART0_TXD to Nu Link2 Me 2 RXD On Connect target chip PA 6 UART0_RXD to Nu Link2 Me Off Disconnect targ...

Страница 28: ...RM NuEclipse GCC Windows NuEclipse GCC Linux 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 Dow...

Страница 29: ...NuMaker M2354 Dec 25 2020 Page 29 of 54 Rev 1 00 NUMAKER M2354 USER MANUAL M m U Figure 4 2 Nu Link USB Driver Installation...

Страница 30: ...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 ICE USB connector shown i...

Страница 31: ...v 1 00 NUMAKER M2354 USER MANUAL M m U 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...

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

Страница 33: ...ANUAL M m U 3 4 5 Figure 4 9 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...

Страница 34: ...e under Keil MDK Click Run and the debug message will be printed out as shown in Figure 4 12 User can debug the project under debug mode by checking source code assembly language peripherals registers...

Страница 35: ...roject 2 Make sure the toolbar contain Nu Link item as shown in Figure 4 13 Note If the toolbar does not contain Nu Link item please rework section 4 2 Figure 4 13 IAR EWARM Window 3 Make target file...

Страница 36: ...ARN Click Go and the debug message will be printed out as shown in Figure 4 16 The project can be debugged under debug mode by checking source code assembly language peripherals registers and setting...

Страница 37: ...names and project folder path contain neither invalid character nor space 1 Double click NuEclipse exe to open the toolchain 2 Import the Blinky project by following the steps presented in Figure 4 17...

Страница 38: ...v 1 00 NUMAKER M2354 USER MANUAL Maker Nu mbed NUC472 User Manual settings are the same as settings in Figure 4 20 1 2 3 Figure 4 19 Build Project 1 2 3 Figure 4 20 Project Properties Settings 4 Click...

Страница 39: ...U 1 2 3 Figure 4 21 Build Project 5 After the project is built click the Blinky project and set the Debug Configuration as shown in Figure 4 22 Follow the settings presented in Figure 4 23 Figure 4 24...

Страница 40: ...er Nu mbed NUC472 User Manual 4 1 5 2 Note 1 Double click the GDB Nuvoton Nu Link Debugging to create the subitem Note 2 After the project is built the elf file will be shown in C C Application frame...

Страница 41: ...0 Page 41 of 54 Rev 1 00 NUMAKER M2354 USER MANUAL M m U 8 11 9 1 10 Note 1 Please follow the settings highlighted in green triangles and configure other settings depending on the needs Figure 4 25 St...

Страница 42: ...n Figure 4 27 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 h...

Страница 43: ...ICEJ4 HEADER 2 54 5X2 NC 1 2 3 4 5 6 7 8 9 10 ICER5 10K R0603 ICERP1 8P4R 330 8P4RA 1 2 3 4 5 6 7 8 ICECT2 10uF 10V TANT A 1 2 1 2 ICES2 0805 LED R LED0805 ICESW1 3x6x5 2PIN SMD SW 2P SMD ICER1 200 1...

Страница 44: ...14 CLKO 117 PB 13 UART0_TXD 118 PB 12 UART0_RXD 119 AVDD 120 VREF 121 AVSS 122 PB 11 123 PB 10 124 PB 9 UART0_TXD 125 PB 8 UART0_RXD 126 PB 7 127 PB 6 128 VBAT 30 VSW 113 PF 7 28 PF 6 29 PD 9 67 PD 8...

Страница 45: ...0 0 1uF C0603 C26 0 1uF C0603 R19 10K R0603 USB_Host_5V U4 TPS2065CDBVR 2 OUT 1 GND 2 OC 3 IN 5 EN EN 4 VCC R20 27R R0603 GND OC is Open drain Pin D D J3 NC 1 2 3 4 5 USB_VBUS HJ2 micro USB 5pin MICRO...

Страница 46: ...1 2 D3 SS24A L11 FERRITE BEAD C15 1u C0603 VCC UP1 AMS1117_3 3v IN 3 GND 1 OUT 2 OUT 4 NU1_3VCC CT4 10uF 10V TANT A 1 2 NU1_5VCC AVSS JP12_GND VSS NC 1 2 3 4 ADAVSS JP13_VCC VCC NC 1 2 3 4 C12 0 1u C...

Страница 47: ...4 P104 P103 P102 P101 P100 P108 P107 P106 P105 P2 PB 4 P5 PC 12 P4 PB 2 P3 PB 3 P1 PB 5 P10 PB 0 P9 PB 1 P7 PC 10 P6 PC 11 P14 PA 10 P12 VDD VDD_MCU P13 PA 11 P11 VSS GND P18 PD 12 P17 PC 13 P16 PA 8...

Страница 48: ...UNO INTERFACE CONNECTOR D8 EPWM1_CH3 PC 9 P8 P60 PA 0 D11 SPI0_MOSI P57 PA 3 D10 SPI0_SS D9 EPWM1_CH2 PC 10 P7 PA 2 P58 D13 SPI0_CLK PA 1 P59 D12 SPI0_MISO P59 P58 P60 P57 P107 P105 P7 P8 P106 PE 0 S...

Страница 49: ...DAT2 SD0_CMD SD0_nCD SD0_CMD SD0_DAT0 SD0_DAT3 SD0_DAT2 SD0_CLK SD0_DAT0 SD0_DAT1 CB13 0 1uF RP2 8P4R 10K 8P4RA 1 2 3 4 5 6 7 8 L13 FERRITE BEAD RS1 330R R0603 U9 B8502A 13SB HPA T Flash Card DAT2 1 D...

Страница 50: ...GND 15 CS0 9 MISO 10 IO9 11 IO10 12 MOSI 13 SCLK 14 URXD_ESP12 UTXD_ESP12 C6 0 1u C0603 R3 10KR R0603 VCC RST_ESP12 R5 10KR R0603 VCC VCC R6 10KR R0603 R7 10KR R0603 URTS_ESP12 VCC IO0_ESP12 UCTS_ESP1...

Страница 51: ...SEG30 39 SEG29 38 SEG28 37 SEG27 36 SEG26 35 SEG25 34 SEG24 33 SEG23 32 SEG22 31 SEG21 30 SEG20 29 SEG19 28 SEG18 27 SEG17 26 SEG1 2 SEG0 1 SEG6 7 SEG2 3 SEG3 4 SEG4 5 SEG5 6 SEG33 42 SEG34 43 SEG35 4...

Страница 52: ...NuMaker M2354 Dec 25 2020 Page 52 of 54 Rev 1 00 NUMAKER M2354 USER MANUAL Maker Nu mbed NUC472 User Manual PCB Placement Figure 5 10 Front Placement Figure 5 11 Rear Placement...

Страница 53: ...NuMaker M2354 Dec 25 2020 Page 53 of 54 Rev 1 00 NUMAKER M2354 USER MANUAL M m U 6 REVISION HISTORY Date Revision Description 2020 12 25 1 00 1 Initially issued...

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

Отзывы: