Google Chat: zj734465502@gmail.com
+86-0755-88291180
sales@spotpear.com
dragon_manager@163.com
tech-support@spotpear.com
zhoujie@spotpear.com
WhatsApp:13246739196
This product is a high-performance, highly integrated microcontroller development board independently designed by Waveshare. In a smaller board size, the board is equipped with a 7inch capacitive HD LCD screen, PIO-USB, TF card slot and other peripherals, making it easy to develop and embed into products.
| LCD parameters | |||
| Touch Chip | GT911 | Touch Port | I2C |
| Display Chip | ST7262 | Display Interface | RGB |
| Screen Brightness | 345 Cd/m² | Viewing Angle | 170° |
| Resolution | 800(H)RGB x 480(V) | Display Size | 154.88mm x 86.72mm |
| Display Panel | IPS | Pixel Pitch | 0.128mm x 0.128mm |



To facilitate the development of Pico/Pico2 boards with MicroPython on a computer, it is recommended to download the Thonny IDE




【MicroPython】 machine.Pin class function details
【MicroPython】machine.PWM class function details
【MicroPython】machine.ADC class function details
【MicroPython】machine.UART class function details
【MicroPython】machine.I2C class function details
【MicroPython】machine.SPI class function details
【MicroPython】rp2.StateMachine class function details
For C/C++, it is recommended to use Pico VSCode for development. This is a Microsoft Visual Studio Code extension designed to make it easier for you to create, develop, and debug projects for the Raspberry Pi Pico series development boards. No matter if you are a beginner or an experienced professional, this tool can assist you in developing Pico with confidence and ease. Here's how to install and use the extension.










Cmake Path:
${HOME}/.pico-sdk/cmake/v3.28.6/bin/cmake.exe
Git Path:
${HOME}/.pico-sdk/git/cmd/git.exe
Ninja Path:
${HOME}/.pico-sdk/ninja/v1.12.1/ninja.exe
Python3 Path:
${HOME}/.pico-sdk/python/3.12.1/python.exe










Here are two methods for flashing firmware

1. Press and hold the Boot button 2. Connect the development board to the computer 3. Then the computer will recognize the development board as a USB device. 4. Copy the .uf2 file to the USB drive, and the device will automatically restart, indicating successful program flashing.


set(PICO_BOARD pico CACHE STRING "Board type")






https://github.com/earlephilhower/arduino-pico/releases/download/4.5.2/package_rp2040_index.json

Note: If you already have an ESP32 board URL, you can use a comma to separate the URLs as follows:
https://dl.espressif.com/dl/package_esp32_index.json,https://github.com/earlephilhower/arduino-pico/releases/download/4.5.2/package_rp2040_index.json







MircoPython video demo (github)
MicroPython firmware/Blink demos (C)
Raspberry Pi official C/C++ demo (github)
Raspberry Pi official MicroPython demo (github)
Arduino official C/C++ demo (github)
├── CMakeLists.txt ├── example_auto_set_url.cmake ├── examples # Demos │ ├── CMakeLists.txt │ ├── adc_battery # Demo of reading battery voltage │ ├── button # Demo of obtaining BOOT button status │ ├── can_send_recv # Demo of CAN interface transmission and reception │ ├── gui # Demo of using GUI library to display content on LCD │ ├── hello_world # Demo of printing hello world │ │ ├── CMakeLists.txt │ │ ├── serial │ │ └── usb │ ├── lcd # Demo of Testing LCD │ │ ├── CMakeLists.txt │ │ ├── lcd_flush_rgb │ │ ├── lcd_image │ │ └── lcd_touch │ ├── lvgl # Demos using LVGL │ │ ├── CMakeLists.txt │ │ ├── lv_port # Source files for LVGL hardware integration │ │ └── lvgl_example # Demo of running LVGL's own demo │ ├── pio-usb # PIO-USB related demo │ │ ├── CMakeLists.txt │ │ ├── host_hid_to_device_cdc # Demo of using PIO-USB to read USB device data │ │ └── usb_device # Demo of using PIO-USB to simulate mouse movement │ ├── rs485 # Demo of RS485 interface testing │ └── sd_card_sdio # Demo for testing TF Card read and write ├── libraries # Library files │ ├── CMakeLists.txt │ ├── Fonts │ ├── GUI │ ├── bsp # Hardware-related libraries │ ├── lvgl # LVGL library │ ├── no-OS-FatFS-SD-SDIO-SPI-RPi-Pico # TF Card related libraries │ ├── pio-usb # PIO-USB related libraries │ └── psramlib # PSRAM related libraries ├── pico_extras_import_optional.cmake └── pico_sdk_import.cmake
![]()
![]()
cd RP2350-Touch-LCD-7-Demo mkdir build cd build cmake .. make -j8
add_executable(lvgl_test
lvgl_test.c
../lv_port/lv_port_disp.c
../lv_port/lv_port_indev.c
)
pico_enable_stdio_usb(lvgl_test 1)
pico_enable_stdio_uart(lvgl_test 0)
# pull in common dependencies
target_link_libraries(lvgl_test
pico_stdlib
bsp
lvgl
lvgl::demos)
target_compile_definitions(lvgl_test PRIVATE
PICO_EMBED_XIP_SETUP=1
)
# create map/bin/hex/uf2 file etc.
pico_add_extra_outputs(lvgl_test)
#include <stdio.h>
#include "pico/stdlib.h"
#include "bsp_i2c.h"
#include "../lv_port/lv_port_disp.h"
#include "../lv_port/lv_port_indev.h"
#include "demos/lv_demos.h"
#include "hardware/pll.h"
#include "hardware/clocks.h"
#include "hardware/structs/pll.h"
#include "hardware/structs/clocks.h"
#define LVGL_TICK_PERIOD_MS 10
void set_cpu_clock(uint32_t freq_Mhz)
{
set_sys_clock_khz(freq_Mhz * 1000, true);
clock_configure(
clk_peri,
0,
CLOCKS_CLK_PERI_CTRL_AUXSRC_VALUE_CLKSRC_PLL_SYS,
freq_Mhz * 1000 * 1000,
freq_Mhz * 1000 * 1000);
}
static bool repeating_lvgl_timer_cb(struct repeating_timer *t)
{
lv_tick_inc(LVGL_TICK_PERIOD_MS);
return true;
}
int main()
{
static struct repeating_timer lvgl_timer;
set_cpu_clock(240);
stdio_init_all();
bsp_i2c_init();
lv_init();
lv_port_disp_init();
lv_port_indev_init();
add_repeating_timer_ms(LVGL_TICK_PERIOD_MS, repeating_lvgl_timer_cb, NULL, &lvgl_timer);
// lv_demo_benchmark();
lv_demo_music();
// lv_demo_widgets();
while (true)
{
lv_timer_handler();
sleep_ms(LVGL_TICK_PERIOD_MS);
}
}
add_subdirectory(${CMAKE_CURRENT_LIST_DIR}/lvgl_test)
You can refer to the RP2350-E9 section in the RP2350 Datasheet
A4. This version has been optimized to fix the E9 error mentioned above. For specific details, please refer to the A4 Stepping Change Notice
Monday-Friday (9:30-6:30) Saturday (9:30-5:30)
Email: services01@spotpear.com