Skip to content

BW12

by Ai-Thinker Co., Ltd.

Product page

Parameter Value
Board code bw12
MCU RTL8710BX
Manufacturer Realtek
Series AmebaZ
Frequency 62.5 MHz
Flash size 2 MiB
RAM size 256 KiB
Voltage 3.0V - 3.6V
I/O 11x GPIO, 6x PWM, 2x UART, 1x ADC
Wi-Fi 802.11 b/g/n
FCC ID 2ARI3-BW1X

Usage

Board code: bw12

In platformio.ini:

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

In ESPHome YAML:

rtl87xx:
  board: bw12

Pinout

Pinout

Pin functions

Name(s) UART IĀ²C SPI PWM Other
PA00 PWM2
PA05 PWM4
PA12 PWM3
PA14 PWM0 SWCLK
PA15 PWM1 SWDIO
PA18 RX0 SCL1 SCK0, SCK1
PA19, ADC1 SDA0 CS0, CS1
PA22 SCL0 MISO0, MISO1 PWM5
PA23 TX0 SDA1 MOSI0, MOSI1 PWM0
PA29 RX2 SCL0 PWM4
PA30 TX2 SDA0 PWM4

Flash memory map

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

Hex values are in bytes.

Name Start Length End
Boot XIP 0x000000 16 KiB / 0x4000 0x004000
Boot RAM 0x004000 16 KiB / 0x4000 0x008000
(reserved) 0x008000 4 KiB / 0x1000 0x009000
System Data 0x009000 4 KiB / 0x1000 0x00A000
Calibration 0x00A000 4 KiB / 0x1000 0x00B000
OTA1 Image 0x00B000 468 KiB / 0x75000 0x080000
OTA2 Image 0x080000 468 KiB / 0x75000 0x0F5000
Key-Value Store 0x0F5000 32 KiB / 0x8000 0x0FD000
User Data 0x0FD000 1 MiB / 0x102000 0x1FF000
RDP 0x1FF000 4 KiB / 0x1000 0x200000