borti4938 / n64rgb_flex

HomePage
GNU General Public License v3.0
16 stars 0 forks source link

N64RGBv3 / N64RGB_Flex (PCB & Fw)

This repository contains all you need files to build your own DIY N64RGBv3 / N64RGB_Flex board. Firmware is supplied in this repository, too.

Please don't ask me for selling a modding. I either sell some prototypes on some forums marketplaces (which is very unlikely) or I don't have any of the boards. This is a complete DIY modding project. Everybody is on his own here.

WARNING: This is an advanced DIY project if you do everything on your own. You need very good soldering skills. The CPLD has 0.8mm fine pitched pins, the video amp 0.65mm pitch. On the board there are some SMD1206 resistor and ferrite bead arrays. However, there might be some awesome shops out there selling the boards for a great price.

Table of Contents

Checklist: How to build the project

Assembly

If you have all components available, you can start assembly your board. Please note: if you plan to flash the firmware before assembly, go to the Firmware section first. The documentation provides an interactive BOM, which should guide you through the assbly. There is no specific order for the assembly - just take your time.

Using non-clean flux (rosin based) is obviously recommended. Even though it is "non-clean" I recommend cleaning everything afterwards (just for the visual finish).

Please double check everything for shorts once you finished your work. Very important is that the power supply trace do not short to GND.

Flash the firmware after assembly if you plan to do so.

Installation

1. Open the console

(image by Zerberus (circuit-board.de user))

2. Solder Work

This PCB is designed as a custom flex cable which fits nicely into every N64.

2.1 Digital inputs

Start with the digital side:

2.2 Analog output

2.3 Additional Step for NUS-CPU-01/-02/-03 boards

3. Jumper Setup

JP9 (CSYNC level @ pin 3 MultiOut)

JP10 (low pass filter THS7374)

JP11 - JP13 (Cable)

JDB

For this jumper, it is recommended to use a slide switch (part no. is provided in the BOM)

4. Finish the Work

4.1 VI-Deblur Switch

If you source the switch as provided in the BOM, you can use this 3D mount for a clean installation. A copy of the STL is also provided here. Please note and respect the license of the switch!

4.2 Putting everything back together

Firmware

Flashing the firmware to the CPLD is required to get the modding board working. The firmware file depends on the CPLD you have. Supported CPLDs are

For programming the firmware you need to have:

If you plan to flash the CPLD prior to assembly, you need a TQFP44 adapter in order to access Vcc (Vref), GND and JTAG pins. You can use the pinout file generated by quartus for your orientation. This pinout is obviously the same for the XCR3064XL CPLD.

If you flash the firmware prior to installation, you need also a way to power the Vref with 3.3V. This job is done by the N64 after the installation.

Flash the firmware using the following steps:

Note: In near future I will take a look on how to use OpenOCD for these two CPLDs.

Cable Setup

NTSC SNES Cable

Cable setup is as like as a (standard) RGB cable for the NTSC-SNES

Signal Pin MultiOut Pin SCART Ref. GND in SCART Note
Red 1 15 13 Using a 220uF cap in series is possible
Green 2 11 9 Using a 220uF cap in series is possible
Blue 4 7 5 Using a 220uF cap in series is possible
Sync 3, 7 or 9 20 17 Pin: See installation, Cable: see notes below
GND 5, 6 4,5,9,13,17,18,21 Pin 21 @ SCART: outer shield
+5V 10 16 18 SCART: use a 180ohm resistor in series
Audio left 11 6 4
Audio right 12 2 4

PAL SNES Cable

Cable setup is as like as a (standard) RGB cable for the PAL-SNES

Signal Pin MultiOut Pin SCART Ref. GND in SCART Note
Red 1 15 13 75ohm resistor to GND (pin 13)
Green 2 11 9 75ohm resistor to GND (pin 9)
Blue 4 7 5 75ohm resistor to GND (pin 5)
Sync 3, 7 or 9 20 17 Pin: See installation, Cable: see notes below
GND 5, 6 4,5,9,13,17,18,21 Pin 21 @ SCART: outer shield
+5V 10 16 18 SCART: use a 180ohm resistor in series
Audio left 11 6 4
Audio right 12 2 4

Notes on Sync:

RGB cables: