background image

NuMaker-M2351SF

 

 

Sep. 

24, 2019 

Page 

1

 of 35 

Rev 1.00 

N

UMA

K

E

R

-M2
35
1

S

F

 U

S

E

R MA

NUA

L

 

Ma
k

er Nu

-m

be
d

 NUC

47

Us
er Man

ua

 

 

 

ARM

®

 Cortex

®

-M 

32-bit Microcontroller

 

 

 

 

 

NuMaker-M2351SF 

User Manual  

NuMicro

®

 M23 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 NuMaker-M2351SF

Page 1: ...l 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...

Page 2: ...2 5 3 3 3 V Power Sources 15 2 5 4 1 8V Power Sources 16 2 5 5 Power Connectors 16 2 5 6 USB Connectors 16 2 5 7 Power Switches 16 2 5 8 Power Supply Models 17 2 5 9 External Reference Voltage Connector 20 2 5 10 Ammeter Connector 20 2 5 11 Extension Connectors 20 2 5 12 Push Buttons 21 2 5 13 LEDs 21 Nu Link2 Me 21 PCB Placement 22 3 Quick Start 23 Toolchains Supporting 23 Nuvoton Nu Link Driver ...

Page 3: ...NuMaker M2351SF Sep 24 2019 Page 3 of 35 Rev 1 00 NUMAKER M2351SF USER MANUAL M m U M2351SF platform 32 Extension Connector 33 5 REVISION HISTORY 34 ...

Page 4: ...ure 2 9 Front Placement 22 Figure 2 10 Rear Placement 22 Figure 3 1 Nu Link USB Driver Installation Setup 23 Figure 3 2 Nu Link USB Driver Installation 24 Figure 3 3 Open VCOM Function 25 Figure 3 4 ICE USB Connector 25 Figure 3 5 Device Manger 26 Figure 3 6 PuTTY Session Setting 26 Figure 3 7 SecureFlashDemo Project Folder Path 27 Figure 3 8 Warning Message of Device not found 27 Figure 3 9 Proje...

Page 5: ... 2 4 5V Power Sources 15 Table 2 5 3 3 V Power Sources 15 Table 2 6 1 8V Power Sources 16 Table 2 7 Power Connectors 16 Table 2 8 USB Connectors 16 Table 2 9 Power Switches 16 Table 2 10 Supply External Power through Nu Link2 Me 17 Table 2 11 Supply External Power for M2351SF platform 19 Table 2 12 External Reference Voltage Connector 20 Table 2 13 Ammeter Connector 20 Table 2 14 Extension Connect...

Page 6: ...r to monitor 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 SPI Flash allows it able to off line programming the target microcontroller Nu Link2 Me provides virtual COM port VCOM function to print out messages on PC Nu Link2 Me can be separated from Nu...

Page 7: ...NuMaker M2351SF Sep 24 2019 Page 7 of 35 Rev 1 00 NUMAKER M2351SF USER MANUAL M m U Debug through SWD interface On line off line programming Virtual COM port function ...

Page 8: ...nectors from the front view Target Chip M2351SFSIAAP U1 USB FS Connector J2 Arduino UNO Compatible Extension Connectors NU1 NU2 NU3 NU4 M2351SF Extension Connectors JP3 JP4 JP5 and JP6 External VDD Power Connector JP1 External VSS Power Connector JP2 External VREF Connector VREF1 VDD Switch SW2 Ammeter Connector AMMETER Reset Button SW1 Power LED and PB14 LED LEDG1 and LEDR1 Nu Link2 Me VCOM Switc...

Page 9: ... M m U Rear View Figure 2 2 shows the main components and connectors from the rear side of NuMaker M2351SF The following lists components and connectors from the rear view Nu Link2 Me MCUVCC Power Switch ICEJPR1 ICEVCC Power Switch ICEJPR2 Figure 2 2 Rear View of NuMaker M2351SF ...

Page 10: ...f 35 Rev 1 00 NUMAKER M2351SF USER MANUAL Maker Nu mbed NUC472 User Manual Arduino UNO Compatible Extension Connectors Figure 2 3 shows the Arduino UNO compatible extension connectors Figure 2 3 Arduino UNO Compatible Extension Connectors ...

Page 11: ... 3 NU2 5 A4 PB 0 NU3 3 D2 PC 4 NU2 4 A3 PB 4 NU3 4 D3 PC 5 NU2 3 A2 PB 5 NU3 5 D4 PC 3 NU2 2 A1 PB 6 NU3 6 D5 PC 2 NU2 1 A0 PB 7 NU3 7 D6 PA 7 N U 1 NU1 8 VIN NU3 8 D7 PA 6 NU1 7 VSS N U 4 NU4 1 D8 PC 7 NU1 6 VSS NU4 2 D9 PC 6 NU1 5 5V NU4 3 D10 PD 3 NU1 4 3V NU4 4 D11 PD 0 NU1 3 RST nRESET NU4 5 D12 PD 1 NU1 2 IOREF VDD NU4 6 D13 PD 2 NU1 1 NC NU4 7 VSS GND NU4 8 VREF VREF NU4 9 SDA PC 0 NU4 10 S...

