• sales

    +86-0755-88291180

Banana PI BPI-Pico W-S3 User Guide

   Overview

  • The Banana Pi BPI-PicoW-S3 is a series of low-powered microcontrollers designed for IoT development. same size as Raspberry Pi Pico board,It supports 2.4 GHz Wi-Fi and Bluetooth® LE dual-mode wireless communication, the peripheral is compatible with low-power hardware design, and the power consumption is only 10uA in deep sleep mode.In terms of programming, the PicoW-S3 supports ESP-IDF, Arduino, micropython and other methods.

   Features

  • ESP32-S3, Xtensa® 32 bit LX7
  • External PSRAM, FLASH
  • Ultra-low power 10uA
  • 2.4G WIFI, Bluetooth 5, Bluetooth mesh
  • GPIO, ADC, TOUCH, PWM, I2C, SPI, RMT, I2S, UART, LCD, CAMERA, USB, JTAG
  • 1 * microUSB
  • 1 * Full color LED


   BPI-PicoW-S3 VS Raspberry Pi PicoW, BPI-Leaf-S3, ESP32-S3-DevKitC-1

Development boardBPI-PicoW-S3Rraspberry Pi PicoWBPI-Leaf-S3ESP32-S3-DevKitC-1
GPIO pinout27273636
3.3v pin1122
5v pin2211
GND pin8844
Full color LED1 on GPIO48None1 on GPIO481 on GPIO48
Chip directly connected to USBMicroUSB port x1MicroUSB port x1Type-C USB port x1MicroUSB port x1
UART TTL to USBNoneNoneNoneCP2102-MicroUSB interface x1
External battery socketNoneNone3.7v lithium battery power supply interfaceNone
Battery chargingNoneNone500mA chargingNone
I²C 4pin connectorNoneNone1None


    Espressif ESP32-S3

Esp32-S3 is an MCU chip that integrates 2.4 GHz Wi-Fi and Bluetooth 5 (LE) and supports Long Range mode. The ESP32-S3 runs on an Xtensa® 32-bit LX7 dual-core processor with a high frequency of 240 MHz, 512 KB built-in SRAM (TCM), 45 programmable GPIO pins, and a rich communication interface. Esp32-s3 supports larger capacity of high-speed Octal SPI flash and off-chip RAM, and supports user-configured data caching and instruction caching.

What follows is a description of the most important features of ESP32-S3.

  • Wi-Fi + Bluetooth 5 (LE) Wireless Connectivity: ESP32-S3 supports a 2.4 GHz Wi-Fi (802.11 b/g/n) with 40 MHz of bandwidth support. The Bluetooth Low Energy subsystem supports long range through Coded PHY and advertisement extension. It also supports higher transmission speed and data throughput, with 2 Mbps PHY. Both Wi-Fi and BLE have superior RF performance that is maintained even at high temperatures.
  • AI Acceleration Support: ESP32-S3 has additional support for vector instructions in the MCU, which provides acceleration for neural network computing and signal processing workloads. The software libraries for the above-mentioned optimized functions will become available very soon, in the form of updates to ESP-DSP and ESP-NN.
  • Rich IO interfaces: ESP32-S3 has 45 programmable GPIOs and common peripheral interfaces such as SPI, I2S, I2C, PWM, RMT, ADC, UART, SD/MMC host controller and TWAITM controller. Fourteen of the GPIOs can be configured as capacitive touch inputs for HMI interaction. In addition, ESP32-S3 is equipped with an ultra-low power coprocessor (ULP) and supports multiple low-power modes, making it widely applicable to various low-power application scenarios.
  • Security mechanism: ESP32-S3 provides comprehensive security mechanism and protection measures for iot devices to prevent all kinds of malicious attacks and threats. It supports Flash encryption based on AES-XTS algorithm, secure startup based on RSA algorithm, digital signature and HMAC. Esp32-s3 also includes a new "World Controller" module, which provides two non-interfering execution environments to implement a trusted execution environment or permission separation mechanism.

   Hardware interface


   Hardware spec

BPI-PicoW-S3 Spec Sheet
SoCESP32-S3, Xtensa® 32-bit LX7 dual core
Basic frequency240MHz MAX
Operating temperature-40℃~+85℃
On-chip ROM384KB
On-chip SRAM320KB
Extereal FLASH8MB
In-packge PSRAM2MB
WIFIIEEE 802.11 b/g/n, 2.4Ghz band, 150Mbps
BluetoothBluetooth 5, Bluetooth mesh
GPIOBPI-PicoW-S3 has led out 27 available GPIOs
ADC2 × 12-bit SAR ADC supporting 18 analog channel inputs
TOUCH Capacitive Touch Sensor14
SPI4
I2C2. Support master or slave mode
I2S2, input and output of serial stereo data
LCD1, support 8-bit ~16-bit parallel RGB, I8080, MOTO6800 interface
CAMERA1, supports 8-bit ~16-bit DVP image sensor interface
UART3, supports asynchronous communication (RS232 and RS485) and IrDA
PWM8 independent channels, 14-bit precision
MCPWM2
USB1 × Full Speed ​​USB 2.0 OTG, MicroUSB Female
USB Serial/JTAG Controller1, USB full speed standard, CDC-ACM, JTAG
Temperature sensor1, the measurement range is –20 °C to 110 °C, for monitoring the internal temperature of the chip
SD/MMC1 × SDIO host interface, with 2 card slots, supports SD card 3.0 and 3.01, SDIO 3.0, CE-ATA 1.1, MMC 4.41, eMMC 4.5 and 4.51
TWAI® Controller1, compatible with ISO11898-1 (CAN specification 2.0)
Generic DMA Controller5 receive channels and 5 transmit channels
RMT4-channel transmit, 4-channel receive, shared 384 x 32-bit RAM
Pulse Counter4 pulse count controllers (units), each unit has 2 independent channels
Timer4 × 54-bit general-purpose timers, 16-bit clock prescaler, 1 × 52-bit system timer, 3 × watchdog timers
External crystal40Mhz
RTC and Low Power ManagementPower Management Unit (PMU) + Ultra Low Power Coprocessor (ULP)
Low power consumption current10uA
Working Voltage3.3V
Input voltage3.3V~5.5V
Maximum discharge current2A@3.3V DC/DC
Controllable full color LED1
Controllable monochrome LED1


   Features


BPI-PicoW-S3 size chart
Pin spacing2.54mm
Hole Spacing11.4mm/ 47mm
Hole sizeInner diameter 2.1mm/Outer diameter 3.4mm
Mainboard size21 × 51.88(mm)/0.83 x 2.04(inches)
Thickness1.2mm

The pin spacing is compatible with universal boards (hole boards, dot matrix boards) and breadboards, which is convenient for debugging applications.

   GPIO define

BPI-PicoW-S3 peripheral GPIO pin assignment
Peripheral InterfaceSignalPins
ADCADC1_CH0~9GPIO 1~10
ADC2_CH0~9GPIO 11~20
Touch SensorTOUCH1~14GPIO 1~14
JTAGMTCKGPIO 39
MTDOGPIO 40
MTDIGPIO 41
MTMSGPIO 42
UARTDefault assigned pins, can be redefined as any GPIO
U0RXD_inGPIO 44
U0CTS_inGPIO 16
U0DSR_inAny GPIO
U0TXD_outGPIO43
U0RTS_outGPIO 15
U0DTR_outAny GPIO
U1RXD_inGPIO 18
U1CTS_inGPIO 20
U1DSR_inAny GPIO
U1TXD_outGPIO 17
U1RTS_outGPIO 19
U1DTR_outAny GPIO
U2Any GPIO
I2CAny GPIO
PWMAny GPIO
I2SAny GPIO
LCDAny GPIO
CAMERAAny GPIO
RMTAny GPIO
SPI0/1Used for FLASH and PSRAM
SPI2/3Any GPIO
Pulse CounterAny GPIO
USB OTGD-GPIO 19 (internal PHY)
D+GPIO 20 (internal PHY)
VPGPIO 42 (External PHY)
VMGPIO 41 (External PHY)
RCVGPIO21 (External PHY)
OENGPIO 40 (External PHY)
VPOGPIO 39 (External PHY)
VMOGPIO38 (External PHY)
USB Serial/JTAGD-GPIO 19 (internal PHY)
D+GPIO 20 (internal PHY)
VPGPIO 42 (External PHY)
VMGPIO 41 (External PHY)
OENGPIO 40 (External PHY)
VPOGPIO 39 (External PHY)
VMOGPIO38 (External PHY)
SD/MMCAny GPIO
MCPWMAny GPIO
TWAIAny GPIO
Full Color LEDGPIO 48
Monochrome LEDGPIO 46

   Software

CircuitPython

CircuitPython is a programming language designed to simplify experimenting and learning to code on low-cost microcontroller boards.

Reference Resources :

   ESP-IDF

ESP-IDF is an IoT development framework officially launched by Espressif, supporting Windows, Linux and macOS operating systems.

It is recommended that developers install ESP-IDF via an integrated development environment (IDE):

Or select the corresponding manual installation process according to the operating system:

API:

In order to enable your BPI-Leaf-S3 development board to flash FLASH through USB-CDC, you need to set the development board to firmware download mode.

There are two methods of operation:

1. Connect to the computer via USB, press and hold the BOOT button, then press the RESET button and release it, and finally release the BOOT button.

2. Press and hold the BOOT button when the power supply is disconnected, then connect to the computer via USB, and finally release the BOOT button.

You need to confirm the interface in the device manager. The serial number of the interface in the firmware download mode and the normal mode may be different.

   MicroPython

MicroPython implements most of the features and syntax of Python 3, which is easy to learn and use, and can be downloaded directly into the chip to run the verification program without compiling.

Regardless of whether you have a programming foundation or not, MicroPython is far less difficult to get started with than other programming languages. Its code is easy to read, and the open source community has accumulated rich resources over the years. Just like Python, it has strong vitality and application value.

   Arduino

Arduino is an open source embedded software and hardware development platform for users to create interactive embedded projects.

   Resources

BPI-PicoW-S3 schematic : https://github.com/BPI-STEAM/BPI-PicoW-Doc/blob/main/sch/BPI-PicoW-V0.4.pdf