Skip to content

Generic - RTL8720CF (2M/992k)

by Generic - product page

Information  
Board code generic-rtl8720cf-2mb-992k
MCU Realtek RTL8720CF
Series AmebaZ2
Partition layout Realtek/OEM (2x 992k apps)
Specifications  
Frequency 100 MHz
Flash size 2 MiB
RAM size 256 KiB
Voltage 3.0V - 3.6V
I/O 20x GPIO, 8x PWM, 3x UART
Wi-Fi 802.11 b/g/n
BLE v4.2

Usage

Board code: generic-rtl8720cf-2mb-992k

In platformio.ini:

[env:generic-rtl8720cf-2mb-992k]
platform = libretiny
board = generic-rtl8720cf-2mb-992k
framework = arduino

In ESPHome YAML:

rtl87xx:
  board: generic-rtl8720cf-2mb-992k

Quick flashing guide

Pin Connection
PA15 / RX2 TX of USB-UART adapter
PA16 / TX2 RX of USB-UART adapter
PA00 (strapping pin) 3.3V to enter download mode
PA13 (strapping pin) 3.3V or floating
CEN (Chip-Enable) GND to reset the chip
  1. Connect the USB-UART adapter.
  2. Connect PA00 to 3.3V.
  3. Power-cycle the device or briefly short CEN to GND.
  4. Start the flashing process.

Pin functions

Name(s) UART I²C SPI PWM Other
PA00 RX1 PWM0 SWCLK, TCK
PA01 TX1 PWM1 SWDIO, TMS
PA02 RX1 SCL0 CS0 PWM2 TDO
PA03 TX1 SDA0 SCK0 PWM3 TDI
PA04 CTS1 MOSI0 PWM4 tRST
PA07 CS0
PA08 SCK0
PA09 RTS0 MOSI0
PA10 CTS0 MISO0
PA11 TX0 SCL0 PWM0
PA12 RX0 SDA0 PWM1
PA13 RX0 PWM7
PA14 TX0 PWM2
PA15 RX2 SCL0 CS0 PWM3
PA16 TX2 SDA0 SCK0 PWM4
PA17 PWM5
PA18 PWM6
PA19 CTS2 SCL0 MOSI0 PWM7
PA20 RTS2 SDA0 MISO0 PWM0
PA23 PWM7

Flash memory map

Flash size: 2 MiB / 2,097,152 B / 0x200000

Hex values are in bytes.

Name Code Start Length End
Partition Table part_table 0x000000 4 KiB / 0x1000 0x001000
System Data system 0x001000 4 KiB / 0x1000 0x002000
Calibration calibration 0x002000 4 KiB / 0x1000 0x003000
(reserved) - 0x003000 4 KiB / 0x1000 0x004000
Boot Image boot 0x004000 32 KiB / 0x8000 0x00C000
OTA1 Image ota1 0x00C000 992 KiB / 0xF8000 0x104000
OTA2 Image ota2 0x104000 992 KiB / 0xF8000 0x1FC000
LibreTiny Storage kvs 0x1FC000 16 KiB / 0x4000 0x200000