Credit-card size, full feature set

FRANK Mini

An RP2350A with 16 MB flash and 8 MB PSRAM on an 85.6 × 54 mm board: HDMI and VGA video, TDA1387 audio, PS/2, a gamepad port, two USB-A host ports behind a hub, an ESP-01S WiFi socket, an RV-3032 clock and a tape input. M2 GPIO layout, four layers.

Compute
RP2350A QFN, on-board
PCB
85.6 × 54.0 mm, 4 layers
Video
HDMI, VGA
Revision
1.00
FRANK Mini render

FRANK Mini is a full-featured FRANK the size of a credit card. An RP2350A sits on the board with 16 MB flash and 8 MB PSRAM, and around it are HDMI and VGA, the TDA1387 audio path, PS/2, a gamepad port, two USB-A host ports, an ESP-01S WiFi socket, a real-time clock and a tape input. The pinout is M2, so firmware built for M2 runs on it.

It succeeds MiniFRANK, which is in frank-archive.

What's on the board

SubsystemPartsNotes
ComputeRP2350A (QFN-60), W25Q128JV 16 MB flash, ESP-PSRAM64H 8 MB PSRAMPSRAM on GPIO8
VideoHDMI and VGA (DE-15)Both from GPIO12–19: a firmware picks one
AudioTDA1387T I²S DAC, LM358 output stage, 74HC4052 audio multiplexer (the TDA1387 or the TurboSound module)3.5 mm line out; HDMI audio
Sound expansion2 × 5 headerI²S out and a stereo return, for the TurboSound module
StoragemicroSD, SPIGPIO4–7
PS/2Mini-DIN 6, TXS0104 level shifterKeyboard and mouse on one socket (use a Y-splitter for both)
GamepadDE-9, NES/SNES protocolTwo pads' data lines
USBTS3USB221 multiplexer, MW7211A hub, two stacked USB-A portsCH217K current limit and USBLC6 ESD on the ports
WiFiESP-01S socketUART on GPIO20/21, shared with the gamepad's clock and latch
ClockRV-3032-C7 RTC with a CR1220 backup cellI²C on GPIO28/29
Tape3.5 mm input, CD4069 shaperGPIO22
PowerUSB-C, SY8089 buck, 1.5 A polyfusePower switch
StatusBlue LED on GPIO25, green power LED, red USB overcurrent LED

Connectors and controls

Connector or controlWhat it is
HDMI, VGAVideo outputs
USB-A × 2 (stacked)Keyboards, mice, gamepads through the hub
USB-CPower; flashing and console
Mini-DIN 6PS/2 keyboard and mouse
DE-9NES/SNES gamepads
3.5 mm × 2Line out; tape input
Ext_SoundTurboSound module header
UART, DEBUGJST-SH: the RP2350's UART and SWD
DIP switch (3)Audio source (TDA1387 or TurboSound), tape input, USB to the USB-C socket
Power switchOn/off; the Force On jumper bridges it
RP Boot, RP ResetBOOTSEL and reset (two of each, either works)
ESP Boot, ESP ResetBoot mode and reset of the ESP-01S
JumpersAudio, Tape, USB-C, Hub, Force On: the DIP switch's and the power switch's settings in solder, to bring the board up without them

USB. A 74HC74 latches the RP Boot button at reset: held, the RP2350's USB goes to the USB-C socket (for flashing); released, it goes to the hub and the USB-A ports. The DIP switch's USB position forces the USB-C side.

GPIO map

GPIOFunction
0, 1PS/2 mouse clock, data (UART0 TX/RX when the mouse is unused)
2, 3PS/2 keyboard clock, data
4–7microSD DAT0, CS (DAT3), CLK, CMD
8PSRAM chip select
9–11I²S DATA, BCLK, LRCK
12–19HDMI or VGA (R, G, B, sync)
20, 21Gamepad clock, latch; ESP-01S TX, RX
22Tape input
25Blue LED
26, 27Gamepad data 1, data 2
28, 29I²C SDA, SCL (RV-3032)

Building it

The RP2350A, its flash and the USB parts are fine-pitch: a PCB house can assemble the board from the gerbers and the BOM in docs/1/00/, or you can solder it with hot air and a fine iron. Fit the connectors, the battery holder and the switches last.

First boot

  1. Hold RP Boot and connect the USB-C to a computer: the board appears as an RP2350 drive. Copy a .uf2 file to it, or use picotool load.
  2. Reset without holding RP Boot so the USB goes back to the hub.
  3. Connect a display, a keyboard and power.

Firmware

Build for frank-sdk board M2. The ESP-01S socket takes frank-netcard for networking; firmware that uses the gamepad and the ESP-01S at once has to share GPIO20/21.

Silkscreen

FRANK Mini top
Top
FRANK Mini bottom
Bottom