Nuvoton ARM Cortex-M User Manual Download Page 1

NuMaker-NUC131U

 

 

May. 07

, 2020 

Page 

1

 of 46 

Rev 1.00 

N

UMA

K

E

R

-NUC1

31
U

 US
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-NUC131U 

User Manual  

NuMicro

®

 NUC131SD2AEU 

 

 

 

 

 

 

 

 

 

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 ARM Cortex-M

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

Page 2: ...2 5 V Power Sources 16 3 4 3 3 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 19 CAN Bus Interfac...

Page 3: ...3 of 46 Rev 1 00 NUMAKER NUC131U USER MANUAL M m U 4 6 2 IAR EWARM 33 4 6 3 NuEclipse 35 5 NuMaker NUC131U Schematics 41 Nu Link2 Me 41 5 1 NUC131U platform 42 5 2 Extension Connector 43 5 3 PCB Place...

Page 4: ...e 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 Figu...

Page 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 NUC131U platform Circuit 42 Figure 5 3 Extension Con...

Page 6: ...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 Table 3 11 Supply External P...

Page 7: ...extension connectors of NUC131SD2AEU the Arduino UNO compatible headers and able to adopt multiple power supply Furthermore the Nuvoton designed ammeter connector can measure the power consumption in...

Page 8: ...compatible extension connectors Ammeter connector for measuring the microcontroller s power consumption AEC Q100 qualified high speed CAN transceiver Flexible board power supply External VDD power con...

Page 9: ...NuMaker NUC131U Figure 3 1 shows the main components and connectors from the front side of NuMaker NUC131U The following lists components and connectors from the front view Target chip NUC131SD2AEU U...

Page 10: ...ar View 3 2 Figure 3 2 shows the main components and connectors from the rear side of NuMaker NUC131U The following lists components and connectors from the rear view Nu Link2 Me MCUVCC Power Switch I...

Page 11: ...e NuMaker NUC131U NU1 NU2 NU3 and NU4 Arduino UNO compatible pins on the NuMaker NUC131U Table 3 1 Extension Connectors 3 3 1 Pin Assignment for Extension Connectors The NuMaker NUC131U provides the N...

Page 12: ...7 JP3 28 14 LDO_CAP JP3 29 JP3 30 15 VDD JP3 31 JP3 32 16 VSS JP5 JP5 1 JP5 2 17 PB 0 UART0_RXD JP5 3 JP5 4 18 PB 1 UART0_TXD JP5 5 JP5 6 19 PB 2 UART0_nRTS TM2_EXT PWM1_BRAKE1 TM2 JP5 7 JP5 8 20 PB 3...

Page 13: ...M1_CH0 JP4 29 JP4 30 47 PA 3 ADC_CH3 UART3_RXD PWM1_CH1 JP4 15 JP4 32 48 PA 4 ADC_CH4 JP6 JP6 1 JP6 2 49 PA 5 ADC_CH5 UART3_RXD JP6 3 JP6 4 50 PA 6 ADC_CH6 UART3_TXD JP6 5 JP6 6 51 PA 7 ADC_CH7 VREF J...

Page 14: ...PWM1_CH2 PA 10 D2 I2C1_SCL PWM1_CH3 PA 11 D3 PWM0_CH2 PA 14 D4 PWM0_CH3 PA 15 D5 PWM0_CH4 PB 11 D6 PWM0_CH5 PE 5 D7 BPWM1_CH3 PB 12 D8 BPWM1_CH5 PB 15 D9 SPI0_SS0 BPWM0_CH0 PC 0 D10 SPI0_MOSI0 BPWM0_...

Page 15: ...NU2 5 A4 PA 1 NU3 3 D2 PA 10 NU2 4 A3 PA 2 NU3 4 D3 PA 11 NU2 3 A2 PA 3 NU3 5 D4 PA 14 NU2 2 A1 PA 4 NU3 6 D5 PA 15 NU2 1 A0 PA 5 NU3 7 D6 PB 11 N U 1 NU1 8 VIN NU3 8 D7 PE 5 NU1 7 VSS N U 4 NU4 1 D8...

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

Page 17: ...be switched to ON UP1 NU1_5VCC UP1 converts NU1_5VCC to 3 3 V and supplies 3 3 V to NUC131U platform 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 Source...

Page 18: ...r power supply debugging and programming from PC J2 USB FS connector on NuMaker NUC131U for power supply Table 3 9 USB Connectors 3 4 7 Power Switches Table 3 10 presents the power switches Switch Des...

Page 19: ...chip operating voltage 3 Switch the SW2 to OFF 4 Connect the external power supply to ICEJ3 Table 3 11 presents all power models when supplies external power through Nu Link2 Me The Nu Link2 Me extern...

Page 20: ...ting voltage 4 Connect the 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...

