background image

NuMaker-M2354

 

 

Dec. 25, 2020 

Page 

52

 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

 

  PCB Placement 

 

 

Figure 5-10 Front Placement 

 

 

Figure 5-11 Rear Placement 

 

Summary of Contents for NuMaker-M2354

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

Reviews: