Nuvoton NK-M487KM User Manual Download Page 1

MuMaker-PFM-M487KM

 

 

APR 30

, 2020 

Page 

1

 of 44 

Rev 1.00 

N

UMA

K

E

R

-P

F

M

-M4
8

7K
M

 US
E

R M

A

NU

A

L

 

Ma
k

er Nu

-m

be
d

 NUC

47

Us
er Man

ua

 

 

 

ARM

®

 Cortex

®

- M 

32-bit Microcontroller

 

 

 

 

 

NuMaker-PFM-M487KM  

User Manual  

NuMicro

®

 M480 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 NK-M487KM

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

Page 2: ...rce 17 2 5 2 3 3V Power Source 17 2 5 3 USB Connectors 18 2 5 4 Ethernet Connectors 18 2 5 5 Arduino UNO Compatible Interface Connectors 18 2 5 6 Extended Connectors 18 2 5 7 Phone Jack 18 2 5 8 Micro...

Page 3: ...2 3 6 3 NuEclipse 33 4 NuMaker PFM M487KM Schematics 34 Nu Link2 Me 34 4 1 M487KMCAN 35 4 2 Power Supply 36 4 3 Arduino UNO Compatible Interface 37 4 4 MicroSD Card 38 4 5 USB 2 0 HS OTG and USB 1 1 F...

Page 4: ...Setting 27 Figure 3 7 Template Project Folder Path 28 Figure 3 8 Warning Message of Device not found 28 Figure 3 9 Project File Migrate to Version 5 Format 29 Figure 3 10 Debugger Setting in Options...

Page 5: ...ded Connector JP6 Interface with M487KMCAN GPIO 13 Table 2 3 Extended Connector JP8 Interface with M487KMCAN GPIO 14 Table 2 4 Extended Connector JP7 Interface with M487KMCAN GPIO 15 Table 2 5 Extende...

Page 6: ...pplications The NuMaker PFM M487KM also provides an ammeter connector allows user to monitor the microcontroller s power consumption during development The Nu Link2 Me is a debugger and programmer tha...

Page 7: ...oard Features 1 2 On board Nu Link2 Me debugger and programmer Debug through SWD interface On line off line programming Virtual COM port function Arduino UNO compatible interface M487 extended interfa...

Page 8: ...w Target Chip M487KMCAN U1 Audio Audio Codec NAU88L25 U8 Headphone CN2 Arduino UNO compatible interface connectors NU1 NU2 NU3 NU4 and NU5 M487 extended interface connectors JP6 JP7 JP8 and JP9 USB US...

Page 9: ...e 2 2 shows the main components and connectors from the rear side of NuMaker PFM M487KM board The following lists components and connectors from the rear view MicroSD Card Slot T Flash slot U9 Nu Link...

Page 10: ...2020 Page 10 of 44 Rev 1 00 NUMAKER PFM M487KM USER MANUAL Maker Nu mbed NUC472 User Manual Arduino UNO Compatible Interface 2 3 Figure 2 3 shows the Arduino UNO compatible interface Figure 2 3 Arduin...

Page 11: ...7 GND NU1 5 5VCC NU4 6 D13 PA 2 NU1 6 GND NU4 5 D12 PA 1 NU1 7 GND NU4 4 D11 PA 0 NU1 8 VIN NU4 3 D10 PA 3 N U 2 NU2 1 A0 PB 6 NU4 2 D9 PA 4 NU2 2 A1 PB 7 NU4 1 D8 PE 15 NU2 3 A2 PB 8 N U 3 NU3 8 D7 P...

Page 12: ...72 User Manual Pin Assignment for Extended Connectors 2 4 The NuMaker PFM M487KM provides the M487KMCAN target chip onboard and extended connectors JP6 JP7 JP8 and JP9 for LQFP128 pin The Figure 2 4 s...

Page 13: ...3 PB 3 JP6 4 4 OPA0_O JP6 5 5 PC 12 JP6 6 6 PC 11 JP6 7 7 PC 10 JP6 8 8 PC 9 JP6 9 9 OPA0_N JP6 10 10 OPA0_P JP6 11 11 GND JP6 12 12 3VCC JP6 13 13 PA 11 JP6 14 14 OPA1_O JP6 15 15 OPA1_N JP6 16 16 OP...

Page 14: ...3 35 PH 6 JP7 4 36 PH 7 JP7 5 37 XT1_IN JP7 6 38 XT1_OUT JP7 7 39 GND JP7 8 40 3VCC JP7 9 41 EMAC_MDC JP7 10 42 EMAC_MDIO JP7 11 43 EMAC_TXD0 JP7 12 44 EMAC_TXD1 JP7 13 45 EMAC_TXEN JP7 14 46 JKEN JP7...

Page 15: ...4 68 I2C2_SDA JP8 5 69 I2C1_SCL JP8 6 70 I2C1_SDA JP8 7 71 PC 3 JP8 8 72 PC 2 JP8 9 73 PC 1 JP8 10 74 PC 0 JP8 11 75 GND JP8 12 76 3VCC JP8 13 77 SD1_DAT3 JP8 14 78 SD1_DAT2 JP8 15 79 NC JP8 16 80 SD1...

Page 16: ...99 PE 5 JP9 4 100 NC JP9 5 101 PE 3 JP9 6 102 NC JP9 7 103 GND JP9 8 104 3VCC JP9 9 105 PE 1 JP9 10 106 PE 0 JP9 11 107 PH 8 JP9 12 108 PH 9 JP9 13 109 PH 10 JP9 14 110 PH 11 JP9 15 111 PD 14 JP9 16 1...

Page 17: ...es the 5V power from PC Host Note L2 should be shorted 0ohm HSUSB_VBUS CON1 CON1 supplies the 5V power from PC Host Note L11 should be shorted 0ohm USB_VBUS CON2 CON2 supplies the 5V power from PC Hos...

Page 18: ...e NuMaker PFM M487KM board 2 5 6 Extended Connectors JP6 JP7 JP8 and JP9 Extended connectors interface pins on the NuMaker PFM M487KM board 2 5 7 Phone Jack CN2 Phone jack connector on NuMaker PFM M48...

Page 19: ...e Table 2 6 shows the pin mapping between NUC88L25 and M487KMCAN Table 2 6 NAU88L25 Mapping with NuMaker PFM M487KMCAN NuMaker PFM M487KM NAU88L25 Comment I2C2_SCL SCLK I2 C clock output Note The I2 C...

Page 20: ...eartbeat sensor block diagram Heartbeat R L Sensor Pads The heartbeat sensor pads are used to detect the tiny electrical signal between human s right and left hand during each heartbeat OPA0 Different...

Page 21: ...ce PA 10 OPA1_O ICSP_CLK Short R72 to use the heartbeat function otherwise it will be CLK of UNO ICSP Interface PA 9 OPA1_N ICSP_MISO Short R73 to use the heartbeat function otherwise it will be MISO...

Page 22: ...am the target microcontroller Additionally the Nu Link2 Me provides virtual COM port VCOM function to print out messages on PC Table 2 8 presents how to set the VCOM function by ICESW2 ICESW2 Pin Func...

Page 23: ...2020 Page 23 of 44 Rev 1 00 NUMAKER PFM M487KM USER MANUAL M m U PCB Placement 2 9 Figure 2 7 and Figure 2 8 show the front and rear placement of NuMaker PFM M487KM board Figure 2 7 Front Placement F...

Page 24: ...IAR EWARM NuEclipse GCC 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 K...

Page 25: ...MuMaker PFM M487KM APR 30 2020 Page 25 of 44 Rev 1 00 NUMAKER PFM M487KM USER MANUAL M m U Figure 3 2 Nu Link USB Driver Installation...

Page 26: ...the M480 Board Support 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 conn...

Page 27: ...v 1 00 NUMAKER PFM M487KM USER MANUAL M m U 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 se...

Page 28: ...the Project under Toolchains 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...

Page 29: ...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 Nuv...

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

Page 31: ...UMAKER PFM M487KM 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 13 Keil MDK Debug Mode Fig...

Page 32: ...te eww to open the project 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...

Page 33: ...wn 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 Reset 2 Bre...

Page 34: ...R MANUAL Maker Nu mbed NUC472 User Manual 4 NUMAKER PFM M487KM SCHEMATICS Nu Link2 Me 4 1 Figure 4 1 shows the Nu Link2 Me circuit The Nu Link2 Me is a debugger and programmer that supports on line pr...

Page 35: ...MuMaker PFM M487KM APR 30 2020 Page 35 of 44 Rev 1 00 NUMAKER PFM M487KM USER MANUAL M m U M487KMCAN 4 2 Figure 4 2 shows the pin assignment of the M487KMCAN Figure 4 2 M487KMCAN Pin Assignment...

Page 36: ...30 2020 Page 36 of 44 Rev 1 00 NUMAKER PFM M487KM USER MANUAL Maker Nu mbed NUC472 User Manual Power Supply 4 3 Figure 4 3 shows power configurations of NuMaker PFM M487KM board Figure 4 3 Power Circ...

Page 37: ...age 37 of 44 Rev 1 00 NUMAKER PFM M487KM USER MANUAL M m U Arduino UNO Compatible Interface 4 4 Figure 4 4 shows the Arduino UNO compatible interface of NU1 NU2 NU5 NU6 and NU7 connectors Figure 4 4 A...

Page 38: ...PR 30 2020 Page 38 of 44 Rev 1 00 NUMAKER PFM M487KM USER MANUAL Maker Nu mbed NUC472 User Manual MicroSD Card 4 5 Figure 4 5 shows the MicroSD Card circuit on the NuMaker PFM M487KM board Figure 4 5...

Page 39: ...ge 39 of 44 Rev 1 00 NUMAKER PFM M487KM USER MANUAL M m U USB 2 0 HS OTG and USB 1 1 FS OTG 4 6 Figure 4 6 shows the USB 2 0 HS OTG and USB 1 1 FS OTG circuits on the NuMaker PFM M487KM board Figure 4...

Page 40: ...0 Page 40 of 44 Rev 1 00 NUMAKER PFM M487KM USER MANUAL Maker Nu mbed NUC472 User Manual Ethernet 4 7 Figure 4 7 shows the Ethernet interface for networking application on the NuMaker PFM M487KM board...

Page 41: ...44 Rev 1 00 NUMAKER PFM M487KM USER MANUAL M m U 24 bit Stereo Audio Codec 4 8 Figure 4 8 shows the audio codec application circuit based on NAU88L25 to simplify implementation of complete audio syste...

Page 42: ...ge 42 of 44 Rev 1 00 NUMAKER PFM M487KM USER MANUAL Maker Nu mbed NUC472 User Manual Heartbeat Sensor 4 9 Figure 4 9 shows the heartbeat sensor application circuit on the NuMaker PFM M487KM board Figu...

Page 43: ...MuMaker PFM M487KM APR 30 2020 Page 43 of 44 Rev 1 00 NUMAKER PFM M487KM USER MANUAL M m U 5 REVISION HISTORY Date Revision Description 2020 04 30 1 00 1 Initially issued...

Page 44: ...re 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 sy...

Reviews: