Back to Zephyr

Overview

boards/aithinker/ai_wb2_12f_kit/doc/index.rst

4.4.02.9 KB
Original Source

.. zephyr:board:: ai_wb2_12f_kit

Overview


BL602/BL604 is a Wi-Fi+BLE chipset introduced by Bouffalo Lab, which is used for low power consumption and high performance application development. The wireless subsystem includes 2.4G radio, Wi-Fi 802.11b/g/n and BLE 5.0 baseband/MAC design. The microcontroller subsystem includes a 32-bit RISC CPU with low power consumption, cache and memory. The power management unit controls the low power consumption mode. In addition, it also supports various security features. The external interfaces include SDIO, SPI, UART, I2C, IR remote, PWM, ADC, DAC, PIR and GPIO.

This WB2 (BL602) 12F format Module Development Board features a SiFive E24 32 bit RISC-V CPU with FPU, it supports High Frequency clock up to 192Mhz, have 128k ROM, 276kB RAM, 2.4 GHz WIFI 1T1R mode, support 20 MHz, data rate up to 72.2 Mbps, BLE 5.0 with 2MB phy. It is a secure MCU which supports Secure boot, ECC-256 signed image, QSPI/SPI Flash On-The-Fly AES Decryption and PKA (Public Key Accelerator).

Hardware


For more information about the Bouffalo Lab BL-60x MCU:

  • Bouffalo Lab BL60x MCU Website_
  • Bouffalo Lab BL60x MCU Datasheet_
  • Bouffalo Lab Development Zone_
  • ai_wb2_12f_kit Schematics_
  • The RISC-V BL602 Book_

Supported Features

.. zephyr:board-supported-hw::

System Clock

The WB2 (BL602) Development Board is configured to run at max speed (192MHz).

Serial Port

The ai_wb2_12f_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 :zephyr:code-sample:hello_world sample application:

.. zephyr-app-commands:: :zephyr-app: samples/hello_world :board: ai_wb2_12f_kit :goals: build flash

#. Run your favorite terminal program to listen for output. Under Linux the terminal should be :code:/dev/ttyUSB0. For example:

.. code-block:: console

  $ screen /dev/ttyUSB0 115200

Connection should be configured as follows:

  - Speed: 115200
  - Data: 8 bits
  - Parity: None
  - Stop bits: 1

Then, press and release RST button

.. code-block:: console

  *** Booting Zephyr OS build v4.1.0 ***
  Hello World! ai_wb2_12f_kit/bl602c00q2i

Congratulations, you have ai_wb2_12f_kit configured and running Zephyr.

.. _Bouffalo Lab BL60x MCU Website: https://en.bouffalolab.com/product/?type=detail&id=6

.. _Bouffalo Lab BL60x MCU Datasheet: https://github.com/bouffalolab/bl_docs/tree/main/BL602_DS/en

.. _Bouffalo Lab Development Zone: https://dev.bouffalolab.com/home?id=guest

.. _ai_wb2_12f_kit Schematics: https://docs.ai-thinker.com/en/wb2

.. _The RISC-V BL602 Book: https://lupyuen.github.io/articles/book

.. _Flashing Firmware to BL602: https://lupyuen.github.io/articles/book#flashing-firmware-to-bl602