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

NuMaker-M251SD

 

 

Aug. 

18, 2020 

Page 

1

 of 45 

Rev 1.00 

N

UMA

K

E

R

-M

2

51
S

D

 U

S

E

R

 MA

N

UA
L

 

Ma
k

er Nu

-m

be
d

 NUC

47

Us
er Man

ua

 

 

 

ARM

®

 Cortex

®

-M 

32-bit Microcontroller

 

 

 

 

 

NuMaker-M251SD 

User Manual  

NuMicro

®

 M251 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

 

 

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

Страница 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: ...V Power Sources 16 3 4 3 3 3 V Power Sources 16 3 4 4 1 8V Power Sources 17 3 4 5 Power Connectors 17 3 4 6 USB Connectors 17 3 4 7 Power Switches 17 3 4 8 Power Supply Models 18 External Reference V...

Страница 3: ...020 Page 3 of 45 Rev 1 00 NUMAKER M251SD USER MANUAL M m U 3 17 2 IAR EWARM 32 3 17 3 NuEclipse 33 4 NuMaker M251SD Schematics 40 Nu Link2 Me 40 M251 platform 41 Extension Connector 42 PCB Placement 4...

Страница 4: ...Figure 3 14 PuTTY Session Setting 27 Figure 3 15 Template Project Folder Path 28 Figure 3 16 Warning Message of Device not found 28 Figure 3 17 Project File Migrate to Version 5 Format 29 Figure 3 18...

Страница 5: ...M m U Figure 3 36 NuEclipse Debug Mode 39 Figure 3 37 Debug Message on Serial Port Terminal Windows 39 Figure 4 1 Nu Link2 Me Circuit 40 Figure 4 2 M251 platform Circuit 41 Figure 4 3 Extension Conne...

Страница 6: ...16 Table 3 6 3 3 V Power Sources 16 Table 3 7 1 8V Power Sources 17 Table 3 8 Power Connectors 17 Table 3 9 USB Connectors 17 Table 3 10 Power Switches 17 Table 3 11 Supply External Power through Nu L...

Страница 7: ...connectors of M251SD2AE the Arduino UNO compatible headers and able to adopt multiple power supply Furthermore the Nuvoton designed ammeter connector can measure the power consumption instantly which...

Страница 8: ...2AE extension connectors Arduino UNO compatible extension connectors Ammeter connector for measuring the microcontroller s power consumption Fixable board power supply External VDD power connector Ard...

Страница 9: ...he front view Target Chip M251SD2AE U1 USB PWR Connector J2 Arduino UNO Compatible Extension Connectors NU1 NU2 NU3 NU4 M251 Extension Connectors JP3 JP4 JP5 and JP6 External VDD Power Connector JP1 E...

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

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

Страница 12: ...7 JP3 28 14 PF 5 UART2_RXD UART2_nCTS PWM0_CH0 BPWM0_CH4 X32_IN EADC0_ST JP3 29 JP3 30 15 PF 4 UART2_TXD UART2_nRTS PWM0_CH1 BPWM0_CH5 X32_OUT JP3 31 JP3 32 16 PF 3 UART0_TXD I2C0_SCL XT1_IN JP5 JP5 1...

Страница 13: ...6 2 49 VSS JP6 3 JP6 4 50 LDO_CAP JP6 5 JP6 6 51 VDD JP6 7 JP6 8 52 PC 14 SPI0_I2SMCLK USCI0_CTL0 QSPI0_CLKTM1 JP6 9 JP6 10 53 PB 15 EADC0_CH15 SPI0_SS USCI0_CTL1 UART0_nCTS PSIO0_CH0 PWM1_CH0 T M0_EX...

Страница 14: ..._SS PWM0_CH2 PA 3 D10 SPI0_MOSI PWM0_CH5 PA 0 D11 SPI0_MISO PWM0_CH4 PA 1 D12 SPI0_CLK PWM0_CH3 PA 2 D13 VSS VSS VREF VREF I2C0_SDA PC 0 SDA I2C0_SCL PC 1 SCL UART1_RXD PWM0_CH3 PB 2 D0 UART1_TXD PWM0...

Страница 15: ...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 3 NU4 1 D8 PA 5 NU1 6...

Страница 16: ...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 M251 platform and Nu Link2 Me J2 USB_VBUS US...

Страница 17: ...ker M251SD JP2 VSS connector on the NuMaker M251SD Table 3 8 Power Connectors 3 4 6 USB Connectors Table 3 9 presents the USB connectors Connector Comment ICEJ3 ICE USB connector on Nu Link2 Me for po...

Страница 18: ...e 3 Switch the SW2 to OFF 4 Connect the external power supply to JP1 Table 3 11 presents all power models when supplies external power through Nu Link2 Me The Nu Link2 Me external power sources are hi...

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

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

