Skip to content

BW15

by Ai-Thinker Co., Ltd. - product page

Information  
Board code bw15
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 13x GPIO, 8x PWM, 3x UART
Wi-Fi 802.11 b/g/n
BLE v4.2
FCC ID 2AXVG-BW15

Usage

Board code: bw15

In platformio.ini:

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

In ESPHome YAML:

rtl87xx:
  board: bw15

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
PA00 RX1 PWM0 SWCLK, TCK
PA01 TX1 PWM1 SWDIO, TMS
PA02 RX1 SCL0 CS0 PWM2 TDO
PA03 TX1 SDA0 SCK0 PWM3 TDI
PA04 MOSI0 PWM4 tRST
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: 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