CPU Board
The CPU board is not depended on any other boards in the Retro Elf System allowing use in standalone applications. Here is located the heart of Retro Elf, the CDP1802 microprocessor and its supporting electronics.
The design uses low power CMOS components to help keep the board’s power needs to a minimum. A simple on board 5 volt DC voltage regulator is implemented to power the complete system (CPU and front panel). This regulator can supply 5 volts at up to half an amp when an 8-12 volts DC input is supplied to the board. A protection diode is used to help protect against accidental reversal of input power.
The system clock is provided by an on board oscillator module. The labeled oscillator module frequency is divided by two before entering the 1802. So if the oscillator is rated 6MHz the 1802 would see 3MHz. One interesting feature of the 1802’s CMOS architecture is the capability to operation at any frequency from DC up to the processor’s rated frequency. You can even very the frequency at any time. A future add-on board is planned to take advantage of this feature. You can adjust the processor frequency during operation allowing you to see each fetch and execute cycle operation of running code via the front panel.
All 64K bytes of supported memory has been split in to two 32K chunks and have been addressed in to two chip sockets. On-board jumpers provided configuration for each of the two sockets as needed. The most common default setup has a static RAM in the first socket addressed from 0000H to 7FFFH and EEPROM/EPROM used the second socket addressed from 8000H to FFFFH.
An on board “boot-strap” circuit is provided. When enabled, the 1802 is tricked in to start running code from 8000H after a clear (reset). A jumper selectable boot-strap clear signal can come from either a high on the 1802’s Q line or any I/O operation.
An optional on-board battery backup circuit is also implemented to provide 3V DC to SRAM when normal power is lost. The use of a low power CMOS SRAM should be used to allow for a normal standby battery life.
Simple software (bit-banging) serial can be provided using the 1802’s Q output line and one of the four jumper selectable EF input lines. Both the serial input and output can be setup as normal or inverted again via on board jumpers. A MAX232A integrated circuit is use to create standard RS232 signal level on the serial lines. This allows for easy connection to most terminals or computer serial ports supporting RS232 signaling.
The 40-pin expansion header brings out most of the 1802’s signal lines as well as a 5 volt DC power source. It is via this header that the front panel will be connected in addition to any other future expansion boards that my come.
Two groups of status LEDs have been provided to indicate operational status of the CPU board. The group of four LEDs provide status on the boot-strap circuit, the +5VDC power, serial RXD and serial TXD (aka 1802’s Q LED). The group of three LEDs provide processor status; RUN, WAIT and RESET. If all three LEDs are off the microprocessor is in a LOAD mode not normally seen while in standalone operation
Front Panel
The front panel is connected to the CPU board via a 40-pin flat cabled.
The front panel gives the user a window in to the operations going on within the 1802. Key information is provided via LEDs that monitor the memory address, processor state (fetch, execute, DMA or Interrupt) and process mode (load, wait, reset and run). An additional eight LEDs are used as an output port.
12 toggle switches are used for system control and data input. Four switches handle Clear, Wait, Memory Protect and Input. The remaining eight switches are used for user data port input OR data to be written to the current memory location while in processor load mode. The Input toggle switch is a spring return type returning to the down position for each operational cycle for the switch.
Expansion board
When the expansion board is installed in to the Retro Elf system, it is plugged in to the CPU board via a 40-pin header socket placed on the bottom side of the board. This creates a board stack between the CPU and the expansion board. The front panel is then plugged in to the expansion board using the 40-pin CPU board pass-through connector.
The expansion board increase the number of features available to the Retro Elf Plus system. A simple on board 5 volt DC voltage regulator is implemented to power the expansion board. This regulator can supply 5 volts at up to half an amp when an 8-12 volts DC input is supplied to the board. A protection diode is used to help protect against accidental reversal of input power. Four jumpers are provided to select how the Retro Elf system will be powered. The complete system (CPU, front panel, slow clock board and expansion board) can be powered by ether the CPU’s or expansion board’s on board regulators. In some cases you may need to power the CPU, front panel and slow clock board separately from the expansion board. These four jumpers allow the flexibly to setup the power needs for each application.
Two COM ports using 16550, high speed, serial UART chips are implemented. Each COM port is interfaced using a MAX232A integrated circuit to create standard RS232 signal level on the serial lines. This allows for easy connection to most terminals or computer serial ports supporting RS232 signaling. Both COM ports support hardware handshaking to allow for the fast as possible transfer of serial data. Two jumpers for each of the COM port channels are used to select if DTR/DSR or RTS/CTS pairs signaling will used to support handshaking. Four diagnostics LEDs are provided for each COM port channel that show the status of TX, RX and both handshake lines.
A 40-pin header is supplied that conforms to most of the standard ATA-3 specifications and supports pretty much any ATA device that conform to: a. Support for 8-bit transfer mode. b. Support for logical block addressing (LBA) mode. This connector can be used to attach an external device like disk drives or many versions of Compact Flash cards that meet the above requirements.
A four pin header is also supplied that allows the addition on streaming external interfaces that support the use of an audio tape recorder or streaming floppy to save programs.
Real-Time-Clock support is provided using an Epson RTC72421 module. This RTC module provides highly accurate time-keeping and supports time and date for hours, minutes, seconds, month, day, year and day-of-week. An on board backup battery provides continues operation of the RTC even when no power is being supplied to the Elf. The RTC can also be programmed to supply fixed-period interrupts to the Elf system.
Power supply
Power needs for the Retro Elf unit are supplied nicely by a small enclosed 12 volt switch power supply. The selected supply is rated at 25 watts and can be plugged in to most mains power from 88 to 264 VAC at 50/60Hz. The power supply I have been using is the TDK-Lambda LS25-12 which is available from Digikey. Us the following link for more details:
Enclosure
I need to point out that this website indicated that I used a C-350 series enclosure. This was an error. The actual enclosure is a PacTec "C-325 Kit" (PN: 61866-510-039-6) and measures 9.2 x 8.5 x 3.6 inches. I have bought all my PacTec boxes directly form PacTec. Use this link for more information on the C325:
A small 12 volt DC fan is installed on the back case cover. This fan helps provide air flow through the case to keep everything cool while the Retro Elf is in operation. Bench tests seem to indicate that given the low power needs for the CMOS electronics, the fan may not be needed. But I like to be safe so I have kept the fan in the final design.
The current pictured front and back panels shown above came from Front Panel Express. They have design software that can be downloaded and installed that will help create nice looking panel designs. You can find their information here: