Imported from GitHub: LinuxJedi/AmigaRGBtoHDMI · commit b2a596d · license GPL-3.0
Description
LinuxJedi's designs for Amiga RGBtoHDMI boards.
README
Amiga 1000 CPLD Adapter V1

This adaptor uses a CPLD to pass the RGB and sync signals from the Amiga 1000 Denise socket to the Rasperry Pi Zero. It derives the pixel clock in a very different way to other designs and therefore does not require a jumper for Denise / Super Denise and has no "sparkling" pixel issues. It also has the advantage of being firmware upgradable if there are any issues found in the logic.
NOTE: There is an error in v1.1 boards, the text starting "IF YOU CAN READ THIS" is on the wrong side and shoud not be covered up by the Pi. The Pi goes outwards from the board.
ATTENTION PI Zero 2W users: You can now use a Pi Zero 2W with the CPLD RGBtoHDMI using the December 24th 2021 release.
BOM
| Symbol | Component |
|---|---|
| C1, C2, C3 | 0.1uF 0603 |
| J1 | 2x20pin socket 2.54mm |
| J2 | 1pin right angle header 2.54mm |
| JButton1 - 3 | 2pin right angle header 2.54mm |
| R1 | 1K 0603 |
| R2 | 4.7K 0603 |
| U1 | 48pin DIP socket 2.54mm |
| U2 | 2x24pin SILs machined pins 2.54mm |
| U3 | XC9572XL 44pin QFP |
Notes
- It is important that R1 is 1K due to the low value of the internal pull resistor in GPIO0 of the Pi, the other pull resistors are more flexible. If the value is too high then the software won't detect this is an Amiga board and won't show the correct firmware in the recovery menu.
- This board can be used in single button mode with just JButton1 or with three button mode.
- J2 is optional if you have already wired CSYNC to the Denise socket
CSYNC
NOTE: If you have a Rejouvenator in your Amiga 1000, this patches the CSYNC and you don't need a patch wire, using the CSYNC pin can cause sync issues with a Rejouvenator.
The Amiga 1000 does not have CSYNC wired to Denise. There are two ways around this, the first is to wire CSYNC to the Denise socket on the motherboard using a patch wire. This is pin 8 of UA6 to pin 32 of Denise as below:

Alternatively you can use the "CSYNC IN" on the RGB to HDMI board to hook onto the relevant CSYNC signal. This is pin 8 or UA6 as can be seen below (for both PAL and NTSC):

Thanks to @SirCathal for the above two photos.
Pi Software Installation
The software on the Pi should be at least the latest 20210529 release from the main tree or the latest IanSB beta release extracted onto a micro SD card in FAT32 format.
You need to copy some canned profile files into place for the board:
Amiga_CPLD_Readme/Amiga_CPLD_Setup/profile_6-12_BIT_RGB.txtto the root of the SD cardAmiga_CPLD_Readme/Amiga_CPLD_Setup/Profiles/Default.txtto theProfilesdirectory
This resolves some issues with mode switching, particularly on NTSC machines. The profile copied will automatically set single_button_mode.
Flashing the CPLD
The CPLD will need flashing with the 6-12_BIT_RGB_CPLD firmware. The other firmware options are not compatible with the profiles.
If you have followed the software steps above you will get a recovery menu, select 6-12_BIT_RGB_CPLD, confirm and the Pi will flash the CPLD and reboot.
Initial Setup
You may see a shimmer or wavy effect. This is because the phase is set incorrectly and needs calibration, this is a one-off easy thing to do. If you have a static image such as the Kickstart 1.3 boot screen or Workbench with no mouse movement you can use the "Auto Calibrate Video Settings" option (it will require you to select twice to activate). Alternatively you can go into the "Sampling" menu and change the "Sampling Phase" until the image looks correct. Typically 0, 3 or 5 will work fine, but it could be different in each machine.
Once calibrated choose "Save Configuration" and this will be remembered for subsequent boots.
Buying PCBs
I've made the PCBs available on PCBWay here.
Assembled boards are also available from me on Tindie.
No comments yet. Be the first to ask about this board.