SF32LB52-DevKit-Nano Development Board User Guide¶
开发板版本信息:¶
*-N4-V1.0.0:Configured with SF32LB52BU56 chip (internally packaged with 4MB NOR Flash), current version
*-R16N16-V1.0.0:配置SF32LB52JUD6(内部合封16MB PSRAM) + 16MB NOR Flash,当前版本
1. 开发板概述¶
SF32LB52-DevKit-Nano is a development board based on the SiCh Technology SF32LB52BU56/SF32LB52JUD6 chips,The size is only 21mm*51mm, and the edge of the board adopts a stamp hole design, which is convenient for developers to use in different scenarios。The development board supports GPIO, UART, I2C, SPI, LCD, I2S, GPADC, PWM, and analog audio input/output。


2. 特性列表¶
The development board has the following features:
板型:
-N4:Onboard SF32LB52BU56 chip,配置如下:
The package configuration is:
4MB NOR Flash, interface frequency 96MHz
-R16N16:Onboard SF32LB52JUD6 chip,配置如下:
The package configuration is:
16MB OPI-PSRAM, interface frequency 144MHz
Onboard 128Mb QSPI-NOR Flash, interface frequency 72MHz, STR mode
晶体
48MHz crystal
32.768KHz crystal
天线
Onboard PCBA antenna
GPIO
LCC half holes support 17 GPIOs
LGA pins support 13 GPIOs
UART-I2C-GPTIM
3x UART
4x I2C
2x GPTIM
All GPIOs can be configured as UART, I2C, and GPTIM
SPI
2x SPI
GPADC
3x GPADC
显示
FPC16P, 0.5mm pitch connector for display expansion
SPI/DSPI/Quad SPI, supporting DDR mode QSPI display interface
Supports touch screens with I2C interface
Supports Huangshan Pai 1.85-inch AMOLED screen via 16p to 22p ribbon cable
音频
Supports audio ADC input, can connect to analog microphone or silicon microphone
Supports PDM digital microphone input
Analog audio output requires an external Class-AB/D audio PA to drive the speaker
All interfaces are led out through LCC half holes
USB
Type C-UART interface, onboard CH340N serial chip, realizes program download and software DEBUG, can supply power
USB interface, supports USB2.0 FS, led out through LCC half holes
按键 - 1x function button - 1x power button, supports long press 10s reset function
LED灯 - 2x LED lights, controlled by GPIO
电源
Powered through USB Type-C interface
Onboard VBUS 5V to 3.3V LDO chip
Onboard power switch, can be enabled by controlling the RTS# pin of CH340N to achieve MCU reset
3. 管脚定义¶
管脚详细描述¶
下表为 SF32LB52-DevKit-Nano 开发板管脚的详细描述。
管脚 |
管脚名称 |
复位默认及复用功能 |
上下拉 |
---|---|---|---|
1 |
GND |
Ground |
|
2 |
DACP |
Analog audio output signal |
|
3 |
DACN |
Analog audio output signal |
|
4 |
MIC_ADC |
MIC input signal |
|
5 |
MIC_BIAS |
MIC bias voltage |
|
6 |
PA30 |
PA30、UART、I2C、GPTIM、I2S1_LRCK和GPADC2 |
PD |
7 |
GND |
Ground |
|
8 |
PA19 |
UART0_TXD,Debug and download port,PA19、SWCLK、I2C、GPTIM |
无 |
9 |
PA18 |
UART0_RXD,Debug and download port,PA18、SWDIO、I2C、GPTIM |
PU |
10 |
PA29 |
PA29、UART、I2C、GPTIM、SPI1_CS、I2S1_BCK和GPADC1 |
PD |
11 |
PA28 |
PA28、UART、I2C、GPTIM、SPI1_CLK、I2S1_SDI和GPADC0 |
PD |
12 |
PA25 |
PA25、UART、I2C、GPTIM、SPI1_DI、I2S1_SDO和WKUP1 |
PD |
13 |
3.3V |
3.3V power supply, when USB TypeC is not plugged in, it can be used as 3.3V input when USB TypeC is inserted, it can be used as 3.3V output |
|
14 |
GND |
Ground |
|
15 |
PA24 |
PA24、UART、I2C、GPTIM、SPI1_DIO、I2S1_MCLK和WKUP0 |
PD |
16 |
5V |
5V power supply can be used as 5V input when USB TypeC is not plugged in it can be used as 5V output when USB TypeC is inserted |
管脚 |
管脚名称 |
复位默认及复用功能 |
上下拉 |
---|---|---|---|
1 |
GND |
Ground |
|
2 |
3.3V |
3.3V power supply, when USB TypeC is not plugged in, it can be used as 3.3V input when USB TypeC is inserted, it can be used as 3.3V output |
|
3 |
PA39 |
PA39、UART、I2C、GPTIM、SPI2_CLK和WKUP15 |
PU |
4 |
PA37 |
PA37、UART、I2C、GPTIM、SPI2_DIO和WKUP13 |
PD |
5 |
PA38 |
PA38、UART、I2C、GPTIM、SPI2_DI和WKUP14 |
PD |
6 |
PA41 |
PA41、UART、I2C、GPTIM和WKUP17 |
PU |
7 |
PA40 |
PA40、UART、I2C、GPTIM、SPI2_CS和WKUP16 |
PU |
8 |
PA42 |
PA42、UART、I2C、GPTIM和WKUP18 |
PU |
9 |
GND |
Ground |
|
10 |
3.3V |
3.3V power supply, when USB TypeC is not plugged in, it can be used as 3.3V input when USB TypeC is inserted, it can be used as 3.3V output |
|
11 |
PA43 |
PA43、UART、I2C、GPTIM和WKUP19 |
PD |
12 |
PA44 |
PA44、UART、I2C、GPTIM和WKUP20 |
PD |
13 |
PA35 |
PA35、UART、I2C、GPTIM、USB_DP和WKUP11 |
PD |
14 |
PA36 |
PA36、UART、I2C、GPTIM、USB_DM和WKUP12 |
PD |
15 |
5V |
5V power supply can be used as 5V input when USB TypeC is not plugged in it can be used as 5V output when USB TypeC is inserted |
|
16 |
GND |
Ground |
16p QSPI线序FPC接口定义¶
管脚 |
管脚名称 |
复位默认及复用功能 |
上下拉 |
---|---|---|---|
1 |
GND |
Ground |
|
2 |
PA_00 |
PA00、UART、I2C、GPTIM和LCD_RST |
PD |
3 |
PA_01 |
PA01、UART、I2C、GPTIM和BL_PWM |
PD |
4 |
PA_02 |
PA02、UART、I2C、GPTIM、LCD_TE和I2S1_MCLK |
PD |
5 |
PA_03 |
PA03、UART、I2C、GPTIM、LCD_CS和I2S1_SDO |
PU |
6 |
PA_04 |
PA04、UART、I2C、GPTIM、LCD_CLK和I2S1_SDI |
PD |
7 |
PA_05 |
PA05、UART、I2C、GPTIM、LCD_D0和I2S1_BCK |
PD |
8 |
PA_06 |
PA06、UART、I2C、GPTIM、LCD_D1和I2S1_LRCK |
PD |
9 |
PA_07 |
PA07、UART、I2C、GPTIM、LCD_D2和PDM1_CLK |
PD |
10 |
PA_08 |
PA08、UART、I2C、GPTIM、LCD_D3和PDM1_DAT |
PD |
11 |
3.3V |
3.3V电源输出 |
|
12 |
GND |
Ground |
|
13 |
PA_09 |
PA09、UART、I2C、GPTIM和CTP_INT |
PD |
14 |
PA_11 |
PA11、UART、I2C、GPTIM和CTP_SDA |
PU |
15 |
PA_20 |
PA20、UART、I2C、GPTIM和CTP_SCL |
PD |
16 |
PA_10 |
PA10、UART、I2C、GPTIM和CTP_RST |
PD |
4. 功能介绍¶
供电说明¶
The development board supports the following three power supply methods:
USB Type-C interface power supply (default)
5V and GND pin power supply
3.3V and GND pin power supply
The preferred power supply method during debugging: TYPE-C USB interface power supply.
LED控制¶
The development board has 2 onboard LEDs, developers can refer to the table below to control the corresponding pins.
LED编号 |
对应GPIO |
描述 |
---|---|---|
LED1 |
PA31 |
Low level lights up |
LED2 |
PA32 |
Low level lights up |
外置Flash¶
The development board has one onboard Flash (depending on the board type, some are soldered, some are not), supported types:
SPI NOR Flash,WSON8-8x6mm或WSON8-6x5mm
SPI NAND Flash, WSON8-8x6mm
SD NAND Flash,WSON8-8x6mm
管脚 |
管脚名称 |
复位默认及复用功能 |
上下拉 |
---|---|---|---|
1 |
PA_12 |
PA12、UART、I2C、GPTIM、MPI2_CS 和SD1_D2 |
PU |
2 |
PA_13 |
PA13、UART、I2C、GPTIM、MPI2_D1 和SD1_D3 |
PD |
3 |
PA_14 |
PA14、UART、I2C、GPTIM、MPI2_D2 和SD1_CLK |
PD |
4 |
PA_15 |
PA15、UART、I2C、GPTIM、MPI2_D0 和SD1_CMD |
PD |
5 |
PA_16 |
PA16、UART、I2C、GPTIM、MPI2_CLK和SD1_D0 |
PD |
6 |
PA_17 |
PA17、UART、I2C、GPTIM、MPI2_D3 和SD1_D1 |
PD |
开发板型号 |
MCU合封规格 |
板载规格 |
---|---|---|
SF32LB52-DevKit-Nano-N4 |
4MB SPI NOR Flash |
无 |
SF32LB52-DevKit-Nano-R16N16 |
16MB OPI PSRAM |
16MB SPI NOR Flash |
按键¶
The development board has 2 onboard buttons that require software-defined functions. KEY1 supports hardware reset function by long pressing for 10 seconds. Developers can refer to the table below to control the corresponding pins.
按键编号 |
对应GPIO |
描述 |
---|---|---|
KEY1 |
PA34 |
High level is valid, supports reset by long pressing for 10 seconds |
KEY2 |
PA33 |
High level is valid |
下载和调试¶
Connect the USB line through the USB-to-UART port, open the program download tool of Sifli Technology, and select the corresponding COM port and program.
Download mode
Check the BOOT item, power on, enter the download mode after booting, and the program download can be completed.
Software development mode
Uncheck the BOOT item, power on, enter the serial port log printing mode after booting, and then enter the software debugging mode.
Development board reset
Reset the MCU by controlling the RTS# pin of CH340N with the host computer tool.
具体请参考 固件烧录工具 Impeller
LCD显示屏接口¶
The development board supports QSPI interface LCD screen, the connector is a vertical 16p-0.5pitch FPC, with upper flip and lower contact. Please refer to the above definition for the signal sequence. If the sequence is different, a transfer board test is required. Please refer to “SF32LB52-DevKit-LCD Transfer Board Production Guide”.
You can directly connect to the screen of Huangshan Pai via FPC-22p to 16p ribbon cable.

音频扩展¶
The development board needs an external microphone and differential audio amplifier.
PCB component location query¶
5. Sample acquisition¶
Contact Sifli Technology’s FAE to obtain the development board.