3.2 KiB
3.2 KiB
Beken 72xx
Resources
| Name | Notes |
|---|---|
| BK7231U Datasheet v0.71 | Machine-translated to English |
| BL2028N Datasheet v1.0 | BL2028N is a "clone" of BK7231N |
| BK72XX SDK User Manual 3.0.3 | Machine-translated to English |
| BEKEN WiFi SDK API Reference 3.0.27 | Machine-translated to English |
| Beken SDK documentation (online) | Not much here |
encrypt v0.3 source code |
|
ota_tools source code |
Encryption routines and FPGA code used on the chip |
| BK7231 OpenOCD debugging | From Elektroda.pl user @xabean |
General info
There are many chip variations in this SoC family:
- BK7231 - marked BK7321QN40, so we're calling it "BK7231Q" to reduce confusion
- BK7231T
- BK7231N
- BK7231S
- BK7231U
The "officially existing" ones are BK7231Q, BK7231N and BK7231U. These are supported by Beken SDKs, such as bdk_freertos, although bk7231s_alios_sdk also existed at some point.
- BK7231N is substantially different than the other chips, so running T code on N (and vice versa) is not directly possible.
- BK7231Q does not have eFuse.
- there are some references to U meaning USB support
- T seems to be exclusive to Tuya boards (that would explain the name); in the T SDK from Tuya,
CFG_SOC_NAMEis set toSOC_BK7231U - T's bootloader greets with
BK7231S_1.0.5on UART
Regarding bdk_freertos:
makeallows selecting for which MCU the code should be compiledmake bk7231doesn't compile at allmake bk7231udoesn't run on T with Tuya's bootloader (1.0.5), though it works just fine after replacing the bootloader with one of these included withbdk_freertos(1.0.8) (yes, evenbk7231nbootloader)- after making a few changes to
driver/entryanddriver/intc(so it looks more like the code from T SDK)bdk_freertosruns just fine