• Home
  • Annotate
  • current directory
Name Date Size #Lines LOC

..21-Aug-2025-

applications/21-Aug-2025-

board/21-Aug-2025-

bsp/21-Aug-2025-

.config A D21-Aug-202546.9 KiB1,4421,331

.ignore_format.yml A D21-Aug-2025254 75

Kconfig A D21-Aug-2025434 2316

README.md A D21-Aug-20255 KiB12597

README_zh.md A D21-Aug-20255.1 KiB12597

SConscript A D21-Aug-2025312 1511

SConstruct A D21-Aug-20251.8 KiB6146

rtconfig.h A D21-Aug-20258.8 KiB43799

rtconfig.py A D21-Aug-20251.9 KiB6748

README.md

1# Seeed Wio-Terminal BSP Introduction
2
3[中文](README_zh.md)
4
5![](https://static.getiot.tech/WioT-Hardware-Overview.png)
6
7- MCU: ATSAMD51P19A @120MHz, 512KB FLASH, 192KB RAM
8- D51: Cortex-M4F + Adavanced Feature Set
9- Pin: G=48 pins, J=64 pins, N=100 pins, P=128 pins
10- Flash: 18=256KB, 19=512KB, 20=1024KB (size=2^n)
11- SRAM : 128KB(Flash 256KB), 192KB(Flash 512KB), 256KB(Flash 1MB)
12- Datasheet: <https://www.microchip.com/en-us/product/ATSAMD51P19>
13
14#### KEY FEATURES
15
16#### Core
17
18- 32-bit Arm® Cortex®-M4 core with single-precision FPU and 4 KB combined instruction cache and data cache; frequency up to 120 MHz, MPU, 403 CoreMark® at 120 MHz, and DSP instructions
19
20#### Memories
21
22- 1 MB/512 KB/256 KB in-system self-programmable Flash with:
23  - Error Correction Code (ECC)
24  - Dual bank with Read-While-Write (RWW) support
25
26- EEPROM hardware emulation
27- 128 KB, 192 KB, 256 KB SRAM main memory
28- 64 KB, 96 KB, 128 KB of Error Correction Code (ECC) RAM option
29- Up to 4 KB of Tightly Coupled Memory (TCM)
30- Up to 8 KB additional SRAM
31- Can be retained in backup mode
32- Eight 32-bit backup registers
33
34#### System
35
36- Power-on Reset (POR) and Brown-out detection (BOD)
37- Internal and external clock options
38- External Interrupt Controller (EIC)
39- 16 external interrupts
40- One non-maskable interrupt
41- Two-pin Serial Wire Debug (SWD) programming, test, and debugging interface
42
43#### High-Performance Peripherals
44
45- 32-channel Direct Memory Access Controller (DMAC)
46- Up to two SD/MMC Host Controller (SDHC)
47- Up to 50 MHz operation
48- 4-bit or 1-bit interface
49- Compatibility with SD and SDHC memory card specification version 3.01
50- Compatibility with SDIO specification version 3.0
51- Compliant with JDEC specification, MMC memory cards V4.51
52- One Quad I/O Serial Peripheral Interface (QSPI)
53- Dedicated AHB memory zone
54- One Ethernet MAC (SAM E53 and SAM E54)– 10/100 Mbps in MII and RMII with dedicated DMA
55- IEEE® 1588 Precision Time Protocol (PTP) support
56- IEEE 1588 Time Stamping Unit (TSU) support
57- IEEE802.3AZ energy efficiency support
58- Support for 802.1AS and 1588 precision clock synchronization protocol
59- Wake on LAN support
60-  Up to two Controller Area Network (CAN) (that is., SAM E51 and SAM E54)
61- Support for CAN 2.0A/CAN 2.0B and CAN-FD (ISO 11898-1:2016)
62- One Full-Speed (12 Mbps) Universal Serial Bus (USB) 2.0 interface
63- Embedded host and device function
64- Eight endpoints
65- On-chip transceiver with integrated serial resistor
66
67#### System Peripherals
68
69- Up to 114 I/O lines with external interrupt capability (edge- or level-sensitivity), debouncing, glitch filtering and On-die Series Resistor Termination
70- Five Parallel Input/Output Controllers (PIO)
71- 32-channel Event System
72- Up to eight Serial Communication Interfaces (SERCOM), can be configured as USART/I2C/SPI
73- Up to eight 16-bit Timers/Counters (TC), can be configured as 8/16/32bit TC.
74- Two 24-bit Timer/Counters for Control (TCC), with extended functions
75- Up to Three 16-bit Timer/Counters for Control (TCC) with extended functions.
76- 32-bit Real Time Counter (RTC) with clock/calendar function
77- Up to 4 wake-up pins with tamper detection and debouncing filter
78- Watchdog Timer (WDT) with Window mode
79- CRC-32 generator
80- One two-channel Inter-IC Sound Interface (I2S)
81- Position Decoder (PDEC)
82- Frequency meter (FREQM)
83- Four Configurable Custom Logic (CCL)
84- Dual 12-bit, 1 MSPS Analog-to-Digital Converter (ADC) with up to 16 channels each:
85- Dual 12-bit, 1 MSPS output Digital-to-Analog Converter (DAC)
86- Two Analog Comparators (AC) with Window Compare function
87- One temperature sensor
88- Parallel Capture Controller (PCC)
89- Peripheral Touch Controller (PTC) - Capacitive Touch buttons, sliders, and wheels
90
91#### Cryptography
92
93- One Advanced Encryption System (AES) with 256-bit key length and up to 2 MB/s data rate
94- Five confidential modes of operation (ECB, CBC, CFB, OFB, CTR)
95- Supports counter with CBC-MAC mode
96- Galois Counter Mode (GCM) - True Random Number Generator (TRNG)
97- Public Key Cryptography Controller (PUKCC) and associated Classical Public Key Cryptography Library (PUKCL)
98- RSA, DSA : Elliptic Curves Cryptography (ECC) ECC GF(2n), ECC GF(p)
99- Integrity Check Module (ICM) based on Secure Hash Algorithm (SHA1, SHA224, SHA256), DMA assisted
100
101#### I/O
102
103- Up to 99 programmable I/O pins
104
105#### Qualification
106
107- AEC-Q100 Grade 1 (-40°C to 125°C)
108
109#### Package Type
110
111- VQFN48,    48-lead VQFN, 7x7 mm,   pitch 0.5 mm, I/O Pins up to 37
112- VQFN64,    64-lead VQFN, 9x9 mm,   pitch 0.5 mm, I/O Pins up to 51
113- TQFP64,    64-lead TQFP, 10x10 mm, pitch 0.5 mm, I/O Pins up to 51
114- TQFP100,  100-lead TQFP, 14x14 mm, pitch 0.5 mm, I/O Pins up to 81
115- TQFP128,  128-lead TQFP, 14x14 mm, pitch 0.4 mm, I/O Pins up to 99
116- TFBGA120, 120-ball TFBGA, 8x8 mm,  pitch 0.5 mm, I/O Pins up to 90
117
118#### Board info
119
120- [Wio Terminal: ATSAMD51 Core with Realtek RTL8720DN BLE 5.0 & Wi-Fi Dev Board](https://www.seeedstudio.com/Wio-Terminal-p-4509.html)
121
122#### Contact Info
123
124- [luhuadong](https://github.com/luhuadong), <luhuadong@163.com>
125

README_zh.md

1# Seeed Wio-Terminal BSP 介绍
2
3[English](README.md)
4
5![](https://static.getiot.tech/WioT-Hardware-Overview.png)
6
7- MCU:ATSAMD51P19A @120MHz,512KB FLASH,192KB RAM
8- D51:Cortex-M4F + Adavanced Feature Set
9- 管脚:G 系列-48 pins,J 系列-64 pins,N 系列-100 pins,P 系列-128 pins
10- Flash:尾缀 18=256KB, 19=512KB, 20=1024KB(size=2^n)
11- SRAM:128KB(Flash 256KB),192KB(Flash 512KB),256KB(Flash 1MB)
12- 手册:<https://www.microchip.com/en-us/product/ATSAMD51P19>
13
14#### 关键特性
15
16#### 内核
17
18- 32-bit Arm® Cortex®-M4 内核 + 单精度 FPU + 4 KB 复用的指令和数据 Cache,最大工作主频 120 MHz,带MPU,403 CoreMark®@120 MHz,支持 DSP 指令集
19
20#### 内存
21
22- 1 MB/512 KB/256 KB in-system self-programmable Flash with:
23  - Error Correction Code (ECC)
24  - Dual bank with Read-While-Write (RWW) support
25
26- EEPROM hardware emulation
27- 128 KB, 192 KB, 256 KB SRAM main memory
28- 64 KB, 96 KB, 128 KB of Error Correction Code (ECC) RAM option
29- Up to 4 KB of Tightly Coupled Memory (TCM)
30- Up to 8 KB additional SRAM
31- Can be retained in backup mode
32- Eight 32-bit backup registers
33
34#### 系统特性
35
36- Power-on Reset (POR) and Brown-out detection (BOD)
37- Internal and external clock options
38- External Interrupt Controller (EIC)
39- 16 external interrupts
40- One non-maskable interrupt
41- Two-pin Serial Wire Debug (SWD) programming, test, and debugging interface
42
43#### 高性能外设
44
45- 32-channel Direct Memory Access Controller (DMAC)
46- Up to two SD/MMC Host Controller (SDHC)
47- Up to 50 MHz operation
48- 4-bit or 1-bit interface
49- Compatibility with SD and SDHC memory card specification version 3.01
50- Compatibility with SDIO specification version 3.0
51- Compliant with JDEC specification, MMC memory cards V4.51
52- One Quad I/O Serial Peripheral Interface (QSPI)
53- Dedicated AHB memory zone
54- One Ethernet MAC (SAM E53 and SAM E54)– 10/100 Mbps in MII and RMII with dedicated DMA
55- IEEE® 1588 Precision Time Protocol (PTP) support
56- IEEE 1588 Time Stamping Unit (TSU) support
57- IEEE802.3AZ energy efficiency support
58- Support for 802.1AS and 1588 precision clock synchronization protocol
59- Wake on LAN support
60-  Up to two Controller Area Network (CAN) (that is., SAM E51 and SAM E54)
61- Support for CAN 2.0A/CAN 2.0B and CAN-FD (ISO 11898-1:2016)
62- One Full-Speed (12 Mbps) Universal Serial Bus (USB) 2.0 interface
63- Embedded host and device function
64- Eight endpoints
65- On-chip transceiver with integrated serial resistor
66
67#### 系统外设
68
69- Up to 114 I/O lines with external interrupt capability (edge- or level-sensitivity), debouncing, glitch filtering and On-die Series Resistor Termination
70- Five Parallel Input/Output Controllers (PIO)
71- 32-channel Event System
72- Up to eight Serial Communication Interfaces (SERCOM), can be configured as USART/I2C/SPI
73- Up to eight 16-bit Timers/Counters (TC), can be configured as 8/16/32bit TC.
74- Two 24-bit Timer/Counters for Control (TCC), with extended functions
75- Up to Three 16-bit Timer/Counters for Control (TCC) with extended functions.
76- 32-bit Real Time Counter (RTC) with clock/calendar function
77- Up to 4 wake-up pins with tamper detection and debouncing filter
78- Watchdog Timer (WDT) with Window mode
79- CRC-32 generator
80- One two-channel Inter-IC Sound Interface (I2S)
81- Position Decoder (PDEC)
82- Frequency meter (FREQM)
83- Four Configurable Custom Logic (CCL)
84- Dual 12-bit, 1 MSPS Analog-to-Digital Converter (ADC) with up to 16 channels each:
85- Dual 12-bit, 1 MSPS output Digital-to-Analog Converter (DAC)
86- Two Analog Comparators (AC) with Window Compare function
87- One temperature sensor
88- Parallel Capture Controller (PCC)
89- Peripheral Touch Controller (PTC) - Capacitive Touch buttons, sliders, and wheels
90
91#### 加密功能
92
93- One Advanced Encryption System (AES) with 256-bit key length and up to 2 MB/s data rate
94- Five confidential modes of operation (ECB, CBC, CFB, OFB, CTR)
95- Supports counter with CBC-MAC mode
96- Galois Counter Mode (GCM) - True Random Number Generator (TRNG)
97- Public Key Cryptography Controller (PUKCC) and associated Classical Public Key Cryptography Library (PUKCL)
98- RSA, DSA : Elliptic Curves Cryptography (ECC) ECC GF(2n), ECC GF(p)
99- Integrity Check Module (ICM) based on Secure Hash Algorithm (SHA1, SHA224, SHA256), DMA assisted
100
101#### I/O管脚
102
103 - 最多提供 99 个用户可编程 I/O 管脚
104
105#### 汽车应用
106
107 - AEC-Q100 Grade 1 (-40°C to 125°C)
108
109#### 封装
110
111- VQFN48,    48-lead VQFN, 7x7 mm,   pitch 0.5 mm, I/O Pins up to 37
112- VQFN64,    64-lead VQFN, 9x9 mm,   pitch 0.5 mm, I/O Pins up to 51
113- TQFP64,    64-lead TQFP, 10x10 mm, pitch 0.5 mm, I/O Pins up to 51
114- TQFP100,  100-lead TQFP, 14x14 mm, pitch 0.5 mm, I/O Pins up to 81
115- TQFP128,  128-lead TQFP, 14x14 mm, pitch 0.4 mm, I/O Pins up to 99
116- TFBGA120, 120-ball TFBGA, 8x8 mm,  pitch 0.5 mm, I/O Pins up to 90
117
118#### 开发板信息
119
120- [Wio Terminal: ATSAMD51 Core with Realtek RTL8720DN BLE 5.0 & Wi-Fi Dev Board](https://www.seeedstudio.com/Wio-Terminal-p-4509.html)
121
122#### 联系方式
123
124- [luhuadong](https://github.com/luhuadong), <luhuadong@163.com>
125