Page 12: ... mbed NUC472 User Manual Pin Assignment for Extension Connectors The NuMaker M2351SF provides the M2351SFSIAAP target chip onboard and full pins extension connectors JP3 JP4 JP5 and JP6 The Figure 2 4 shows the M2351SFSIAAP extension connectors Figure 2 4 M2351SFSIAAP Extension Connectors ...

Page 13: ...CL BPWM0_CH0 EPWM0_SYNC_OUT TM0_EXT DAC1_ST JP3 17 JP3 18 9 PA 10 ACMP1_P0 EBI_nWR SC2_RST SPI2_CLK USCI0_DAT0 I2C2_SDA BPWM0_C H1 QEI1_INDEX ECAP0_IC0 TM1_EXT DAC0_ST JP3 19 JP3 20 10 PA 9 EBI_MCLK SC2_DAT SPI2_MISO USCI0_DAT1 UART1_TXD BPWM0_CH2 QEI1_ A ECAP0_IC1 TM2_EXT JP3 21 JP3 22 11 PA 8 EBI_ALE SC2_CLK SPI2_MOSI USCI0_CTL1 UART1_RXD BPWM0_CH3 QEI1_B ECAP0_IC2 TM3_EXT INT4 JP3 23 JP3 24 12 ...

Page 14: ... USCI0_DAT0 SPI0_MISO UART3_TXD I2C2_SCL SC2_DAT JP4 23 JP4 24 44 PD 0 EBI_AD13 USCI0_CLK SPI0_MOSI UART3_RXD I2C2_SDA SC2_CLK TM2 JP4 25 JP4 26 45 PA 12 USB_VBUS JP4 27 JP4 28 46 PA 13 USB_D JP4 29 JP4 30 47 PA 14 USB_D JP4 15 JP4 32 48 PA 15 USB_OTG_ID JP6 JP6 1 JP6 2 49 VSS JP6 3 JP6 4 50 Vsw JP6 5 JP6 6 51 VDD_2 JP6 7 JP6 8 52 LDO_CAP_1 JP6 9 JP6 10 53 USB_VBUS_EN JP6 11 JP6 12 54 USB_VBUS_ST ...

Page 15: ...nector on NuMaker M2351SF supplies 5 V power from PC to M2351SF 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 power to target chip or Arduino adapter board Note M2351SF operating voltage range is from 1 8 V to 3 6 V Do not switch SW2 1 NU1 5VCC to ON Table 2 4 5V Power Sources 2 5 3 3 3 V Power Sources Table 2 5 presents the 3 ...

Page 16: ...t JP1 VDD 1 8 V 3 6 V connector on the NuMaker M2351SF JP2 VSS connector on the NuMaker M2351SF VBAT VBAT connector on the NuMaker M2351SF 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 for power supply debugging and programming from PC J2 USB FS connector on NuMaker M2351SF for power supply Table 2 8 U...

Page 17: ... SW2 to OFF 4 Connect the external power supply to ICEJ3 Table 2 10 presents all power models when supplies external power through Nu Link2 Me The Nu Link2 Me external power sources are highlighted in yellow Model Target Chip Voltage ICEJ3 ICEJPR1 MCUVCC Selection 1 ICEJPR2 ICEVCC Selection 2 ICE Chip Voltage SW2 Selection J2 Vin JP1 1 1 8 V Connect to PC 1 8 V 1 8 V 1 8 V Off Ignore Ignore 1 8 V ...

Page 18: ... 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 on ICEJPR2 ICEVCC depends on the ICE chip operating voltage 4 Connect ICEJ3 to PC 5 Connect the external power supply to JP1 To use Vin or J2 as external power supply source with Nu Link2 Me separated from NuMaker M2351SF please f...

Page 19: ...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 8 1 8 V 3 6 V Ignore 5 Ignore 5 Connect to PC OFF DC Input 1 8 V 3 6 V Remove resistor 1 8 V 3 3 V 1 8 V 3 3 V 9 1 8 V 3 6 V Ignore 5 Ignore 5 Nu Link2 Me removed OFF DC Input 1 8 V 3 6 V X X X X Unused Note 1 The Vin input voltage will be converted by voltage regul...

Page 20: ...ence Voltage Connector 2 5 10 Ammeter Connector Table 2 13 presents the ammeter connector Connector Comment AMMETER Connector for user to easily measure the target chip power consumption User needs to remove the R16 resistor Table 2 13 Ammeter Connector Remove the R16 Resistor Figure 2 8 Wiring between Ammeter Connector and Ammeter 2 5 11 Extension Connectors Table 2 14 presents the extension conn...

Page 21: ...status LED Table 2 16 LEDs Nu Link2 Me The Nu Link2 Me is a debugger and programmer that supports 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 VCOM function to print out messages on PC Table 2 17 presents how to set the VCOM function by ICESW2 IC...

Page 22: ...age 22 of 35 Rev 1 00 NUMAKER M2351SF USER MANUAL Maker Nu mbed NUC472 User Manual PCB Placement Figure 2 9 and Figure 2 10 show the front and rear placement of NuMaker M2351SF Figure 2 9 Front Placement Figure 2 10 Rear Placement ...

