background image

NuMaker-M071R1E

 

 

Dec. 14, 2020 

Page 

27

 of 46 

Rev 1.00 

N

UMA

K

E

R

-M0
71
R1
E

 U

S

E

R MA

NUA

L

 

Ma
k

er Nu

-m

be
d

 NUC

47

Us
er Man

ua

 

4.3 

BSP Firmware Download 

Download and unzip the 

Board Support Package (BSP)

. 

 

4.4 

Hardware Setup 

  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 

  Connect the ICE USB connector shown in Figure 4-4 to the PC USB port through a USB cable. 

 

Figure 4-4 ICE USB Connector 

 

 

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

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

Страница 2: ...3 V Power Sources 17 3 4 4 1 8 V Power Sources 17 3 4 5 Power Connectors 17 3 4 6 USB Connectors 18 3 4 7 Power Switches 18 3 4 8 Power Supply Models 18 3 5 External Reference Voltage Connector 22 3...

Страница 3: ...NuMaker M071R1E Dec 14 2020 Page 3 of 46 Rev 1 00 NUMAKER M071R1E USER MANUAL M m U 5 2 M071 Target Board 42 5 3 Extension Connectors 43 5 4 PCB Placement 44 6 REVISION HISTORY 45...

Страница 4: ...Manger 28 Figure 4 6 PuTTY Session Setting 28 Figure 4 7 Template Project Folder Path 29 Figure 4 8 Warning Message of Device not found 29 Figure 4 9 Project File Migrate to Version 5 Format 30 Figur...

Страница 5: ...M m U Figure 4 28 NuEclipse Debug Mode 40 Figure 4 29 Debug Message on Serial Port Terminal Windows 40 Figure 5 1 Nu Link2 Me Circuit 41 Figure 5 2 M071 Target Board Circuit 42 Figure 5 3 Extension Co...

Страница 6: ...Power Source 16 Table 3 5 5 V Power Sources 16 Table 3 6 3 3 V Power Sources 17 Table 3 7 1 8 V Power Sources 17 Table 3 8 Power Connectors 17 Table 3 9 USB Connectors 18 Table 3 10 Power Switches 18...

Страница 7: ...vides the extension connectors of M071R1E3AE the Arduino UNO compatible headers and the capability of adopting multiple power supplies Furthermore the Nuvoton designed ammeter connector can measure th...

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

Страница 9: ...ew of NuMaker M071R1E Figure 3 1 shows the main components and connectors from the front side of NuMaker M071R1E The following lists components and connectors from the front view Target chip M071R1E3A...

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

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

Страница 12: ...5 UART1_TXD JP3 12 12 PB 6 UART1_nRTS ALE JP3 13 13 PB 7 UART1_nCTS nCS JP3 14 14 LDO_CAP JP3 15 15 VDD JP3 16 16 VSS JP5 JP5 1 17 USB_VBUS JP5 2 18 USB_VDD33_CAP JP5 3 19 USB_D JP5 4 20 USB_D JP5 5 2...

Страница 13: ...P4 12 44 PA 0 ADC0 JP4 13 45 PA 1 ADC1 AD12 JP4 14 46 PA 2 ADC2 AD11 JP4 15 47 PA 3 ADC3 AD10 JP4 16 48 PA 4 ADC4 AD9 JP6 JP6 1 49 PA 5 ADC5 AD8 JP6 2 50 PA 6 ADC6 AD7 JP6 3 51 VREF JP6 4 52 AVDD JP6...

Страница 14: ...C10 5 A0 PB 15 ADC11 6 7 MISO CLK RESET SS PC 10 PC 9 nRESET PC 8 SPI1_MISO0 SPI1_CLK SPI1_SS0 5V MOSI VSS GPIO VDD PC 11 VSS PB 7 SPI1_MOSI0 GPIO PB 10 D8 GPIO PB 9 D9 SPI0_SS PC 0 D10 SPI0_MOSI PC 3...

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

Страница 16: ...n Schematic Description NU1 pin8 NU1_VIN Board external power source with voltage range from 7 V to 12 V The voltage regulator UP2 converts the NU1 pin8 input voltage to 5 V and supplies it to NU1_5VC...

Страница 17: ...3 V to M071 target board Note SW2 2 NU1 3VCC should be switched to ON Table 3 6 3 3 V Power Sources 3 4 4 1 8 V Power Sources Table 3 7 presents the 1 8 V power source Voltage Regular 5V Source Descr...

Страница 18: ...scription ICEJPR1 Configures the target chip operating voltage at 1 8 V 3 3 V 5 V Note M071 operating voltage range is from 2 5 V to 5 5 V Do not switch ICEJPR1 MCUVCC to 1 8 V ICEJPR2 Configures the...