Страница 21: ...e Adjustable Interface VAI Connector Table 3 14 presents the voltage adjustable interface connector Connector Comment VDDIO Connector for user to easily connect to the VDDIO pin of the target chip as...

Страница 22: ...ins on the NuMaker M251SD Table 3 16 Extension Connectors Push Buttons Table 3 17 presents the push buttons Component Comment ICESW1 Off line program button to start off line programming the target ch...

Страница 23: ...t chip PB 13 UART0_TXD to Nu Link2 Me 2 RXD On Connect target chip PB 12 UART0_RXD to Nu Link2 Me Off Disconnect target chip PB 12 UART0_RXD to Nu Link2 Me Note Pin 3 and 4 is unused Table 3 19 VCOM F...

Страница 24: ...pse GCC for Windows NuEclipse GCC for 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 Down...

Страница 25: ...NuMaker M251SD Aug 18 2020 Page 25 of 45 Rev 1 00 NUMAKER M251SD USER MANUAL M m U Figure 3 10 Nu Link USB Driver Installation...

Страница 26: ...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 3 11 Open VCOM Function 2 Connect the ICE USB connector shown...

Страница 27: ...1 00 NUMAKER M251SD USER MANUAL M m U Figure 3 13 Device Manger 4 Open a serial port terminal PuTTY for example to print out debug message Set the speed to 115200 Figure 3 14 presents the PuTTY sessi...

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

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

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

Страница 31: ...UMAKER M251SD 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 21 Keil MDK Debug Mode Figure...

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

Страница 33: ...s and setting breakpoint step run value monitor etc 1 2 3 1 Go 3 Reset 2 Break Figure 3 25 IAR EWARM Debug Mode Figure 3 26 Debug Message on Serial Port Terminal Windows 3 17 3 NuEclipse This section...

Страница 34: ...he Project in NuEclipse 7 6 5 M251_252_Series_BSP_CMSIS_V3 XX XXX SampleCod e Templ M251_252__Series_BSP_CMSIS_V3 XX XXX SampleCode Te mplate G 7 Figure 3 28 Import Projects Windows 3 Click the Templa...

Страница 35: ...1SD Aug 18 2020 Page 35 of 45 Rev 1 00 NUMAKER M251SD USER MANUAL M m U Figure 3 29 Open Project Properties Window 1 2 3 Figure 3 30 Project Properties Settings 4 Click the Template project and build...

Страница 36: ...d NUC472 User Manual Figure 3 31 Build Project 5 After the project is built click the Template project and set the Debug Configuration as shown in Figure 3 32 Follow the settings presented in Figure 3...

Страница 37: ...USER MANUAL M m U 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 Figure 3 33...

Страница 38: ...f 45 Rev 1 00 NUMAKER M251SD USER MANUAL Maker Nu mbed NUC472 User Manual 8 10 11 9 1 Note 1 User must follow those settings highlighted in green and can configure other settings depend on the needs F...

Страница 39: ...7 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 how to use Nu...

Страница 40: ...O ICEC11 20p C0603 ICEC10 20p C0603 HXT_I 12M Crystal ICEX1 12MHz SMD X3225B 1 XIN 2 GND 4 GND 3 XOUT 3 3V ICEU2 W25Q16JVSSIQ SOP8 5 23 1 27MM CS 1 DO 2 WP 3 GND 4 DI 5 CLK 6 HOLD 7 VCC 8 SPIM_MISO0 S...

Страница 41: ...1 UART2_TXD USCI1_CLK I2C1_SCL QSPI0_MISO1 PWM0_CH4 PWM1_CH4 PWM0_BRAKE0 6 PB 0 EADC0_CH0 UART2_RXD SPI0_I2SMCLK I2C1_SDA QSPI0_MOSI1 PWM0_CH5 PWM1_CH5 PWM0_BRAKE1 7 PA 11 ACMP0_P0 USCI0_CLK BPWM0_CH0...

Страница 42: ...REF P50 P49 MCU_TX MCU_RX PB15_NU5_GPIO P51 PB14_LED_R P53 P58 P57 P52 PA5_NU3_D8 PA4_NU3_D9 PA7_NU3_D6 P56 P55 P59 P60 P54 PA6_NU3_D7 P61 P63 P62 P64 External Connector P50 P53 P58 P57 P52 P51 P49 P5...

Страница 43: ...Aug 18 2020 Page 43 of 45 Rev 1 00 NUMAKER M251SD USER MANUAL M m U PCB Placement Figure 4 4 and Figure 4 5 show the front and rear placement of NuMaker M251SD Figure 4 4 Front Placement Figure 4 5 R...

Страница 44: ...NuMaker M251SD Aug 18 2020 Page 44 of 45 Rev 1 00 NUMAKER M251SD USER MANUAL Maker Nu mbed NUC472 User Manual 5 REVISION HISTORY Date Revision Description 2020 08 18 1 00 1 Initially issued...

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

Отзывы: