Skip to content

Latest commit

 

History

History
47 lines (36 loc) · 2.44 KB

TANG_MEGA_138Kpro.md

File metadata and controls

47 lines (36 loc) · 2.44 KB

A2600Nano on Tang Mega 138K Pro

A2600Nano can be used in the Tang Mega 138K pro.

The Tang Mega 138K Pro is bigger than the other bords supported my MiSTeryNano. Unlike the Tang Nano 20K which is actually slightly inferior to the original MiST, the Tang Mega 138K is even slightly more powerful than the MiST's successor MiSTer. So while the MiSTeryNano core does run on the Tang Mega 138K it only utilizes its FPGA to 14%.

Besides the significantly bigger FPGA over the Tang Nano 20K and also the Tang Primer 25K, the Tang Mega 138K adds several more features of which some can be used in the area of retro computing as well.

Plug the optional Dualshock DS2x2 Interface into the left PMOD slot.

The M0S required to control the A2600Nano is to be mounted in the middle PMOD with the help of the M0S PMOD adapter.

The right PMOD slot is allocated for a digital retro Joystick interface. There is no D9 digital Joystick interface PMOD Adapter known and adhoc wiring needed.

Warning

Joystick interface is 3.3V tolerant and therefore the Joystick 5V supply pin has to be left floating when no level shifters are in use!

Bus D9 Signal D9 pin PMOD FPGA pin
0 Button 0 6 12 B21
1 Down 2 11 C21
2 Up 1 10 A20
3 Right 4 9 B20
4 Left 3 8 A19
5 Button 1 X 9 7 B19
- POT Y 5 6 n.c.
- GND - 3 GND
- +5V !!! n.c. n.c.

The whole setup will look like this:

MiSTeryNano on TM138K Pro

The firmware for the M0S Dock is the same version as for the Tang Nano 20K.

On the software side the setup is very simuilar to the original Tang Nano 20K based solution. The core needs to be built specifically for the different FPGA of the Tang Primer using either the TCL script with the GoWin command line interface or the project file for the graphical GoWin IDE. The resulting bitstream is flashed to the TM138K as usual.