Copy Link
Add to Bookmark
Report

Dreamcast シリアルポートの応用(汎用入出力ポート)

The original article, written by jj1odm, is available at http://jj1odm.sizious.com/

Dreamcast's profile picture
Published in 
Dreamcast
 · 16 Sep 2018

ドリームキャストのシリアルポートは通常のシリアルインターフェース以外に汎用の入出力ポートとして使用することが出来ます。
但し若干の制約があります。CTSRTS 端子は入出力どちらにも設定できますが、TX は出力のみ RX は入力のみという制約です。

それからシリアルポート内部には EMI 対策と思われるコンデンサ(容量は分かりません)が挿入されています。
通常のシリアルインターフェースとして使用する場合は問題ありませんが、汎用入出力ポートとして高速に動作させる場合 に影響が出てきます。
もし期待通り働かない場合該当するコンデンサを除去してみてください。
私は SD カードアダプターの実験で経験しました。海外向けあるいはロットによってもコンデンサの容量が違う可能性があります。

Internal circuit of dreamcast serial port.
Pin it
Internal circuit of dreamcast serial port.
Dreamcast シリアルポートの応用(汎用入出力ポート)
Pin it

dcpprip では RX は同期クロック入力 残りの3本をデータビットとして双方向に設定して使いますが、TX が出力のみなので出力時 3bit 入力時 2bit という変則的なビットバスで 通信 を行なっています。

About the communication of a parallel port.
Pin it
About the communication of a parallel port.

(この図面は DC本体の リセット時の問題 を考慮していない簡易版の回路図です。)

Dreamcast parallel port cable.
Pin it
Dreamcast parallel port cable.

JoyPad USB Wheel Mouse for Dreamcast では USBN9603 を SPI モードにして 4本の信号でコントロールしています。
(この図面は DC本体の リセット時の問題 を考慮していない簡易版の回路図です。)

Joypad USB wheel mouse for dreamcast.
Pin it
Joypad USB wheel mouse for dreamcast.
← previous
next →
loading
sending ...
New to Neperos ? Sign Up for free
download Neperos App from Google Play
install Neperos as PWA

Let's discover also

Recent Articles

Recent Comments

Neperos cookies
This website uses cookies to store your preferences and improve the service. Cookies authorization will allow me and / or my partners to process personal data such as browsing behaviour.

By pressing OK you agree to the Terms of Service and acknowledge the Privacy Policy

By pressing REJECT you will be able to continue to use Neperos (like read articles or write comments) but some important cookies will not be set. This may affect certain features and functions of the platform.
OK
REJECT