100%
rp3802 rp3802 view
Description

Imported from GitHub: hyano/rp3802 · commit 712d980 · license MIT

Description

Tiny YM3802 emulator by Raspberry Pi Pico

README

RP3802: Tiny YM3802 emulator by Raspberry Pi Pico

RP3802 is a pin-level emulator of the YAMAHA MIDI control chip YM3802 using a Raspberry Pi Pico.

Notes

  • Please use at your own risk.
  • The input/output voltage of the Raspberry Pi Pico's GPIO is 3.3V, while the input/output voltage of the YM3802 is 5V. However, no level shifter is used for cost reduction.
  • The Raspberry Pi Pico is overclocked to 250MHz for operation.
  • Serial I/F settings are fixed at 31,250bps, 8bits, no parity.
  • Supports only major functions for X68000 games and utilities.

Pin assignment

PicoDirectionDescriptionComment
GPIO 0OutputYM3802 TxDUART TX
GPIO 1InputYM3802 RxDUART RX
GPIO 2-4InputYM3802 A0-A2
GPIO 5-12InputYM3802 D0-D7
GPIO 13Input/CS | /RD<-- GPIO 20
GPIO 14Input/CS | /WR<-- GPIO 21
GPIO 15InputYM3802 /IC
GPIO 16OututYM3802 /IRQ
GPIO 17InputYM3802 /RD
GPIO 18InputYM3802 /CS
GPIO 19InputYM3802 /WR
GPIO 20Output/CS | /RD--> GPIO 13
GPIO 21Output/CS | /RD--> GPIO 14
GPIO 22OutputLED (HEARTBEAT)
GPIO 26OutputLED (TX)
GPIO 27OutputLED (RX)
GPIO 28OutputLED (IRQ)

Implementation status

internal block functionsStatusNote
TransmitterImplemented
FIFO-TxImplemented
ReceiverImplemented
FIFO-RxImplemented
Break detectorImplementeddetect (UART break) + send
FIFO-ITxImplemented
Idle detectorImplementedactive sense (FE) auto-send
Off-line detectorImplemented
MIDI clock filterImplemented
Address hunterImplementedmaker/device ID filter
SYNC detectorNot implementedtape SYNC; no pin
MIDI clock timerImplemented
SYNC controllerNot implementedneeds SYNC output pin
CLICK counterImplementedIRQ only; no CLICK output pin
MIDI clock interpolatorImplementedsoftware-timed (approximate)
Recording counterImplemented
Playback counterImplemented
MIDI message detectorImplemented
FIFO-IRxImplemented
MIDI message distributorImplemented
General-purpose timerImplemented
I/O controllerNot implementedP0-P7 pins repurposed
IRQ controllerImplemented

Parts List

部品型番数量place
基板(自作)1-
丸ピンIC用連結ソケットMH-1X20-L22U1
Raspberry Pi Pico 2SC16311U2
ショットキーバリアダイオードRB160M-30TR1D1
青色チップLEDOSBL1608C1A4D2~5
チップ抵抗10kΩ1R1
チップ抵抗1kΩ4R2~5
ピンヘッダー1 x 3P L型1J1
ピンヘッダー1 x 8P L型1J2

License

RP3802 is licensed under the MIT License. See LICENSE.

Comments
Sign in to comment

No comments yet. Be the first to ask about this board.