Difference between revisions of "BPI-Leaf-S3"
(→外设GPIO管脚分配) |
(→GPIO Pin define) |
||
Line 184: | Line 184: | ||
{| class="wikitable" | {| class="wikitable" | ||
|- | |- | ||
− | ! colspan="3" style=" background-color:#ffcb2f;" | BPI-Leaf-S3 | + | ! colspan="3" style=" background-color:#ffcb2f;" | BPI-Leaf-S3 GPIO Pin define |
|- style="background-color:#32cb00;" | |- style="background-color:#32cb00;" | ||
| 外设接口 | | 外设接口 |
Revision as of 16:37, 2 March 2022
Contents
Introduction
The Banana Pi Leaf series are low-power microcontrollers designed for the Internet of Things.
The Leaf-S3's onboard ESP32-S3 chip is powered by an Xtensa® 32-bit LX7 dual-core processor with a main frequency of up to 240 MHz.
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.
The main controller supports two power supply modes: USB and external 3.7V lithium battery, which can realize the function of automatic power switching under dual power supply, and supports USB charging mode. Small size, convenient interface, easy to use, and can be directly applied to low-power IoT projects.
In terms of programming, Leaf-S3 motherboard supports ESP-IDF, Arduino, micropython and other methods for programming and development.
All IO pins corresponding to the chip are marked on the Leaf-S3 motherboard, which lowers the threshold for use.
Key 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* 4pin I2C connector
- 1 * USB Type-C
- 1 * 2pin battery connector,support charging
- 1 * Neopixel LED
Hardware
Hardware sketch map
Hardware Spec
BPI-Leaf-S3 Spec | |
---|---|
SoC | ESP32-S3,Xtensa® dual-core 32-bit LX7 microprocessor |
Clock Frequency | 240MHz MAX |
Ambient Temperature | -40℃~+85℃ |
Internal ROM | 384 KB |
Internal SRAM | 320 KB |
External FLASH ROM | 8MB |
External PSRAM | 8MB |
WIFI | IEEE 802.11 b/g/n ,2.4Ghz,150Mbps |
Bluetooth | Bluetooth 5 ,Bluetooth mesh |
GPIO | BPI-Leaf-S3 has led out 36 available gpios |
ADC | 2 × 12 位 SAR ADC,支持 20 个模拟通道输入 |
TOUCH 电容式触摸传感器 | 14 |
SPI | 4 |
I2C | 2,支持主机或从机模式 |
I2S | 2,串行立体声数据的输入输出 |
LCD | 1,支持 8 位 ~16 位并行 RGB、I8080、MOTO6800 接口 |
CAMERA | 1,支持 8 位 ~16 位 DVP 图像传感器接口 |
UART | 3 ,支持异步通信(RS232 和RS485)和 IrDA |
PWM | 8 路独立通道,14位精度 |
MCPWM | 2 |
USB | 1 × 全速USB 2.0 OTG,Type-C母口 |
USB Serial/JTAG 控制器 | 1,USB 全速标准,CDC-ACM ,JTAG |
温度传感器 | 1,测量范围为–20 °C 到 110 °C,用于监测芯片内部温度 |
SD/MMC | 1 × SDIO主机接口,具有2个卡槽,支持SD卡3.0和3.01,SDIO 3.0,CE-ATA 1.1,MMC 4.41,eMMC 4.5和4.51 |
TWAI® 控制器 | 1 ,兼容 ISO11898-1(CAN 规范 2.0) |
通用 DMA 控制器 | 5 个接收通道和 5 个发送通道 |
RMT | 4 通道发射,4通道接收,共享 384 x 32-bit 的 RAM |
脉冲计数器 | 4个脉冲计数控制器(单元),每个单元有2个独立的通道 |
定时器 | 4 × 54 位通用定时器,16 位时钟预分频器,1 × 52 位系统定时器,3 × 看门狗定时器 |
外部晶振 | 40Mhz |
RTC 和低功耗管理 | 电源管理单元 (PMU)+ 超低功耗协处理器 (ULP) |
低功耗电流 | 10uA |
工作电压 | 3.3V |
输入电压 | 3.3V~5.5V |
最大放电电流 | [email protected] LDO |
USB充电 | 支持 |
最大充电电流 | 500mA |
可控全彩色LED | 1 |
Hardware Dimensions
BPI-Leaf-S3 尺寸表 | |
---|---|
管脚间距 | 2.54mm |
安装孔间距 | 23mm/ 62.25mm |
安装孔尺寸 | 内径2mm/外径3mm |
主板尺寸 | 26 × 65.25(mm)/1.02 x 2.57(inches) |
板厚 | 1.2mm |
管脚间距兼容万能板(洞洞板、点阵板),面包板,便于调试应用。
GPIO Pin define
BPI-Leaf-S3 GPIO Pin define | ||
---|---|---|
外设接口 | 信号 | 管脚 |
ADC | ADC1_CH0~9 | GPIO 1~10 |
ADC2_CH0~9 | GPIO 11~20 | |
触摸传感器 | TOUCH1~14 | GPIO 1~14 |
JTAG | MTCK | GPIO 39 |
MTDO | GPIO 40 | |
MTDI | GPIO 41 | |
MTMS | GPIO 42 | |
UART | 默认分配管脚,可重定义为任意GPIO | |
U0RXD_in | GPIO 44 | |
U0CTS_in | GPIO 16 | |
U0DSR_in | 任意GPIO | |
U0TXD_out | GPIO43 | |
U0RTS_out | GPIO 15 | |
U0DTR_out | 任意GPIO | |
U1RXD_in | GPIO 18 | |
U1CTS_in | GPIO 20 | |
U1DSR_in | 任意GPIO | |
U1TXD_out | GPIO 17 | |
U1RTS_out | GPIO 19 | |
U1DTR_out | 任意GPIO | |
U2 | 任意GPIO | |
I2C | 任意GPIO | |
PWM | 任意GPIO | |
I2S | 任意GPIO | |
LCD | 任意GPIO | |
CAMERA | 任意GPIO | |
RMT | 任意GPIO | |
SPI0/1 | 已用于FLASH与PSRAM | |
SPI2/3 | 任意GPIO | |
脉冲计数器 | 任意GPIO | |
USB OTG | D- | GPIO 19(内部 PHY) |
D+ | GPIO 20(内部 PHY) | |
VP | GPIO 42(外部 PHY) | |
VM | GPIO 41(外部 PHY) | |
RCV | GPIO21(外部 PHY) | |
OEN | GPIO 40(外部 PHY) | |
VPO | GPIO 39(外部 PHY) | |
VMO | GPIO38(外部 PHY) | |
USB Serial/JTAG | D- | GPIO 19(内部 PHY) |
D+ | GPIO 20(内部 PHY) | |
VP | GPIO 42(外部 PHY) | |
VM | GPIO 41(外部 PHY) | |
OEN | GPIO 40(外部 PHY) | |
VPO | GPIO 39(外部 PHY) | |
VMO | GPIO38(外部 PHY) | |
SD/MMC | 任意GPIO | |
MCPWM | 任意GPIO | |
TWAI | 任意GPIO | |
彩色LED | GPIO 48 |