Ameba MicroPython Solutions

Ameba MicroPython Solution
Ameba MicroPython Solutions

Write Wi-Fi, networking, and peripheral applications in Python directly on Ameba chips

MicroPython

MicroPython is a lean, efficient implementation of Python 3 designed for microcontrollers and constrained environments. Ameba-MicroPython is Realtek's port of MicroPython on top of the Ameba-RTOS SDK, letting developers write Wi-Fi, networking, filesystem, and peripheral applications directly on Ameba chips in Python. Connect over a serial port to get an interactive REPL — no firmware rebuild required to iterate on your code.

Lightweight Scripting

Write application logic in Python instead of C/C++. Simple syntax and a fast learning curve make it ideal for rapid prototyping, teaching, and automation scripts.

Interactive REPL

Connect over the LOGUART serial port to get an interactive REPL. No rebuild-and-reflash cycle — write code and run it immediately, shortening the debug loop dramatically.

Full Wi-Fi & Networking

network.WLAN supports STA/AP modes, paired with BSD sockets over lwIP (including SSL), so you can write networked applications entirely in Python.

Open Source & Community-Driven

Built on top of the upstream MicroPython project, with Ameba support merged into the official MicroPython repository as part of the mainline distribution, shared with developers worldwide.

Software Components & Features

Ameba-MicroPython is built on top of the Ameba-RTOS SDK, with an architecture split into the MicroPython interpreter core, the Ameba hardware adaptation layer, the networking stack, and the filesystem. Developers call standard Python modules (network, socket, machine, and more) to access Wi-Fi, peripherals, and storage without dealing with RTOS task scheduling or driver details.

The primary target today is RTL8721Dx, with the default build board PKE8721DAF. Support for RTL8720E / RTL8710E, RTL8721F, and RTL8730E is planned.

Ameba MicroPython Software Architecture
MicroPython Interpreter

MicroPython Interpreter

Networking Stack

Networking Stack

Filesystem & Multithreading

Filesystem & Multithreading

Peripherals & Security

Peripherals & Security

Development Resources

IconResourceLink
GitHub Source Code View
Technical Documentation View
Official Forum View
Contact Us View


Recommended ICs

Features Filter RTL8720F RTL8721F RTL8721Dx RTL8720E RTL8710E RTL8726E RTL8713E RTL8730E RTL872xD RTL8735B
Application
Processor
Cortex-M Cortex-M Cortex-M Cortex-M Cortex-M Cortex-M Cortex-M Cortex-A Cortex-M Cortex-M
DSP
N N N N N Y Y N N N
ISP?
N N N N N N N N N Y
Arm TrustZone
Y Y Y Y N Y N Y Y Y
Dual Band?
N Y Y N N N N Y Y Y
Wi-Fi 6
Y Y N Y Y Y Y Y N N
R-MESH?
Y Y Y N N N N N N N
Ultra-low Power
Y Y Y N N N N N Y Y
Ethernet
N Y N N N N N N N N
BT Dual Mode
N N N N N Y Y Y N N
HMI?
N Y Y N N N N Y N N
Audio ADC?
N N N N N Y Y Y Y Y
Audio DAC?
N N N N N Y Y Y Y Y
SDIO Host
N Y N N N N N N N N
SD/EMMC Host
N Y N N N N N Y Y Y
USB
N Y Y N N N N Y Y Y
BT Dedicated
Antenna?
N N N N N N N Y N N
CAN?
N Y N N N N N N N N