Page 21: ...3VCC 3 3 V output Remove resistor 3 3 V 3 3 V 6 5 V 7 V 12 V Input X X NU1 5VCC 5 V output Remove resistor 3 3 V 3 3 V 7 5 V X Connect to PC X NU1 5VCC 5 V output Remove resistor 3 3 V 3 3 V 8 1 8 V...

Page 22: ...ble 3 13 CAN Bus Interface U10 Pin Function Description 1 TXD Connects to target chip PD 7 CAN0_TXD 2 GND Ground 3 VCC Connects to NU1_5VCC for transceiver power supply 4 RXD Connects to target chip P...

Page 23: ...istor Figure 3 8 Wiring between Ammeter Connector and Ammeter Push Buttons 3 8 Table 3 17 presents the push buttons Component Description ICESW1 Offline program button to start offline ICP programming...

Page 24: ...ICESW2 Pin Function Description 1 TXD On Connect target chip PB 1 UART0_TXD to Nu Link2 Me Off Disconnect target chip PB 1 UART0_TXD to Nu Link2 Me 2 RXD On Connect target chip PB 0 UART0_RXD to Nu Li...

Page 25: ...CC for Windows NuEclipse GCC for Linux Nuvoton Nu Link Driver Installation 4 2 Download and install the latest Nuvoton Nu Link Driver Download and install Nu Link_Keil_Driver when using Keil MDK Downl...

Page 26: ...NuMaker NUC131U May 07 2020 Page 26 of 46 Rev 1 00 NUMAKER NUC131U USER MANUAL Maker Nu mbed NUC472 User Manual Figure 4 2 Nu Link USB Driver Installation...

Page 27: ...3 Download and unzip the Board Support Package BSP Hardware Setup 4 4 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...

Page 28: ...NUC472 User Manual 3 Find the Nuvoton Virtual COM Port on the Device Manger as Figure 4 5 Figure 4 5 Device Manger 4 Open a serial port terminal PuTTY for example to print out debug message Set the sp...

Page 29: ...under Toolchains 4 6 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 K...

Page 30: ...2 3 Figure 4 9 Project File Migrate to Version 5 Format 2 Make sure the debugger is Nuvoton Nu Link Debugger as shown in Figure 4 10 and Figure 4 11 Note If the dropdown menu in Figure 4 10 does not c...

Page 31: ...amming 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 1 3 2 4...

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

Page 33: ...e project 2 Make sure the toolbar contain 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 3 Make target fi...

Page 34: ...EWARN 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...

Page 35: ...d project folder path contain neither invalid character nor space 1 Double click NuEclipse exe to open the toolchain 2 Import the Template project by following the steps presented in Figure 4 19 and F...

Page 36: ...L Maker Nu mbed NUC472 User Manual 3 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...

Page 37: ...oject and build the project 1 2 3 Figure 4 23 Build Project 5 After the project is built click the Template project and set the Debug Configuration as shown in Figure 4 24 Follow the settings presente...

Page 38: ...aker 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 fram...

Page 39: ...020 Page 39 of 46 Rev 1 00 NUMAKER NUC131U USER MANUAL M m U 8 10 11 9 1 Note 1 User must follow those settings highlighted in green and can configure other settings depend on the needs Figure 4 27 St...

Page 40: ...g 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 NuEclipse please...

Page 41: ...MHz 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...

Page 42: ...T1_IN P60 nRESET P61 P63 P62 VDD_2 P64 1 2 LEDG1 Green LED0805 PA13_NU3_D1 TX PC1_NU5_CLK PA1_NU2_A4 SDA RX PA0_NU2_A5 SCL TX PA12_NU3_D0 RX PF5 PB7 PC2_NU5_MISO PC3_NU5_MOSI PB6 PC0_NU4_D10 SS PF4 P3...

Page 43: ...U3_D4 PA15_NU3_D5 PA11_NU3_D3 Ti t l e Si ze D ocum ent N um ber R ev D at e Sheet of NuMaker NUC131U v1 0 Ext Connector Custom 3 3 Thursday March 26 2020 PB6 PF4 PF5 PB7 PB4 PB14_LED_R PB12_NU4_D8 VD...

Page 44: ...e 44 of 46 Rev 1 00 NUMAKER NUC131U USER MANUAL Maker Nu mbed NUC472 User Manual PCB Placement 5 4 Figure 5 4 and Figure 5 5 show the front and rear placement of NuMaker NUC131U Figure 5 4 Front Place...

Page 45: ...NuMaker NUC131U May 07 2020 Page 45 of 46 Rev 1 00 NUMAKER NUC131U USER MANUAL M m U 6 REVISION HISTORY Date Revision Description 2020 05 07 1 00 1 Initial version...

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

Reviews: