background image

NuMaker-M483KG

 

 

May. 

10, 2019 

Page 

31

 of 40 

Rev 1.00 

N

UMA

K

E

R

-M4

83

K

G

 US

E

R MA

NUA

L

 

Ma

k

er Nu

-m

be

d

 NUC

47

Us

er Man

ua

 

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.  

1

3

2

4

1. Rebuild

3. Download

4. Start/Stop Debug

2. Successfully compile

 

Figure 3-12 Compile and Download the Project 

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

Summary of Contents for NuMicro M483 Series

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

Page 2: ...5 3 3 3 V Power Sources 17 2 5 4 1 8V Power Sources 18 2 5 5 Power Connectors 18 2 5 6 USB Connectors 18 2 5 7 Power Switches 18 2 5 8 Power Supply Models 19 2 5 9 External Reference Voltage Connector...

Page 3: ...83KG May 10 2019 Page 3 of 40 Rev 1 00 NUMAKER M483KG USER MANUAL 4 NuMaker M483KG Schematics 35 Nu Link2 Me 35 4 1 M483 platform 36 4 2 Extension Connector 37 4 3 Advance Connector 38 4 4 5 REVISION...

Page 4: ...gure 3 2 Nu Link USB Driver Installation 26 Figure 3 3 Open VCOM Function 27 Figure 3 4 ICE USB Connector 27 Figure 3 5 Device Manger 28 Figure 3 6 PuTTY Session Setting 28 Figure 3 7 Template Project...

Page 5: ...tended Connector JP6 Interface with M483KGCAE2A GPIO 16 Table 2 6 Vin Power Source 17 Table 2 7 5V Power Sources 17 Table 2 8 3 3 V Power Sources 17 Table 2 9 1 8V Power Sources 18 Table 2 10 Power Co...

Page 6: ...troller 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...

Page 7: ...10 2019 Page 7 of 40 Rev 1 00 NUMAKER M483KG USER MANUAL ICE USB connector on Nu Link2 Me On board Nu Link2 Me debugger and programmer Debug through SWD interface On line off line programming Virtual...

Page 8: ...f NuMaker M483KG Figure 2 1 shows the main components and connectors from the front side of NuMaker M483KG The following lists components and connectors from the front view Target Chip M483KGCAE2A U1...

Page 9: ...main components and connectors from the rear side of NuMaker M483KG The following lists components and connectors from the rear view SD Card Slot U9 Nu Link2 Me MCUVCC Power Switch ICEJPR1 ICEVCC Pow...

Page 10: ...SPI0_CLK EPWM0_CH3 PA 2 D13 VSS VSS VREF VREF I2C0_SDA PC 0 SDA I2C0_SCL PC 1 SCL UART1_RXD EPWM0_CH3 PB 2 D0 UART1_TXD EPWM0_CH2 PB 3 D1 CAN1_RXD EPWM1_CH3 PC 9 D2 CAN1_TXD EPWM1_CH2 PC 10 D3 I2C0_SD...

Page 11: ...N U 1 NU1 8 VIN NU3 8 D7 PE 5 NU1 7 VSS N U 4 NU4 1 D8 PA 5 NU1 6 VSS NU4 2 D9 PA 4 NU1 5 5V NU4 3 D10 PA 3 NU1 4 3V NU4 4 D11 PA 0 NU1 3 RST nRESET NU4 5 D12 PA 1 NU1 2 IOREF VDD NU4 6 D13 PA 2 NU1 1...

Page 12: ...nment for Extension Connectors 2 4 The NuMaker M483KG provides the M483KGCAE2A target chip onboard and full pins extension connectors JP3 JP4 JP5 and JP6 The Figure 2 4 shows the M483KGCAE2A extension...

Page 13: ...10 JP3 8 8 PC 9 JP3 9 9 PB 1 JP3 10 10 PB 0 JP3 11 11 GND JP3 12 12 3VCC JP3 13 13 PA 11 JP3 14 14 PA 10 JP3 15 15 PA 9 JP3 16 16 PA 8 JP3 17 17 PC 13 JP3 18 18 PD 12 JP3 19 19 PD 11 JP3 20 20 PD 10...

Page 14: ...9 GND JP5 8 40 3VCC JP5 9 41 PE 8 JP5 10 42 PE 9 JP5 11 43 PE 10 JP5 12 44 PE 11 JP5 13 45 PE 12 JP5 14 46 PE 13 JP5 15 47 PC 8 JP5 16 48 PC 7 JP5 17 49 PC 6 JP5 18 50 PA 7 JP5 19 51 PA 6 JP5 20 52 GN...

Page 15: ...6 70 PC 4 JP4 7 71 PC 3 JP4 8 72 PC 2 JP4 9 73 I2C0_SCL JP4 10 74 I2C0_SDA JP4 11 75 GND JP4 12 76 3VCC JP4 13 77 PG 9 JP4 14 78 PG 10 JP4 15 79 PG 11 JP4 16 80 PG 12 JP4 17 81 PG 13 JP4 18 82 SW3 JP4...

Page 16: ...JP6 8 104 3VCC JP6 9 105 PE 1 JP6 10 106 PE 0 JP6 11 107 PH 8 JP6 12 108 PH 9 JP6 13 109 PH 10 JP6 14 110 PH 11 JP6 15 111 PD 14 JP6 16 112 GND JP6 17 113 LDO_CAP2 JP6 18 114 3VCC JP6 19 115 USB_VBUS_...

Page 17: ...2 Me J2 USB_VBUS USB connector on NuMaker M483KG supplies 5 V power from PC to M483 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...

Page 18: ...Comment JP1 VDD 1 8 V 3 6 V connector on the NuMaker M483KG JP2 VSS connector on the NuMaker M483KG Table 2 10 Power Connectors 2 5 6 USB Connectors Table 2 11 presents the USB connectors Connector C...

Page 19: ...n the ICE chip operating voltage 3 Connect the external power supply to JP1 Table 2 13 presents all power models when supplies external power through Nu Link2 Me The Nu Link2 Me external power sources...

Page 20: ...he ICE chip operating voltage 3 Connect the external power supply to Vin or J2 To use JP1 as external power supply source please follow the below steps 1 Remove the resistor on ICEJPR1 MCUVCC 2 Solder...

Page 21: ...esistor 3 3 V 3 3 V 5 3 3 V X Connect to PC Ignore ON 3 3 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...

Page 22: ...age Connector 2 5 10 Ammeter Connector Table 2 16 presents the ammeter connector Connector Comment AMMETER Connector for user to easily measure the target chip power consumption User needs to remove t...

Page 23: ...PH 6 SD_POWER The power LED indicates that the SD slot is powered ICES0 ICES1 ICES2 and ICES3 Nu Link2 Me status LED Table 2 19 LEDs Nu Link2 Me 2 6 The Nu Link2 Me is a debugger and programmer that...

Page 24: ...e 24 of 40 Rev 1 00 NUMAKER M483KG USER MANUAL Maker Nu mbed NUC472 User Manual PCB Placement 2 7 Figure 2 9 and Figure 2 10 show the front and rear placement of NuMaker M483KG Figure 2 9 Front Placem...

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

Page 26: ...NuMaker M483KG May 10 2019 Page 26 of 40 Rev 1 00 NUMAKER M483KG USER MANUAL Maker Nu mbed NUC472 User Manual Figure 3 2 Nu Link USB Driver Installation...

Page 27: ...rt Package BSP Hardware Setup 3 4 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 Figur...

Page 28: ...R M483KG 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 th...

Page 29: ...lchains 3 6 Open and execute the project under the toolchain The section 3 6 1 0 and 3 6 3 describe the steps of executing project in Keil MDK IAR EWARM and NuEclipse respectively 3 6 1 Keil MDK This...

Page 30: ...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 co...

Page 31: ...ect 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 12 Compile and Download...

Page 32: ...USER MANUAL Maker Nu mbed NUC472 User Manual 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 13 Keil MDK Debu...

Page 33: ...oject 2 Make sure the toolbar contain Nu Link item as shown in Figure 3 15 Note If the toolbar does not contain Nu Link item please rework section 3 2 Figure 3 15 IAR EWARM Window 3 Make target file a...

Page 34: ...ut as shown in Figure 3 18 User can debug the project under debug mode by checking source code assembly language peripherals registers and setting breakpoint step run value monitor etc 1 2 3 1 Go 3 Re...

Page 35: ...T_I ICEC10 20p C0603 ICEC11 20p C0603 12M Crystal ICEX1 12MHz SMD X3225B 1 XIN 2 GND 4 GND 3 XOUT 3 3V SPIM_MISO0 ICEU2 W25Q16JVSSIQ SOP8 5 23 1 27MM CS 1 DO 2 WP 3 GND 4 DI 5 CLK 6 HOLD 7 VCC 8 3 3V...

Page 36: ...T 2 OUT 4 Title Size Document Number Rev Date Sheet of NuMaker M483KG v1 0 M483KGCAE2A Custom 2 3 Tuesday May 14 2019 Bypass Cap C22 0 1u C0603 C23 0 1u C0603 C18 1u C0603 R17 0 P33 P64 P1 P32 P97 P12...

Page 37: ...6X2 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 SD0_DAT3 SD0_DAT2 D1 Title Size Document Number Rev Date Sheet of NuMaker M483KG v1 0 M483KGCAE2A Custom 3...

Page 38: ...D PA 15 USB_D PA 14 NU1_5VCC NU1_5VCC VDD R138 4 7K VDD CCAP_DAT5 CCAP_DAT3 CCAP_DAT1 I2C2_SDA CCAP_SCLK CCAP_HSYNC CCAP_NRST CCAP_DAT7 CON16 NC 1 3 5 7 9 11 13 15 17 19 21 23 2 4 6 8 10 12 14 16 18 2...

Page 39: ...NuMaker M483KG May 10 2019 Page 39 of 40 Rev 1 00 NUMAKER M483KG USER MANUAL 5 REVISION HISTORY Date Revision Description 2019 05 10 1 00 1 Initially issued...

Page 40: ...sage 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 system...

Reviews: