rt-thread-official/bsp/nuvoton/nk-980iot
Wayne bf8db63c78
Fix building issue of Nuvoton porting. (#6833)
* Fix  building issue of Nuvoton porting.

1. Change thread priority of lwip-tcpip and erx.
2. Remove '')' garbage symbols.
3. mm driver issues.

Co-authored-by: Wayne Lin <wclin@nuvoton.com>
2023-01-11 16:26:56 +08:00
..
applications Sync upstream (#6793) 2022-12-29 15:15:13 +08:00
board Fix building issue of Nuvoton porting. (#6833) 2023-01-11 16:26:56 +08:00
linking_scripts Nuvoton release/update. 2021-05-12 18:49:31 +08:00
uboot Nuvoton drivers updating and more LVGL supporting. (#5647) 2022-03-12 07:00:53 +08:00
.config Fix building issue of Nuvoton porting. (#6833) 2023-01-11 16:26:56 +08:00
Kconfig format Kconfig and sconscript 2023-01-08 22:52:13 -05:00
README.md [nuvoton] Update drivers and project setting. (#5726) 2022-03-29 07:10:35 +08:00
SConscript Update nuvoton porting. 2020-12-21 14:57:09 +08:00
SConstruct format Kconfig and sconscript 2023-01-08 22:52:13 -05:00
config_lvgl Fix building issue of Nuvoton porting. (#6833) 2023-01-11 16:26:56 +08:00
rtconfig.py Fix building issue of Nuvoton porting. (#6833) 2023-01-11 16:26:56 +08:00
spinor.config Fix building issue of Nuvoton porting. (#6833) 2023-01-11 16:26:56 +08:00
template.uvproj [nuvoton] Update drivers and project setting. (#5726) 2022-03-29 07:10:35 +08:00

README.md

NK-980IoT

1. Introduction

Nuvoton Technology provides industrial IoT development platform using NUC980DK61Y microprocessor, which is an industrial IoT open platform, including complete hardware design and software reference design. The platform is powered by Nuvoton ARM9 MPU with a 300 MHz internal speed and up to 128 MB DDR memory, single 10/100 Ethernet port, 2 high-speed USB hosts, 1 Gb SPI NAND Flash memory, microphone input, stereo headphone output and Arduino compatible interface.

NK-980IOT

1.1 MCU specification

Features
Part NO. NUC980DK61Y
CPU ARCH. 32-bit ARM926EJ-STM
Operation frequency 300 MHz
Embedded SDRAM size Built-in 64MB (Up to 128 MB DDR memory)
Crypto engine AES, RSA, ECC, HMAC and SHA crypto accelerator
RMII interface 10/100 Mbps x2
USB 2.0 High Speed Host x1, High Speed Host/Device x1
Audio Mono microphone / Stereo headphone
Extern storage 1 Gbit SPI-NAND Flash
SD card slot SD
EBI interface External memory expansion interface

1.2 Interface

Interface
Arduino UNO
A RJ45 Ethernet
An USB 2.0 HS port
An USB 2.0 HS OTG port
A microSD slot
A 3.5mm Audio connector
An EBI connector
An ICE connector

1.3 On-board devices

Device Description Driver supporting status
Ethernet PHY IP101GR Supported
Button Supported
LEDs Supported
Audio Codec NAU8822, Supports MIC and earphone Supported
USB Device VCOM + MStorage Supported
2xUSB Host MStorage Supported
SPI NAND flash W25N01GVZE1G Supported
VCOM For console Ready.(Need to install VCOM driver)

2. Supported compiler

Support GCC and MDK IDE/compilers. More information of these compiler version as following:

IDE/Compiler Tested version
MDK uVision 5.25
GCC 6-2017-q1-update

Notice: Please install ICE driver for development and NuMicro_ARM9_Device_Database_Keil.

3. Program firmware

3.1 SDRAM Downloading using NuWriter

You can use NuWriter to download rtthread.bin into SDRAM, then run it. SDRAM Downloading using NuWriter
Choose type: DDR/SRAM
<< Press Re-Connect >>
Choose file: Specify your rtthread.bin file.
Execute Address: 0x0
Option: Download and run
<< Press Download >>
Enjoy!!

3.2 SPI NOR flash using NuWriter

You can use NuWriter to program rtthread.bin into SPI NOR flash. SPI NOR flash
Choose type: SPI
<< Press Re-Connect >>
Choose file: Specify your rtthread.bin file.
Image Type: Loader
Execute Address: 0x0
<< Press Program >>
<< Press OK & Wait it down >>
<< Set Power-on setting to SPI NOR booting >>
<< Press Reset button on board >>
Enjoy!!

3.3 SPI NAND flash using NuWriter

You can use NuWriter to program rtthread.bin into SPI NAND flash. SPI NAND flash
Choose type: SPINAND
<< Press Re-Connect >>

<< Press Erase >>
<< Select Erase All >>
<< Press OK >>

Choose file: Specify your uboot-spl.bin file.
Image Type: Loader
Execute Address: 0x200
<< Press Program >>

Choose file: Specify your uboot.bin file.
Image Type: Data
Image start address: 0x100000
<< Press Program >>

Choose file: Specify your rtthread.bin file.
Image Type: Data
Image start address: 0x200000
<< Press Program >>

Choose file: Specify your env.txt file.
Image Type: Environment
Image start address: 0x80000
<< Press Program >>

<< Press OK & Wait it down >>
<< Set Power-on setting to SPI NAND booting >>
<< Press Reset button on board >>
Enjoy!!

4. Test

You can use Tera Term terminate emulator (or other software) to type commands of RTT. All parameters of serial communication are shown in below image. Here, you can find out the corresponding port number of Nuvoton Virtual Com Port in window device manager.

Serial settings

5. Purchase

6. Resources