Nuvoton NuMaker NUC980 User Manual

Nuvoton NuMaker NUC980 User Manual

Serial server
Table of Contents

Advertisement

NuMaker NUC980 Serial Server
NuMaker NUC980 Serial Server
User Manual
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
July.
22, 2020
Page 1 of 46
Rev 1.20

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the NuMaker NUC980 and is the answer not in the manual?

Questions and answers

Subscribe to Our Youtube Channel

Summary of Contents for Nuvoton NuMaker NUC980

  • Page 1 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.
  • Page 2: Table Of Contents

    NuMaker NUC980 Serial Server Table of Contents Overview ..................... 5 Features ..................... 6 Hardware Configuration ................7 Front View ....................7 Rear View ....................15 Quick Start ..................16 BSP Download ..................16 Driver Installation ..................16 Hardware Setting ..................18 Programing Kernel and U-Boot to SPI NAND Flash ..........
  • Page 3 List of Figures Figure 1-1 NuMaker NUC980 Serial Server Development Board ........... 5 Figure 3-1 Front View of NuMaker NUC980 Serial Server .............. 7 Figure 3-2 Rear View of NuMaker NUC980 Serial Server ............. 15 Figure 4-1 Nuvoton USB Driver Installation Setup................. 16 Figure 4-2 Nuvoton USB Driver Installation ...................
  • Page 4 NuMaker NUC980 Serial Server List of Tables Table 4-1 Power On Setting ......................21 July. 22, 2020 Page 4 of 46 Rev 1.20...
  • Page 5: Overview

    NuMaker NUC980 Serial Server OVERVIEW NuMaker NUC980 Serial Server can gather information from up to 8 UART sensors and transfer to cloud server over two on board Ethernet port. It can also transfer information from cloud server by Ethernet to UART devices in opposite direction by applications. This serial server is a very popular IIoT device used in industrial control, which can easily transfer an onsite industrial machine control into a remote cloud factory control.
  • Page 6: Features

    NuMaker NUC980 Serial Server FEATURES  NUC980DK61Y: LQFP128 pin MCP package with DDR2 (64 MB), which can run up to 300MHz operating speed  SPI Flash: Quad mode system booting or data storage  SD0/eMMC0: User SD/eMMC memory card for system booting, data storage or SDIO (Wi- Fi) device ...
  • Page 7: Hardware Configuration

    NuMaker NUC980 Serial Server HARDWARE CONFIGURATION Front View Figure 3-1 Front View of NuMaker NUC980 Serial Server Figure 3-1 shows the main components from the front view of NuMaker NUC980 Serial Server Development Board  +5V In (CON1): Power adaptor 5V input...
  • Page 8 NuMaker NUC980 Serial Server  Power indication LEDs (LED4, LED5): Color Descriptions The system power will be terminated and LED4 LED4 lighting when the input voltage is over 5.7V or the current is over 1.7A. LED5 Green Power normal state.
  • Page 9 NuMaker NUC980 Serial Server  UART3 pin header (CON19). Connector GPIO pin of NUC980 Function CON19.1 GPC3 UART3_TXD CON19.2 GPC4 UART3_RXD CON19.3 VDD33 CON19.4  JTAG interface and UART0 (CON3) Connector GPIO pin of NUC980 Function CON3.1 VDD33 CON3.2 GPG15 nTRST CON3.3...
  • Page 10 NuMaker NUC980 Serial Server  User Key Matrix SWs (K1~K6) Function GPIO pin of NUC980 Row0 GPC13 Column0 GPC1 Row0 GPC13 Column1 GPC2 Row1 GPC14 Column0 GPC1 Row1 GPC14 Column1 GPC2 Row2 GPC15 Column0 GPC1 Row2 GPC15 Column1 GPC2 ...
  • Page 11 NuMaker NUC980 Serial Server  Expand port for user use (CON24) Connector GPIO pin of NUN980 Function CON24.1 ADC VSS CON24.2 GPD8 SPI0_SS0 CON24.3 GPB0 ADC_AIN[0] CON24.4 GPD9 SPI0_CLK CON24.5 GPB1 ADC_AIN[1] CON24.6 GPD10 SPI0_DO CON24.7 GPB2 ADC_AIN[2] CON24.8 GPD11 SPI0_DI CON24.9...
  • Page 12 NuMaker NUC980 Serial Server  EBI port for user use (CON23) Connector GPIO pin of NUN980 Function CON23.1 GPG0 EBI_ADDR0 CON23.2 GPG1 EBI_ADDR1 CON23.3 GPB2 EBI_ADDR2 CON23.4 GPG3 EBI_ADDR3 CON23.5 GPC0 EBI_DATA0 CON23.6 GPC1 EBI_DATA1 CON23.7 GPC2 EBI_DATA2 CON23.8 GPC3 EBI_DATA3 CON23.9...
  • Page 13 NuMaker NUC980 Serial Server  UART8 pin header (CON20) Connector GPIO pin of NUC980 Function CON20.1 GPA12 UART8_TXD CON20.2 GPA11 UART8_RXD CON20.3 VDD33 CON20.4  SD0/eMMC0 (CON6): Use Micro SD/eMMC memory card for system booting, data storage or SDIO (Wi-Fi) device ...
  • Page 14 NuMaker NUC980 Serial Server SPI-NOR Flash boot SW2.2/SW2.1 OFF/ON GPG9/GPG8 with 4-bit mode SPI-NOR Flash boot SW2.2/SW2.1 OFF/OFF GPG9/GPG8 with 1-bit mode  USB0 Device/HOST (CON21, JP3): USB0 Device/HOST Micro-B connector, By JP3 status or defined by the ID pin of the USB cable ...
  • Page 15: Rear View

    NuMaker NUC980 Serial Server Rear View Figure 3-2 shows the main components from the rear view of NuMaker NUC980 Serial Server Development Board  RS232-4/5 transceivers with SN75C3232E (U13 and U15)  RS485-4/5 transceivers with SN65HVD10 (U14 and U16) Figure 3-2 Rear View of NuMaker NUC980 Serial Server July.
  • Page 16: Quick Start

    Simply follow the installation and optional steps to install USB Driver, included VCOM driver. Driver Installation The programming tool requires a Nuvoton USB driver to be installed on PC first. Please follow the steps below to install the WinUSB driver.
  • Page 17 NuMaker NUC980 Serial Server July. 22, 2020 Page 17 of 46 Rev 1.20...
  • Page 18: Hardware Setting

    “NuvotonCDC_V1.00.001_Setup.exe” to install the driver: https://www.nuvoton.com/products/iot-solution/iot-platform/numaker-tomato/?group=Software&tab=2 Hardware Setting Connect the USB micro-B port (CON5) to the PC HOST. The PC HOST will supply 5V power to the NuMaker NUC980 Serial Server and will recognize July. 22, 2020 Page 18 of 46...
  • Page 19: Figure 4-3 Hardware Setting

    Term, PuTTY, etc. It is through the standard UART protocol to help user to debug. Figure 4-3 Hardware Setting Plug in the USB0 cable (CON21) If the installation is successful, a virtual COM port named “WinUSB driver (Nuvoton VCOM)” can be found in the “Device Manager”. July.
  • Page 20: Figure 4-4 Nuvoton Vcom

    NuMaker NUC980 Serial Server Figure 4-4 Nuvoton VCOM July. 22, 2020 Page 20 of 46 Rev 1.20...
  • Page 21: Programing Kernel And U-Boot To Spi Nand Flash

    After pressing the reset button(SW2), the MPU will reprogram the application and print out debug message on the terminal. For detailed NuMaker NUC980 Serial Server introduction, please refer to “NuDesign NK-980ETH2P User Manual” in the “Documents” directory. Programing Kernel and U-Boot to SPI NAND Flash 1.
  • Page 22: Figure 4-6 Program U-Boot-Spl

    NuMaker NUC980 Serial Server Figure 4-6 Program u-boot-spl 5. According to Figure 4-7, following the steps to program u-boot.bin in the “uboot_v2016.11” folder: a. Select the “SPI NAND” type. b. Fill in the image information:  Image Name: u-boot.bin ...
  • Page 23: Figure 4-7 Program U-Boot

    NuMaker NUC980 Serial Server Figure 4-7 Program u-boot 6. According to Figure 4-8, following the steps below to program kernel image: Select the “SPI NAND” type. Fill in the image information:  Image Name: 980uimage.bin  Image Type: Data ...
  • Page 24: Booting Linux Kernel

    For more details about NuWriter tool, please refer to “NUC980 NuWriter User Manual” in the “Documents” directory. For more details about kernel image and uboot, please refer to “NUC980_970 Linux environment on VMware User Manual“ from Nuvoton website. URL: https://www.nuvoton.com/products/iot-solution/iot-platform/numaker-server- nuc980/?group=Document&tab=2...
  • Page 25 NuMaker NUC980 Serial Server SF: Lock ops not supported for ef flash SF: Detected W25N01GV with page size 2 KiB, erase size 128 KiB, total 128 *** Warning - bad CRC, using default environment serial Out: serial Err: serial Net: Net Initialization Skipped No ethernet found.
  • Page 26: Executing Sample Code

    C. Connect Ethernet0 to PC and connect UART1~8 to other UART device (ex:PC COM port). Figure 4-9 NuMaker NUC980 Serial Server Board Setup Then, use Terminal tool, such as PuTTY, Tera term, etc to open the serial COM port. The COM port configuration is baudrate 115200bps, 8-bit data length and no-parity.
  • Page 27: Figure 4-10 Serial Com Port Setting

    NuMaker NUC980 Serial Server Figure 4-10 Serial COM Port Setting Power ON or push the Reset key and boot system. Freeing unused kernel memory: 5456K [Mount JFFS2]: /dev/mtdblock0 --> /mnt/mtdblock0 nuc980-emac0 nuc980-emac0: eth0 is OPENED nuc980-emac1 nuc980-emac1: eth1 is OPENED...
  • Page 28: Figure 4-11 Serial Com Port

    NuMaker NUC980 Serial Server Below is an example transmit data from Ethernet to UART. When type “123” in TCP/IP connection window which port number is 50001. The UART1 serial COM port window will show “123”. Figure 4-11 Serial COM Port And below is an example with other direction, transmit data from UART to Ethernet.
  • Page 29: Figure 4-13 Uart Setting Web Page

    NuMaker NUC980 Serial Server Figure 4-13 UART Setting Web Page July. 22, 2020 Page 29 of 46 Rev 1.20...
  • Page 30: Block Diagram Schematic

    NuMaker NUC980 Serial Server BLOCK DIAGRAM SCHEMATIC GPIO List Schematic Figure 5-1 GPIO List Schematic July. 22, 2020 Page 30 of 46 Rev 1.20...
  • Page 31: Power Schematic

    NuMaker NUC980 Serial Server Power Schematic Figure 5-2 Power Schematic July. 22, 2020 Page 31 of 46 Rev 1.20...
  • Page 32: Nuc980Dk Schematic

    NuMaker NUC980 Serial Server NUC980DK Schematic Figure 5-3 NUC980DK Schematic July. 22, 2020 Page 32 of 46 Rev 1.20...
  • Page 33: Power Filter Schematic

    NuMaker NUC980 Serial Server Power Filter Schematic Figure 5-4 Power Filter Schematic July. 22, 2020 Page 33 of 46 Rev 1.20...
  • Page 34: Configure Schematic

    NuMaker NUC980 Serial Server Configure Schematic Figure 5-5 Configure Schematic July. 22, 2020 Page 34 of 46 Rev 1.20...
  • Page 35: Nuc123Zd4An0 Schematic

    NuMaker NUC980 Serial Server NUC123ZD4AN0 Schematic Figure 5-6 NUC123ZD4AN0 Schematic July. 22, 2020 Page 35 of 46 Rev 1.20...
  • Page 36: Memory Schematic

    NuMaker NUC980 Serial Server Memory Schematic Figure 5-7 Memory Schematic July. 22, 2020 Page 36 of 46 Rev 1.20...
  • Page 37: Rmii_Pe Schematic

    NuMaker NUC980 Serial Server RMII_PE Schematic Figure 5-8 RMII_PE Schematic July. 22, 2020 Page 37 of 46 Rev 1.20...
  • Page 38: Rmii_Pf Schematic

    NuMaker NUC980 Serial Server RMII_PF Schematic Figure 5-9 RMII_PF Schematic July. 22, 2020 Page 38 of 46 Rev 1.20...
  • Page 39: Uart_A Schematic

    NuMaker NUC980 Serial Server UART_A Schematic Figure 5-10 UART_A Schematic July. 22, 2020 Page 39 of 46 Rev 1.20...
  • Page 40: Uart_B Schematic

    NuMaker NUC980 Serial Server UART_B Schematic Figure 5-11 UART_B Schematic July. 22, 2020 Page 40 of 46 Rev 1.20...
  • Page 41: Usb Schematic

    NuMaker NUC980 Serial Server USB Schematic Figure 5-12 USB Schematic July. 22, 2020 Page 41 of 46 Rev 1.20...
  • Page 42: Expand Schematic

    NuMaker NUC980 Serial Server Expand Schematic Figure 5-13 Expand Schematic July. 22, 2020 Page 42 of 46 Rev 1.20...
  • Page 43: Pcb Placement

    NuMaker NUC980 Serial Server PCB Placement Figure 5-14 Front PCB Placement July. 22, 2020 Page 43 of 46 Rev 1.20...
  • Page 44: Figure 5-15 Back Pcb Placement

    NuMaker NUC980 Serial Server Figure 5-15 Back PCB Placement July. 22, 2020 Page 44 of 46 Rev 1.20...
  • Page 45: Revision History

    NuMaker NUC980 Serial Server REVISION HISTORY Date Revision Description 2020.05.22 1.00 Initial version 2020.07.22 1.20 For board versionV1.2 July. 22, 2020 Page 45 of 46 Rev 1.20...
  • Page 46 NuMaker NUC980 Serial Server Important Notice Nuvoton Products are neither intended nor warranted for usage in systems or equipment, any malfunction or failure of which may cause loss of human life, bodily injury or severe property damage. Such applications are deemed, “Insecure Usage”.

Table of Contents