Ai-Thinker M61-32S development board
Overview
Ai-M61-32S is a Wi-Fi 6 + BLE5.3 module developed by Shenzhen Ai-Thinker Technology Co., Ltd. The module is equipped with BL618 chip as the core processor, supports Wi-Fi 802.11b/g/n/ax protocol and BLE protocol, and supports Thread protocol. The BL618 system includes a low-power 32-bit RISC-V CPU with floating-point unit, DSP unit, cache and memory, with a maximum dominant frequency of 320M.
Hardware
For more information about the Bouffalo Lab BL-61x MCU:
Supported Features
The ai_m61_32s_kit board supports the hardware features listed below.
- on-chip / on-board
- Feature integrated in the SoC / present on the board.
- 2 / 2
-
Number of instances that are enabled / disabled.
Click on the label to see the first instance of this feature in the board/SoC DTS files. -
vnd,foo -
Compatible string for the Devicetree binding matching the feature.
Click on the link to view the binding documentation.
ai_m61_32s_kit/bl618m65q2i target
Type |
Location |
Description |
Compatible |
|---|---|---|---|
CPU |
on-chip |
Xuantie E907 Core CPU1 |
|
Clock control |
on-chip |
Generic fixed-rate clock provider2 |
|
on-chip |
The BL61x WIFI PLL1 |
||
on-chip |
The BL61x Audio PLL1 |
||
on-chip |
The BL61x Root Clock Represents both FCLK and HCLK, which should be kept the same1 |
||
on-chip |
The BCLK clock, or peripheral clock Source Clock -> Root Clock -> / divider -> BCLK1 |
||
on-chip |
The BL61x Flash Clock Source -> divider -> CLK Only has settings for Bank 1 (boot flash) at the moment1 |
||
on-chip |
Bouffalolab BL61x Clock Controller1 |
||
DMA |
on-chip |
Bouffalo Lab DMA1 |
|
Flash controller |
on-chip |
Bouffalolab Flash Controller1 |
|
GPIO & Headers |
on-chip |
BouffaloLab GPIO node for BL61X serie1 |
|
I2C |
on-chip |
||
Input |
on-board |
Group of GPIO-bound input keys1 |
|
Interrupt controller |
on-chip |
Nuclei ECLIC interrupt controller1 |
|
LED |
on-board |
Group of GPIO-controlled LEDs1 |
|
Memory controller |
on-chip |
BL61x pseudo-static RAM controller1 |
|
MIPI-DBI |
on-chip |
BFLB MIPI DBI controller When used with devices that dont match MIPI DBI properly (eg commands are fully with DC set, not DC then data, for example SSD1327), you MUST use cs-gpios and dc-gpio to allow holding the lines for command via software and not use hardware DC and CS1 |
|
MTD |
on-board |
Flash node1 |
|
on-board |
Fixed partitions of a flash (or other non-volatile storage) memory1 |
||
Pin control |
on-chip |
Bouffalo Lab Pinctrl node1 |
|
Serial controller |
on-chip |
||
SPI |
on-chip |
Bouffalolab SPI1 |
|
SRAM |
on-chip |
Generic on-chip SRAM2 |
|
System controller |
on-chip |
BouffaloLab Efuse1 |
|
Timer |
on-chip |
RISC-V Machine Timer1 |
System Clock
The M61 (BL618) Development Board is configured to run at maximum speed (320MHz) and can be overclocked to 480 MHz.
Serial Port
The ai_m61_32s_kit board uses UART0 as default serial port. It is connected
to USB Serial converter and port is used for both program and console.
Programming and Debugging
Samples
#. Build the Zephyr kernel and the Hello World sample application:
# From the root of the zephyr repository west build -b ai_m61_32s_kit samples/hello_world west flash
Run your favorite terminal program to listen for output. Under Linux the terminal should be
/dev/ttyUSB0. For example:$ screen /dev/ttyUSB0 115200
The -o option tells minicom not to send the modem initialization string. Connection should be configured as follows:
Speed: 115200
Data: 8 bits
Parity: None
Stop bits: 1
Then, press and release RST button
*** Booting Zephyr OS build v4.3.0 *** Hello World! ai_m61_32s_kit/bl618m65q2i
Congratulations, you have ai_m61_32s_kit configured and running Zephyr.