Page 23: ...pse 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 Download and install Nu Link_IAR_Driver when using IAR EWARM Skip this step when using NuEclipse Please install the Nu Link USB Driver as well at the end of the installation The installation is presented in Figur...

Page 24: ...NuMaker M2351SF Sep 24 2019 Page 24 of 35 Rev 1 00 NUMAKER M2351SF USER MANUAL Maker Nu mbed NUC472 User Manual Figure 3 2 Nu Link USB Driver Installation ...

Page 25: ...port 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 3 3 Open VCOM Function 2 Connect the ICE USB connector shown in Figure 3 4 to the PC USB port through USB cable Figure 3 4 ICE USB Connector 3 Find the Nuvoton Virtual COM Port on the Device Manger as Figure 3 5 ...

Page 26: ...ER M2351SF USER MANUAL Maker Nu mbed NUC472 User Manual 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 session setting Figure 3 6 PuTTY Session Setting ...

Page 27: ...Folder Path Execute the Project under Toolchains Open and execute the project under the toolchain The section 3 6 1 0 describe the steps of executing project in Keil MDK 3 6 1 Keil MDK This section provides steps to beginners on how to run a project by using Keil MDK 1 Double click the SecureFlashDemo uvprojx to open the project Note If Figure 3 8 warning message jumps out please migrate to versio...

Page 28: ... 2 3 Figure 3 9 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 Nu Link Debugger item please rework section 3 2 2 1 Figure 3 10 Debugger Setting in Options Window ...

Page 29: ...0 NUMAKER M2351SF USER MANUAL M m U 3 4 5 Figure 3 11 Programming Setting in Options Window 3 Rebuild all target files After successfully compile the project download code to the flash memory Click Start Stop Debug Section button can enter debug mode ...

Page 30: ...e 3 13 shows the debug mode under Keil MDK Click Run and the debug message will be printed out as shown in Figure 3 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 Figure 3 13 Keil MDK Debug Mode Figure 3 14 Debug Message on Serial Port Terminal Windows ...

Page 31: ...C 2 38 PC 1 39 PC 0 40 HSUSB_VRES 41 HSUSB_VDD33 42 HSUSB_VBUS 43 HSUSB_D 44 HSUSB_VSS 45 HSUSB_D 46 HSUSB_VDD12_CAP 47 HSUSB_ID 48 VSS 49 LDO_CAP 50 VDD 51 PC 14 52 PB 15 53 PB 14 54 PB 13 55 PB 12 56 AVDD 57 VREF 58 AVSS 59 PB 11 60 PB 10 61 PB 9 62 PB 8 63 PB 7 64 ICER3 10K R0603 ICER1 200 1 R0603 ICEC12 0 1u C0603 ICECT1 10uF 10V TANT A 1 2 SN74LV2T45DCUR ICEU4 SOP8 3 1 0 5 GND 4 A2 3 VCCA 1 D...

Page 32: ...USB_VBUS_EN P63 P62 P64 P56 PB12_RXD0 P55 PB13_TXD0 AMMETER NC 1 2 R16 0 J2 micro USB 5pin MICRO_USB_AB VBUS 1 D 2 D 3 GND 5 ID 4 Shield 6 Shield 7 Shield 8 Shield 9 Shield 10 Shield 11 1 2 D1 SS24A L5 FERRITE BEAD C15 1u C0603 VDD VDD_MCU UP1 AMS1117_3 3v IN 3 GND 1 OUT 2 OUT 4 NU1_3VCC CT4 10uF 10V TANT A 1 2 NU1_5VCC C4 0 1u C0603 ADAVSS VDD_2 PF2_XT1_OUT PF3_XT1_IN R2 0 R5 0 MCUVCC_DIODE X1 12...

Page 33: ...48 P39 P40 P41 P42 P37 P38 P46 P47 P45 P44 P43 P33 P34 P36 P35 P48 P58 P57 P52 P51 P49 P50 P55 P59 P60 P54 P53 P61 P63 P62 P64 P56 P58 P57 P52 P51 P49 P50 P55 P59 P60 P54 P53 P61 P63 P62 P64 P56 Title Size Document Number Rev Date Sheet of NuMaker M2351SF v1 0 Ext Connector Custom 3 3 Friday October 04 2019 PA7_NU3_D6 P26_NC PF2_XT1_OUT PC7_NU4_D8 PC6_NU4_D9 GND P25_NC PA6_NU3_D7 VDDIO P30_NC LDO_...

Page 34: ...NuMaker M2351SF Sep 24 2019 Page 34 of 35 Rev 1 00 NUMAKER M2351SF USER MANUAL Maker Nu mbed NUC472 User Manual 5 REVISION HISTORY Date Revision Description 2019 10 07 1 00 1 Initially issued ...

Page 35: ...es 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 designed for vehicular use traffic signal instruments all types of safety devices and other applications intended to support or sustain life All Insecure Usage shall be made at customer s risk and in the event...

Reviews: