waveshare RP2350-PiZero

Waveshare RP2350-PiZero Development Board User Manual

Model: RP2350-PiZero

1. Introduktion

The Waveshare RP2350-PiZero is a high-performance and cost-effective microcontroller development board. It is designed around the Raspberry Pi RP2350B dual-core microcontroller, offering flexible processing capabilities for various embedded applications.

Nøglefunktioner omfatter:

  • Dual-Core and Dual-Architecture Design: Powered by dual ARM Cortex-M33 or dual Hazard3 RISC-V processors, with clock speeds up to 150 MHz.
  • Udvidbar hukommelse: Features 520KB of Static RAM (SRAM) and 16MB of onboard Flash memory. Reserved solder pads are available for PSRAM chip expansion.
  • Omfattende tilslutningsmuligheder: Includes a DVI interface for HDMI screens, a TF card slot for storage, and a PIO-USB port for versatile connections.
  • Mobile-Friendly Power: Equipped with a Type-C connector for power and data, and a lithium battery recharge/discharge header for portable applications.
  • Omfattende I/O: Provides 5 multi-function GPIO pins, SPI, I2C, UART, ADC, PWM, and 12 programmable I/O state machines for peripheral customization.
Waveshare RP2350-PiZero Development Board overview

Figur 1: Overview of the Waveshare RP2350-PiZero Development Board.

Video 1: En officiel overview of the RP2350-PiZero Development Board, highlighting its dual-core architecture, memory, and various interfaces. This video provides a visual introduction to the board's capabilities and features.

2. Pakkens indhold

The standard package for the RP2350-PiZero Development Board includes the following items:

  • RP2350-PiZero Development Board x1
RP2350-PiZero Development Board package content

Figure 2: Contents of the RP2350-PiZero Development Board package.

3. Kortlayout og komponenter

Understanding the layout of the RP2350-PiZero board is crucial for proper setup and operation. Refer to the diagram below for component identification.

RP2350-PiZero Development Board labeled diagram

Figure 3: Labeled diagram of the RP2350-PiZero Development Board components.

  1. RP2350B: Dual-core og dual-arkitektur design, op til 150 MHz driftsfrekvens.
  2. USB Type-C-stik: For programming, USB 1.1 device and host support.
  3. PIO-USB port: For using as a USB host or device via PIO.
  4. DVI interface (Mini HDMI connector): For driving DVI screens with an HDMI cable.
  5. TF kortslot: Supports SPI and SDIO interface communication.
  6. 16MB NOR-Flash.
  7. PSRAM chip solder pads: Compatible with mainstream PSRAM chips for user expansion (soldering required).
  8. RUN button: Nulstiller tavlen.
  9. BOOT-knap: Press and hold while resetting to enter download mode.
  10. Lithium battery header: PH2.0 header, for connecting a 3.7V Lithium battery, allows recharging/discharging the battery.
  11. 40PIN GPIO header: Compatible with some Raspberry Pi HATs.
  12. Debug interface.

4. Specifikationer

FeatureBeskrivelse
ModelnavnRP2350-PiZero
CPU hastighed150 MHz
Processor mærkeARM (Cortex-M33) / Hazard3 RISC-V
RAM-hukommelse520KB SRAM
Indbygget Flash16 MB
ForbindelseDVI, TF card slot, USB Type-C, PIO-USB, GPIO, I2C, UART, SPI
OperativsystemLinux (understøttede udviklingsmiljøer)
StrømfunktionerType-C power, Lithium battery recharge/discharge header
Dimensioner65.00mm x 30.00mm (approximate, refer to Figure 4)
RP2350-PiZero Development Board outline dimensions

Figure 4: Outline dimensions of the RP2350-PiZero Development Board.

5. Opsætning

5.1 Initial Power and Connectivity

  1. Strømforsyning: Connect the RP2350-PiZero to a 5V power source using the USB Type-C connector. Alternatively, a 3.7V Lithium battery can be connected to the PH2.0 header.
  2. TF-kort: Insert a formatted TF card into the TF card slot if external storage is required.
  3. DVI Display: Connect a DVI-compatible display using an HDMI cable to the Mini HDMI (DVI) interface.
  4. USB-tilbehør: Use the PIO-USB port to connect USB host or device peripherals as needed.
  5. GPIO-forbindelser: Utilize the 40PIN GPIO header for connecting various sensors, actuators, or Raspberry Pi HATs.

5.2 Softwareudviklingsmiljø

The RP2350-PiZero supports multiple development environments:

  • Pico C/C++ SDK: The official Raspberry Pi C SDK can be used from the command line or integrated development environments like VSCode and Eclipse.
  • MicroPython: A full implementation of the Python 3 programming language for embedded hardware.
  • Arduino IDE: An open-source electronic prototyping platform.

Note: The DVI and PIO-USB functions are primarily supported in a C environment and cannot be used simultaneously.

RP2350-PiZero Development Board software support

Figure 5: Supported software development environments for the RP2350-PiZero.

5.3 Firmwareupload

To upload firmware, connect the board to your computer via the USB Type-C port. Press and hold the STØVLE knappen, og tryk derefter på LØBE button to enter download mode. The board will appear as a mass storage device, allowing you to drag and drop firmware files.

6. Bestyrelsens drift

6.1 Generel drift

Once programmed, the RP2350-PiZero will execute the loaded firmware upon power-up or reset. The dual-core architecture allows for complex tasks and real-time processing.

6.2 Brug af periferiudstyr

  • GPIO: Configure the 5 multi-function GPIO pins for digital input/output, PWM, or other specialized functions as defined by your program.
  • SPI, I2C, UART: These serial communication interfaces are available for connecting various modules and sensors. Refer to the RP2350B datasheet and SDK documentation for specific pin assignments and usage.
  • ADC: The 2 x 12-bit ADC channels allow for analog signal input.
  • PWM: Utilize the 16 controllable PWM channels for applications requiring pulse-width modulation.
  • DVI-udgang: The DVI interface provides video output to compatible displays.
  • PIO-USB: This programmable I/O USB port can be configured for custom USB device or host functionalities.
RP2350-PiZero Development Board with connected displays

Figur 6: Eksamples of the RP2350-PiZero connected to various displays via its DVI and PIO-USB interfaces.

6.3 Low-Power Modes

The RP2350-PiZero supports low-power sleep and dormant modes, which can be utilized to optimize power consumption in battery-powered applications.

7. Vedligeholdelse

To ensure the longevity and reliable operation of your RP2350-PiZero Development Board, follow these maintenance guidelines:

  • Håndteres med forsigtighed: Undgå at tabe boardet eller udsætte det for fysiske stød.
  • Statisk elektricitet: Always handle the board in an anti-static environment to prevent damage from electrostatic discharge.
  • Renhed: Keep the board free from dust, dirt, and moisture. Use a soft, dry brush or compressed air for cleaning. Avoid liquid cleaners.
  • Opbevaring: Opbevar brættet et køligt, tørt sted væk fra direkte sollys og ekstreme temperaturer.
  • Sluk: Disconnect power before connecting or disconnecting any peripherals or making changes to the wiring.

8. Fejlfinding

This section addresses common issues you might encounter with the RP2350-PiZero Development Board.

8.1 Board Not Powering On

  • Sørg for, at USB Type-C-kablet er korrekt tilsluttet en pålidelig 5V strømkilde.
  • If using a battery, verify it is charged and correctly connected to the PH2.0 header.
  • Check the power indicator LED on the board (if present) for activity.

8.2 Problemer med upload af firmware

  • Confirm the board is in download mode (hold BOOT, press RUN, then release RUN and BOOT).
  • Sørg for, at USB-kablet er et datakabel, ikke kun et opladningskabel.
  • Prøv en anden USB-port eller et andet kabel.
  • Verify that the correct firmware file is being used and that it is compatible with the RP2350B.

8.3 Peripheral Conflicts (e.g., SPI)

Some users have reported conflicts when using the TF card (which uses SPI1) simultaneously with other SPI devices connected to the 40-pin header, as these may also utilize SPI1. This can lead to errors where SPI1 is reported as already in use.

  • Check Pin Assignments: Forsigtigt vedrview the pinout diagrams and your code to ensure that different peripherals are not attempting to use the same SPI bus or pins simultaneously.
  • Softwarekonfiguration: In environments like CircuitPython, direct SDIO support on the RPi might be limited, leading to SPI conflicts. Consider alternative libraries or configurations if available for your chosen development environment.
  • Hardware Alternatives: If simultaneous operation is critical, consider using peripherals that utilize different communication interfaces or alternative pin configurations if your project allows.

8.4 General Debugging Tips

  • Use the dedicated debug interface for advanced debugging with appropriate tools.
  • Refer to the Waveshare Wiki and Raspberry Pi RP2350 documentation for detailed technical information and community support.

9. Garantioplysninger

The Waveshare RP2350-PiZero Development Board comes with a 1 års garanti from the date of purchase. This warranty covers manufacturing defects and ensures the product meets its specified performance. For warranty claims or service, please contact Waveshare customer support with your proof of purchase.

10. Support og ressourcer

For additional information, technical documentation, and community support, please refer to the following resources:

  • Waveshare Official Wiki: Access comprehensive resources, SDKs, and open-source tutorials to facilitate development. Visit the Waveshare RP2350-PiZero Wiki Page for detailed guides and examples.
  • Raspberry Pi-dokumentation: For in-depth information on the RP2350 microcontroller, refer to the official Raspberry Pi documentation.
  • Kundesupport: For specific inquiries or technical assistance, contact Waveshare customer support through their official channels.