Raspberry Pi Compute Module 4 (CM4 Lite)
Pocket Pda Cyberdeck
Overview
A budget-friendly pocket-sized PDA-style cyberdeck powered by USB-C, featuring built-in Wi-Fi and Bluetooth for media consumption, daily tasks, and portable writing.
System architecture
- POWER_MANAGEMENT → COMPUTE_MODULEPowerMain power delivery rail to CM4
- POWER_MANAGEMENT → DISPLAY_PANELPowerPower rail for display panel logic
- COMPUTE_MODULE → DISPLAY_PANELMIPIHigh-speed video data stream to display
- DISPLAY_PANEL → COMPUTE_MODULEI2CTouch controller interface
- KEYBOARD_MATRIX → COMPUTE_MODULEUSBUSB HID input data from thumb keyboard
- COMPUTE_MODULE → AUDIO_CODECI2SDigital audio stream output
Bill of materials
| Part number | Type | Component | Manufacturer | Package | Qty | Datasheet | Match |
|---|---|---|---|---|---|---|---|
| TPS65217CRSIR | POWER | TI BQ25896 + TPS65217C Manages USB-C power bank input (5V/9V), battery charging, and generates core 5V/3.3V rails. | Texas Instruments | — | 1 | Matched | |
4 alternatives consideredAI verified | |||||||
| CM4 | MCU | Raspberry Pi Compute Module 4 (CM4 Lite) Provides robust desktop-class Linux software stack for portable writing (Obsidian/Vim) and media consumption. | TDK | — | 1 | Matched | |
| x720 | DISPLAY | 4.0-inch MIPI DSI IPS Touch Panel (e.g., 720x720 or similar) Balancing vibrant media consumption with sharp text readability for portable writing. | Various | — | 1 | Pending | |
2 alternatives consideredAI verified | |||||||
| ATMEGA32U4-AU | ACTUATOR | Microchip ATmega32U4 (Keyboard Controller) + Custom Mechanical Switches Scans custom mini mechanical thumb keyboard matrix and communicates HID over USB/UART. | Microchip Technology / Atmel | TQFP-44 | 1 | Matched | |
5 alternatives consideredAI verified | |||||||
| PCM5102A | AUDIO | Texas Instruments PCM5102A DAC + Class-D Amp Provides high-quality audio output for media consumption via headphone jack and miniature speaker. | Texas Instruments | Tube Alternate Packaging | 1 | Matched | |
1 alternatives consideredAI verified | |||||||
| CM4 | RF | Intel AX200 / On-module Wi-Fi/BT (or CM4 built-in wireless) Provides reliable wireless connectivity for internet access, file sync, and Bluetooth accessories. | TDK | — | 1 | Matched | |
Build guide
Procurement & Preparation
- Source and organize the complete Bill of Materials including TPS65217CRSIR power management IC, Raspberry Pi Compute Module 4 (CM4 Lite), 4.0-inch MIPI DSI IPS touch panel, ATMEGA32U4-AU microcontroller, PCM5102A DAC, and custom mechanical switches.
- Inspect the custom PCB Gerber files and stencil for the mainboard and keyboard matrix. Prepare reflow workstation and soldering equipment.
Hardware Assembly & Wiring
- Apply solder paste to the mainboard using the stencil, place the TI BQ25896, TPS65217CRSIR, ATMEGA32U4-AU, and PCM5102A ICs, then execute the reflow profile.
- Mount the Raspberry Pi Compute Module 4 (CM4 Lite) onto its board-to-board connectors and secure with retention screws. Solder the custom mechanical switches to the keyboard matrix PCB.
- Connect the 4.0-inch MIPI DSI IPS touch panel to the CM4 MIPI interface (MIPI_DSI_TX, GND) and wire the I2C touch controller lines (SDA, SCL, INT) to the appropriate GPIOs.
- Wire the power management outputs (SYS_5V, SYS_3V3, GND) to the CM4, display panel, and audio subsystem. Connect the keyboard matrix USB lines (USB_D+, USB_D-, VBUS, GND) and PCM5102A I2S audio lines (BCLK, LRCK, DATA, GND).
Firmware Setup
- Flash the QMK or custom firmware onto the Microchip ATmega32U4 keyboard controller via USB to configure the mini mechanical thumb keyboard HID matrix mapping.
- Flash Raspberry Pi OS Lite onto an eMMC module or MicroSD card, configure device tree overlays for the 4.0-inch MIPI DSI display, I2C touch panel, and PCM5102A I2S audio DAC.
- Install desktop writing software (Obsidian, Vim) and media playback utilities. Configure pipewire/alsa for the PCM5102A audio output and set up Wi-Fi/Bluetooth connections via NetworkManager.
Testing & Calibration
- Perform voltage rail checks across SYS_5V and SYS_3V3 using a digital multimeter while powering the device via USB-C to verify TPS65217C and BQ25896 operation.
- Test display brightness, touch responsiveness across the 4.0-inch panel, and verify audio playback quality through the headphone jack and miniature speaker.
- Execute a full functional test of the pocket cyberdeck: verify wireless connectivity (Wi-Fi/BT), keypress registration from the mechanical thumb keyboard, and battery charging current under load.
Document
Pocket Pda Cyberdeck
A budget-friendly pocket-sized PDA-style cyberdeck powered by USB-C, featuring built-in Wi-Fi and Bluetooth for media consumption, daily tasks, and portable writing.
Executive Summary
This reference design defines the system architecture, critical component candidates, risk register, and validation path for Pocket Cyberdeck. It is a system-level design deliverable; verify critical claims with manufacturer evidence and prototype testing before production release.
Design Overview
Requirements Coverage
| Requirement | Architecture coverage | Status |
|---|---|---|
| Media consumption | COMPUTE_MODULE, DISPLAY_PANEL, AUDIO_CODEC, WIRELESS_RF | Covered |
| Everyday use | POWER_MANAGEMENT, COMPUTE_MODULE, WIRELESS_RF | Covered |
| Portable writing | COMPUTE_MODULE, KEYBOARD_MATRIX, DISPLAY_PANEL | Covered |
| Item | Details |
|---|---|
| Product Type | Pocket Cyberdeck |
| Key Functions | Media consumption, Everyday use, Portable writing |
| Power Source | USB-C power bank compatible |
| Connectivity | WiFi, Bluetooth |
| Size | Pocket-sized handheld (PDA style) |
| Environment | portable |
| Difficulty | Advanced |
| Est. Time | 6-8 hours |
System Architecture
Power Topology: USB-C input goes into TI BQ25896 charger management IC which handles dynamic power path, charges the internal Li-Po cell (VBAT), and regulates down to SYS_5V and SYS_3V3 rails supplying the CM4 compute module, display, audio, and peripheral controllers.
Module List
| Module ID | Type | Name | Function | Voltage |
|---|---|---|---|---|
| POWER_MANAGEMENT | POWER | TI BQ25896 + TPS65217C | Manages USB-C power bank input (5V/9V), battery charging, and generates core 5V/3.3V rails. | 5V/9V |
| COMPUTE_MODULE | MCU | Raspberry Pi Compute Module 4 (CM4 Lite) | Provides robust desktop-class Linux software stack for portable writing (Obsidian/Vim) and media consumption. | 5V |
| DISPLAY_PANEL | DISPLAY | 4.0-inch MIPI DSI IPS Touch Panel (e.g., 720x720 or similar) | Balancing vibrant media consumption with sharp text readability for portable writing. | 3.3V |
| KEYBOARD_MATRIX | ACTUATOR | Microchip ATmega32U4 (Keyboard Controller) + Custom Mechanical Switches | Scans custom mini mechanical thumb keyboard matrix and communicates HID over USB/UART. | 3.3V |
| AUDIO_CODEC | AUDIO | Texas Instruments PCM5102A DAC + Class-D Amp | Provides high-quality audio output for media consumption via headphone jack and miniature speaker. | 3.3V |
| WIRELESS_RF | RF | Intel AX200 / On-module Wi-Fi/BT (or CM4 built-in wireless) | Provides reliable wireless connectivity for internet access, file sync, and Bluetooth accessories. | 3.3V |
Power Tree and Signal Interfaces
| From | To | Type | Interface / rail | Voltage |
|---|---|---|---|---|
| POWER_MANAGEMENT | COMPUTE_MODULE | power | Power | 5V |
| POWER_MANAGEMENT | DISPLAY_PANEL | power | Power | 3.3V |
| COMPUTE_MODULE | DISPLAY_PANEL | power | MIPI | 3.3V |
| DISPLAY_PANEL | COMPUTE_MODULE | data | I2C | 3.3V |
| KEYBOARD_MATRIX | COMPUTE_MODULE | power | USB | 3.3V |
| COMPUTE_MODULE | AUDIO_CODEC | power | I2S | 3.3V |
Design Schemes
SBC Carrier Board with Compute Module ★
Utilizes a Raspberry Pi Compute Module 4 (CM4) mounted to a custom carrier board integrating power delivery, MIPI DSI touch display, and a custom thumb keyboard matrix.
Trade-offs: Highest software maturity and ease of development for Linux desktop apps, but tight pocket-sizing is constrained by standard module footprints.
Key IC selection
main compute module / applications processor
- Need: Provide quad-core ARM Linux computing, high-speed interfaces (MIPI DSI, PCIe/USB), and rich software ecosystem for writing and media.
- Class: System-on-Module (SoM) with high-density board-to-board connectors
- Shortlist: Raspberry Pi Compute Module 4, Allwinner/Rockchip based SoMs
- Pick: Select based on ecosystem maturity, Linux mainline support, pin-compatibility, and availability of Lite variant (no onboard eMMC).
battery charger and power management IC
- Need: Manage USB-C charging up to 9V fast charge, handle dynamic power path management (DPPM), and supply core system rails.
- Class: I2C-controlled switch-mode battery charger combined with companion PMIC
- Shortlist: TI BQ25896 + TPS65217C, Richtek RT9467 + PMIC
- Pick: Select based on input voltage range, quiescent current, thermal dissipation under 9V fast charge, and proven PMIC handshake with application processor.
keyboard controller
- Need: Scan custom mechanical switch matrix, debounce keys locally, and communicate standard USB HID to the compute module.
- Class: USB-capable 8-bit/32-bit microcontroller with internal pull-ups and sufficient GPIO
- Shortlist: Microchip ATmega32U4, Raspberry Pi RP2040
- Pick: Select based on native USB stack availability, package size, and active community firmware support (e.g., QMK/VIA).
high-resolution audio DAC
- Need: Convert I2S digital audio from CM4 into low-noise analog audio out for headphone jack and class-D amplifier.
- Class: Advanced Segment Audio DAC with ground-centered outputs or direct filter-free output
- Shortlist: TI PCM5102A, ESS ES9018K2M
- Pick: Select based on integrated charge pump (eliminating DC blocking caps), SNR performance, and I2S interface simplicity.
Risk register
| ID | Area | Severity | Detail | Mitigation |
|---|---|---|---|---|
| r1 | thermal | high | CM4 and the TI charging IC (BQ25896) in a tight, pocket-sized plastic or metal enclosure will accumulate heat during fast charging and heavy text/media multitasking. | Design internal thermal conductive pads transferring heat from the CM4 CPU and BQ25896 to the metal chassis or an internal heat spreader plate. |
| r2 | emi | med | High-frequency MIPI DSI display traces running close to the Wi-Fi/BT antenna on the CM4 module or external wireless card can cause desense and connectivity drops. | Route MIPI traces with strict ground shielding, maintain proper clearance from RF antennas, and use spread spectrum clocking if available. |
| r3 | power | med | Simultaneous 9V fast charging via BQ25896 and heavy load spikes from CM4 Wi-Fi bursts can cause voltage sag or thermal foldback on the input rails. | Tune the input current/voltage limit registers via I2C dynamically and ensure robust bulk capacitance on the 5V system rail. |
Bring-up and Validation Plan
- Power-off inspection and rail resistance checks
- Current-limited first power-up; verify every rail before enabling loads
- Validate interfaces and timing one subsystem at a time
- Run thermal, fault-injection, EMC pre-scan, and endurance tests for the target environment
Key Components
5/6 modules matched to real parts. See the BOM tab for the full component table.
TI BQ25896 + TPS65217C (TPS65217CRSIR)
Candidate 1 (TPS65217CRSIR) is the correct production integrated circuit matching the primary MPN with a valid reel pack
Raspberry Pi Compute Module 4 (CM4 Lite) (CM4)
The candidate has the exact MPN 'CM4' matching the primary MPN, but the manufacturer 'TDK' does not match 'Raspberry Pi'
4.0-inch MIPI DSI IPS Touch Panel (e.g., 720x720 or similar) (x720)
Web recommendation: x720 (not in ES)
Build Summary
- Difficulty: Advanced
- Estimated time: 6-8 hours
- Tools required: Anti-static mat, Component sorting trays, Digital caliper, Hot air station, Soldering iron, Solder paste and flux
See the Build tab for the full step-by-step assembly guide.
Evidence and Limitations
- Confirm part parameters, certifications, and compatibility against current manufacturer documents.
- Treat industry compliance without test or certificate evidence as a compliance gap, not an approval.
- See Reference Images for visual artifacts and Build Guide for detailed assembly and bring-up steps.
Generated by YuanQi AI Design System · Query: cyberdeck