Skip to content

CR3L Wi-Fi Module

by Tuya Inc. - product page

Information  
Board code cr3l
MCU Realtek RTL8720CM
Series AmebaZ2
Partition layout Tuya (2x 1712k apps)
Specifications  
Frequency 100 MHz
Flash size 4 MiB
RAM size 256 KiB
Voltage 3.0V - 3.6V
I/O 11x GPIO, 7x PWM, 3x UART
Wi-Fi 802.11 b/g/n
BLE v4.2
FCC ID 2ANDL-CR3L

Usage

Board code: cr3l

In platformio.ini:

[env:cr3l]
platform = libretiny
board = cr3l
framework = arduino

In ESPHome YAML:

rtl87xx:
  board: cr3l

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.

Pinout

Pinout

Pin functions

Name(s) UART I²C SPI PWM Other
PA02 RX1 SCL0 CS0 PWM2
PA03 TX1 SDA0 SCK0 PWM3
PA04 MOSI0 PWM4
PA13 RX0 PWM7
PA14 TX0 PWM2
PA15 RX2 SCL0 CS0 PWM3
PA16 TX2 SDA0 SCK0 PWM4
PA17 PWM5
PA18 PWM6
PA19 SCL0 MOSI0 PWM7
PA20 SDA0 MISO0 PWM0

Flash memory map

Flash size: 4 MiB / 4,194,304 B / 0x400000

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
(reserved) - 0x00C000 16 KiB / 0x4000 0x010000
OTA1 Image ota1 0x010000 1.7 MiB / 0x1AC000 0x1BC000
OTA2 Image ota2 0x1BC000 1.7 MiB / 0x1AC000 0x368000
(reserved) - 0x368000 92 KiB / 0x17000 0x37F000
Tuya Storage tuya 0x37F000 68 KiB / 0x11000 0x390000
(reserved) - 0x390000 416 KiB / 0x68000 0x3F8000
LibreTiny Storage kvs 0x3F8000 32 KiB / 0x8000 0x400000