Страница 19: ...output 2 3 3 V Connect to PC 3 3 V default 3 3 V default 3 3 V Off 3 3 V output 3 5 V Connect to PC 5 V 3 3 V default 3 3 V Off 5 V output Note 1 0 should be soldered between ICEJPR1 s MCUVCC and 1 8...

Страница 20: ...source with Nu Link2 Me detached from NuMaker M071R1E please follow the steps below Switch the SW2 depending on the target chip operating voltage Detach the Nu Link2 Me from NuMaker M071R1E Connect t...

Страница 21: ...C 5 V output Remove resistor 3 3 V 3 3 V 7 5 V Connect to PC NU1 5VCC 5 V output Remove resistor 3 3 V 3 3 V 8 1 8 V 3 6 V 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...

Страница 22: ...3 13 External Reference Voltage Connector 3 6 Ammeter Connector Table 3 14 presents the ammeter connector Connector Description AMMETER Connector for user to measure the target chip power consumption...

Страница 23: ...l COM port VCOM for printing debug messages on PC Besides the programming status could be shown on the built in LEDs Lastly the Nu Link2 Me could be detached from the evaluation board and become a sta...

Страница 24: ...n One Nu Link2 Me is selected to connect Flash x 3 Flash x 3 Flash x 3 On ICE online Not connected to a target chip On Flash x 3 Flash x 3 ICE online Connected to a target chip On On ICE online Failed...

Страница 25: ...CC for Windows NuEclipse GCC for Linux 4 2 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 Downl...

Страница 26: ...NuMaker M071R1E Dec 14 2020 Page 26 of 46 Rev 1 00 NUMAKER M071R1E USER MANUAL Maker Nu mbed NUC472 User Manual Figure 4 2 Nu Link USB Driver Installation...

Страница 27: ...oad Download and unzip the Board Support Package BSP 4 4 Hardware Setup 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 Connect th...

Страница 28: ...d NUC472 User Manual Find the Nuvoton Virtual COM Port on the Device Manger as Figure 4 5 Figure 4 5 Device Manger Open a serial port terminal PuTTY for example to print out debug message Set the spee...

Страница 29: ...under Toolchains Open 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...

Страница 30: ...2 3 Figure 4 9 Project File Migrate to Version 5 Format Make sure the debugger is Nuvoton Nu Link Debugger as shown in Figure 4 10 and Figure 4 11 2 1 Figure 4 10 Debugger Setting in Options Window N...

Страница 31: ...ramming Setting in Options Window Rebuild all target files After successfully compiling the project download code to the Flash memory Click Start Stop Debug Section button to enter debug mode 1 3 2 4...

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

Страница 33: ...project Make sure the toolbar contains Nu Link item as shown in Figure 4 15 Note If the toolbar does not contain Nu Link item please rework section 4 2 Figure 4 15 IAR EWARM Window Make a target file...

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

Страница 35: ...filenames and project folder path contain neither invalid character nor space Double click NuEclipse exe to open the toolchain Import the Template project by following the steps presented in Figure 4...

Страница 36: ...AL Maker Nu mbed NUC472 User Manual Click the Template project and find the project properties as shown in Figure 4 21 Make sure the settings are the same as settings in Figure 4 22 1 2 3 Figure 4 21...

Страница 37: ...oject and build the project 1 2 3 Figure 4 23 Build Project After the project is built click the Template project and set the Debug Configuration as shown in Figure 4 24 Follow the settings presented...

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

Страница 39: ...2020 Page 39 of 46 Rev 1 00 NUMAKER M071R1E USER MANUAL M m U 8 10 11 9 1 Note 1 User must follow those settings highlighted in green and configure other settings depending on the needs Figure 4 27 St...

Страница 40: ...in Figure 4 29 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...

Страница 41: ...z 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 SPI FLASH 3 3V ICEC12 0 1u C0603 SN74LV2T45DCUR ICEU4 SOP8 3 1 0...

Страница 42: ..._OUT 58 PF 1 XT1_IN 59 nRESET 60 VSS 61 VDD 62 PVSS 63 PB 8 TM0 STADC CLKO 64 P35 P34 P33 P37 P36 P42 P41 P40 P39 P38 P46 P45 P44 P43 P47 P48 P50 P49 nRESET ICE_CLK ICE_DAT P52 P51 R14 100K R0603 VDD...

Страница 43: ...7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 JP6 HEADER 2 54 16X2 NC 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 P49 P64 PB10_N...

Страница 44: ...e 44 of 46 Rev 1 00 NUMAKER M071R1E USER MANUAL Maker Nu mbed NUC472 User Manual 5 4 PCB Placement Figure 5 4 and Figure 5 5 show the front and rear placement of NuMaker M071R1E Figure 5 4 Front Place...

Страница 45: ...NuMaker M071R1E Dec 14 2020 Page 45 of 46 Rev 1 00 NUMAKER M071R1E USER MANUAL M m U 6 REVISION HISTORY Date Revision Description 2020 12 14 1 00 Initial version...

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

Отзывы: