| Both sides previous revisionPrevious revisionNext revision | Previous revision |
| boards:ecb:zilog-peripherals:start [2019/07/15 23:17] – Initial import from Wayback Machine | boards:ecb:zilog-peripherals:start [2026/06/15 12:24] (current) – external edit 127.0.0.1 |
|---|
| /* Imported from Wayback Machine | /* Imported from Wayback Machine |
| Original URL : https://retrobrewcomputers.org/doku.php?id=boards:ecb:zilog-peripherals:start | Original URL : https://retrobrewcomputers.org/doku.php?id=boards:ecb:zilog-peripherals:start |
| Snapshot date: 2019-07-15 | Snapshot date: 2025-04-28 |
| Generator : wayback-archiver | Generator : wayback-archiver |
| */ | */ |
| ===== Pictures ===== | ===== Pictures ===== |
| |
| [[https://www.retrobrewcomputers.org/lib/exe/fetch.php?tok=6b48cf&media=https://www.retrobrewcomputers.org/lib/plugins/ckgedit/fckeditor/userfiles/image/boards/ecb/zilog-peripherals/zilogperipheral1.jpg|{{https://www.retrobrewcomputers.org/lib/plugins/ckgedit/fckeditor/userfiles/image/boards/ecb/zilog-peripherals/zilogperipheral1.jpg?400x300|www.retrobrewcomputers.org_lib_plugins_ckgedit_fckeditor_userfiles_image_boards_ecb_zilog-peripherals_zilogperipheral1.jpg}}]] | {{[[lib:plugins:ckgedit:fckeditor:userfiles:image:boards:ecb:zilog-peripherals:gallery:zilogperipheral1.jpg]] |
| |
| [[boards:ecb:zilog-peripherals:gallery|Photo gallery]] | [[boards:ecb:zilog-peripherals:gallery|Photo gallery]] |
| ===== Acknowledgments ===== | ===== Acknowledgments ===== |
| |
| The ECB ZILOG Peripherals board is based on a design presented in c't magazine in 1985 “Datenverkehr - Die I/O-Karte fur den ECB-Bus” by Georg Umback. The original documentation for this project can be seen here: [[https://retrobrewcomputers.org/lib/exe/fetch.php?media=boards:ecb:zilog-peripherals:zp_dart_sio_ct8504.pdf|:boards:ecb:zilog-peripherals:zp_dart_sio_ct8504.pdf]] | The ECB ZILOG Peripherals board is based on a design presented in c't magazine in 1985 “Datenverkehr - Die I/O-Karte fur den ECB-Bus” by Georg Umback. The original documentation for this project can be seen here: [[boards:ecb:zilog-peripherals:development|development]] |
| |
| Andrew Lynch designed the current version with David Giles and Douglas Goodall assisting with testing on the SBC V1 & V2 respectively. | Andrew Lynch designed the Retrobrew version with David Giles and Douglas Goodall assisting with testing on the SBC V1 & V2 respectively. |
| | |
| | ===== Version ===== |
| | |
| | The following documentation and files describe version 2 which has not been manufactured and tested as at 29/11/2019. Version 2 adds a jumper to bridge CTC counter 2 and 3 so that CTC counter 2 can be used as a prescaler. The serial headers connectors have been reconfigured to the IBM PC standard. A reset configuration jumper has been added to allow selection of either KONTRON or Legacy (N8VEM) reset method. |
| | |
| | Details on prior versions can be can be found [[https:www.retrobrewcomputers.org:doku.php|here.]] |
| |
| ===== Hardware Documentation ===== | ===== Hardware Documentation ===== |
| ==== Schematics ==== | ==== Schematics ==== |
| |
| [[https://retrobrewcomputers.org/lib/exe/fetch.php?media=boards:ecb:zilog-peripherals:zilog_peripherals-schematic.pdf|:boards:ecb:zilog-peripherals:zilog_peripherals-schematic.pdf]] | [[https://retrobrewcomputers.org/lib/exe/fetch.php?media=boards:ecb:zilog-peripherals:v2:zilog_peripherals-schematics-2.0_002.pdf|:boards:ecb:zilog-peripherals:v2:zilog_peripherals-schematics-2.0_002.pdf]] |
| |
| ==== Board Layout ==== | ==== Board Layout ==== |
| |
| [[https://retrobrewcomputers.org/lib/exe/fetch.php?media=boards:ecb:zilog-peripherals:zilog_peripherals-full-board.pdf|:boards:ecb:zilog-peripherals:zilog_peripherals-full-board.pdf]] | [[https://retrobrewcomputers.org/lib/exe/fetch.php?media=boards:ecb:zilog-peripherals:v2:zilog_peripherals-board-2.0_002.pdf|:boards:ecb:zilog-peripherals:v2:zilog_peripherals-board-2.0_002.pdf]] |
| | |
| | ==== KiCad Files ==== |
| | |
| | [[https://retrobrewcomputers.org/lib/exe/fetch.php?media=boards:ecb:zilog-peripherals:v2:zilog_peripherals-kicad-2.0_002.zip|:boards:ecb:zilog-peripherals:v2:zilog_peripherals-kicad-2.0_002.zip]] |
| |
| ==== PCB Gerber files ==== | ==== PCB Gerber files ==== |
| |
| [[builderpages:b1ackmai1er:ecb_zilog_peripherals_pcb|Untested ECB Zilog Peripherals Gerber files]] | [[https://retrobrewcomputers.org/lib/exe/fetch.php?media=boards:ecb:zilog-peripherals:v2:zilog_peripherals-gerbers-2.0_002.zip|:boards:ecb:zilog-peripherals:v2:zilog_peripherals-gerbers-2.0_002.zip]] |
| | |
| | ==== PCB Parts List ==== |
| |
| [[https://www.retrobrewcomputers.org/lib/exe/fetch.php?tok=716cd0&media=https://www.retrobrewcomputers.org/lib/plugins/ckgedit/fckeditor/userfiles/image/builderpages/b1ackmai1er/ecb_zilog_peripherals.png|{{https://www.retrobrewcomputers.org/lib/plugins/ckgedit/fckeditor/userfiles/image/builderpages/b1ackmai1er/ecb_zilog_peripherals.png?710x436}}]] | [[https://retrobrewcomputers.org/lib/exe/fetch.php?media=boards:ecb:zilog-peripherals:v2:zilog_peripherals-partlist-2.002.txt|:boards:ecb:zilog-peripherals:v2:zilog_peripherals-partlist-2.002.txt]] |
| |
| ==== Connectors ==== | ==== Connectors ==== |
| Visual guide for I/O address setting: | Visual guide for I/O address setting: |
| |
| {{[[lib:plugins:ckgedit:fckeditor:userfiles:image:boards:ecb:zilog-peripherals:zilog-peripherals-jumpers.png]] | [[https://www.retrobrewcomputers.org/lib/exe/fetch.php?tok=41fbe6&media=https://www.retrobrewcomputers.org/lib/plugins/ckgedit/fckeditor/userfiles/image/boards/ecb/zilog-peripherals/zilog-peripherals-jumpers.png|{{https://www.retrobrewcomputers.org/lib/plugins/ckgedit/fckeditor/userfiles/image/boards/ecb/zilog-peripherals/zilog-peripherals-jumpers.png?800x406}}]] |
| |
| ==== Chip address ==== | ==== Chip address ==== |
| Next the Z80-DART/SIO's clock pins need to be connected to PHI_X using header X6. For the fixed baud rate jumper pins 3-5 or 5-7 for channel A and 8-10 for channel B of header X6 (as in the photo). This assumes the above recommended modification has been made. | Next the Z80-DART/SIO's clock pins need to be connected to PHI_X using header X6. For the fixed baud rate jumper pins 3-5 or 5-7 for channel A and 8-10 for channel B of header X6 (as in the photo). This assumes the above recommended modification has been made. |
| |
| \\ | ==== Serial Leads ==== |
| | |
| ==== Serial leads ==== | |
| | |
| The Zilog peripheral board header layouts are different to the other boards in the N8VEM range so custom cables must be made. Here is an example - the Z80-DART/SIO doesn't provide a DSR input so it uses DCD instead. Ring Indicator is also not used. | |
| |
| |\\ X3 / X7 pin|\\ Signal |\\ DB-9M|\\ DB-9F|\\ Note| | |\\ X3 / X7 pin|\\ Signal |\\ DB-9M|\\ DB-9F|\\ Note| |
| |\\ 1 |\\ GND |\\ 5 |\\ 5 | | | |\\ 1 |DCD in | | | | |
| |\\ 2 |\\ GND |\\ 5 |\\ 5 | | | |\\ 2 |DSR | | | | |
| |\\ 3 |\\ /Tx out|\\ 3 |\\ 2 | | | |\\ 3 |\\ /Rx in | | | | |
| |\\ 4 |\\ DCD in |\\ 6 / 1|\\ 4 | | | |\\ 4 |\\ RST out| | | | |
| |\\ 5 |\\ /Rx in |\\ 2 |\\ 3 | | | |\\ 5 |\\ /Tx out| | | | |
| |\\ 6 |\\ DTR out|\\ 4 |\\ 6 / 1| | | |\\ 6 |\\ CST int| | | | |
| |\\ 7 |\\ RST out|\\ 7 |\\ 8 | | | |\\ 7 |\\ DTR out| | | | |
| |\\ 8 |\\ n/c |\\ n/c |\\ n/c | | | |\\ 8 |\\ RI | | | | |
| |\\ 9 |\\ CTS in |\\ 8 |\\ 7 | | | |\\ 9 |\\ GND | | | | |
| |\\ 10 |\\ n/c |\\ n/c |\\ n/c | | | |\\ 10 |\\ n/c |\\ n/c |\\ n/c | | |
| |
| The Z80-CTC provides four counter / timer channels. Channel 0 can be used as the baud rate clock source for the Z80-DART/SIO channel A. Channel 1 can be used for the Z80-DART/SIO channel B baud rate clock source. All four channels are available on header X4. | The Z80-CTC provides four counter / timer channels. Channel 0 can be used as the baud rate clock source for the Z80-DART/SIO channel A. Channel 1 can be used for the Z80-DART/SIO channel B baud rate clock source. All four channels are available on header X4. |
| |
| The channels can also be used to provide mode 2 vectored interrupts for non-Zilog I/O (e.g. the UART on the N8VEM Z80 SBC). To do this put the channel into counter mode with a preset value of 1. When the trigger input is activated by the interrupt source, the counter will decrement to zero and cause an interrupt to the CPU with the vector provided by the Z80-CTC. | The channels can also be used to provide mode 2 vectored interrupts for non-Zilog I/O (e.g. the UART on the Z80 SBC V2). To do this put the channel into counter mode with a preset value of 1. When the trigger input is activated by the interrupt source, the counter will decrement to zero and cause an interrupt to the CPU with the vector provided by the Z80-CTC. |
| | |
| | Channel 2 & 3 can be configured to provide a 50Hz interrupt which can facilitate implementing multi-tasking system. This required setting appropriate clock dividers, configuration jumpers and software modes. |
| | |
| | Assuming 4.9152Mhz crystal |
| | |
| | Jumper X5 pins 15-16 and pins 9-11 |
| | |
| | Jumper X5 pin 3 (PHI_X) to X4 pin 7 (CTC_TG2) |
| | |
| | Jumper P1 (on v1 board jumper X4 pin 8 (CTC_ZC2) to X4 pin 9 (CTC_TG3) |
| | |
| | Configure the interrupt vector. |
| | |
| | Configure channel 3 to divide by 256 |
| | |
| | Configure channel 4 to divide by 48 and interrupt. |
| | |
| | Refer to ROMWBW ctc.asm driver for example. |
| | |
| | To enable the CTC, ROMWBW must be rebuilt with the following custom configuration added: |
| | |
| | SBC_std_cust.asm |
| | |
| | <code code> |
| | CTCENABLE .SET TRUE ; ENABLE ZILOG CTC SUPPORT |
| | CTCBASE .SET $B0 ; CTC BASE I/O ADDRESS |
| | </code> |
| | |
| | Correct operation of the 50Hz interrupt timer can be confirmed with the TIMER.COM: |
| | |
| | <code code> |
| | TIMER /C |
| | </code> |
| | |
| | [[https://www.retrobrewcomputers.org/lib/exe/fetch.php?media=boards:ecb:zilog-peripherals:ctctimer.gif|{{boards:ecb:zilog-peripherals:ctctimer.gif?392x108}}]] |
| |
| ==== Z80-PIO ==== | ==== Z80-PIO ==== |
| ==== Resources ==== | ==== Resources ==== |
| |
| Filename | [[https:www.retrobrewcomputers.org:doku.php|Datasheets]] |
| |
| Filesize | \\ |
| Last modified | |
| [[https://retrobrewcomputers.org/lib/exe/fetch.php?media=boards:ecb:zilog-peripherals:2piotst.zip|2piotst.zip]] | |
| 3.4 KiB | |
| 2018/09/24 10:21 | |
| [[https://retrobrewcomputers.org/lib/exe/fetch.php?media=boards:ecb:zilog-peripherals:ecb_zilog_peripherals-004.zip|ecb_zilog_peripherals-004.zip]] | |
| 29.8 KiB | |
| 2018/04/22 11:50 | |
| [[https://retrobrewcomputers.org/lib/exe/fetch.php?media=boards:ecb:zilog-peripherals:img_8617.jpg|img_8617.jpg]] | |
| 784.6 KiB | |
| 2018/04/22 11:14 | |
| [[https://retrobrewcomputers.org/lib/exe/fetch.php?media=boards:ecb:zilog-peripherals:img_8618.jpg|img_8618.jpg]] | |
| 773.7 KiB | |
| 2018/04/22 11:30 | |
| [[https://retrobrewcomputers.org/lib/exe/fetch.php?media=boards:ecb:zilog-peripherals:img_8622.jpg|img_8622.jpg]] | |
| 747.9 KiB | |
| 2018/04/22 11:31 | |
| [[https://retrobrewcomputers.org/lib/exe/fetch.php?media=boards:ecb:zilog-peripherals:img_8626.jpg|img_8626.jpg]] | |
| 1.4 MiB | |
| 2018/04/22 11:34 | |
| [[https://retrobrewcomputers.org/lib/exe/fetch.php?media=boards:ecb:zilog-peripherals:img_8627.jpg|img_8627.jpg]] | |
| 1.3 MiB | |
| 2018/04/22 11:35 | |
| [[https://retrobrewcomputers.org/lib/exe/fetch.php?media=boards:ecb:zilog-peripherals:img_8640.jpg|img_8640.jpg]] | |
| 730.9 KiB | |
| 2018/04/22 11:36 | |
| [[https://retrobrewcomputers.org/lib/exe/fetch.php?media=boards:ecb:zilog-peripherals:img_8644.jpg|img_8644.jpg]] | |
| 1.4 MiB | |
| 2018/04/22 11:37 | |
| [[https://retrobrewcomputers.org/lib/exe/fetch.php?media=boards:ecb:zilog-peripherals:img_8645.jpg|img_8645.jpg]] | |
| 1.4 MiB | |
| 2018/04/22 11:39 | |
| [[https://retrobrewcomputers.org/lib/exe/fetch.php?media=boards:ecb:zilog-peripherals:img_8646.jpg|img_8646.jpg]] | |
| 1.3 MiB | |
| 2018/04/22 11:40 | |
| [[https://retrobrewcomputers.org/lib/exe/fetch.php?media=boards:ecb:zilog-peripherals:img_8647.jpg|img_8647.jpg]] | |
| 1.5 MiB | |
| 2018/04/22 11:41 | |
| [[https://retrobrewcomputers.org/lib/exe/fetch.php?media=boards:ecb:zilog-peripherals:n8vem-zilogperiph-back-300dpi.png|n8vem-zilogperiph-back-300dpi.png]] | |
| 3.7 MiB | |
| 2018/04/22 11:45 | |
| [[https://retrobrewcomputers.org/lib/exe/fetch.php?media=boards:ecb:zilog-peripherals:n8vem-zilogperiph-front-300dpi.png|n8vem-zilogperiph-front-300dpi.png]] | |
| 3.9 MiB | |
| 2018/04/22 11:49 | |
| [[https://retrobrewcomputers.org/lib/exe/fetch.php?media=boards:ecb:zilog-peripherals:z80-interrupts.pdf|z80-interrupts.pdf]] | |
| 897.7 KiB | |
| 2018/04/22 13:06 | |
| [[https://retrobrewcomputers.org/lib/exe/fetch.php?media=boards:ecb:zilog-peripherals:z80_kio.pdf|z80_kio.pdf]] | |
| 345.6 KiB | |
| 2018/04/22 13:05 | |
| [[https://retrobrewcomputers.org/lib/exe/fetch.php?media=boards:ecb:zilog-peripherals:z80_peripherals.pdf|z80_peripherals.pdf]] | |
| 2.3 MiB | |
| 2018/04/22 13:06 | |
| [[https://retrobrewcomputers.org/lib/exe/fetch.php?media=boards:ecb:zilog-peripherals:z80_pio.pdf|z80_pio.pdf]] | |
| 616.3 KiB | |
| 2018/04/22 13:06 | |
| [[https://retrobrewcomputers.org/lib/exe/fetch.php?media=boards:ecb:zilog-peripherals:z84015_ipc.pdf|z84015_ipc.pdf]] | |
| 1.9 MiB | |
| 2018/04/22 13:06 | |
| [[https://retrobrewcomputers.org/lib/exe/fetch.php?media=boards:ecb:zilog-peripherals:zilog-peripherals-jumpers.png|zilog-peripherals-jumpers.png]] | |
| 13.2 KiB | |
| 2018/07/16 09:56 | |
| [[https://retrobrewcomputers.org/lib/exe/fetch.php?media=boards:ecb:zilog-peripherals:zilog_peripherals-board.pdf|zilog_peripherals-board.pdf]] | |
| 239.7 KiB | |
| 2018/04/22 12:12 | |
| [[https://retrobrewcomputers.org/lib/exe/fetch.php?media=boards:ecb:zilog-peripherals:zilog_peripherals-full-board.pdf|zilog_peripherals-full-board.pdf]] | |
| 439.0 KiB | |
| 2018/04/23 00:40 | |
| [[https://retrobrewcomputers.org/lib/exe/fetch.php?media=boards:ecb:zilog-peripherals:zilog_peripherals-schematic.pdf|zilog_peripherals-schematic.pdf]] | |
| 184.9 KiB | |
| 2018/04/22 12:13 | |
| [[https://retrobrewcomputers.org/lib/exe/fetch.php?media=boards:ecb:zilog-peripherals:zilog_pio_technical_manual.pdf|zilog_pio_technical_manual.pdf]] | |
| 25.8 MiB | |
| 2018/04/22 12:09 | |
| [[https://retrobrewcomputers.org/lib/exe/fetch.php?media=boards:ecb:zilog-peripherals:zilog_sio_technical_manual.pdf|zilog_sio_technical_manual.pdf]] | |
| 24.1 MiB | |
| 2018/04/22 12:46 | |
| [[https://retrobrewcomputers.org/lib/exe/fetch.php?media=boards:ecb:zilog-peripherals:zilogperipheral1.jpg|zilogperipheral1.jpg]] | |
| 470.2 KiB | |
| 2018/04/22 12:17 | |
| [[https://retrobrewcomputers.org/lib/exe/fetch.php?media=boards:ecb:zilog-peripherals:zp_dart_sio_ct8504.pdf|zp_dart_sio_ct8504.pdf]] | |
| 39.5 MiB | |
| 2018/04/22 13:02 | |
| [[https://retrobrewcomputers.org/lib/exe/fetch.php?media=boards:ecb:zilog-peripherals:zp_dart_sio_ct8504_4_english.doc|zp_dart_sio_ct8504_4_english.doc]] | |
| 46.0 KiB | |
| 2018/04/22 12:20 | |
| [[https://retrobrewcomputers.org/lib/exe/fetch.php?media=boards:ecb:zilog-peripherals:zp_dart_sio_ct8504_4_german.rtf|zp_dart_sio_ct8504_4_german.rtf]] | |
| 27.1 KiB | |
| 2018/04/22 13:07 | |
| [[https://retrobrewcomputers.org/lib/exe/fetch.php?media=boards:ecb:zilog-peripherals:zp_dart_sio_ct8504_asm.pdf|zp_dart_sio_ct8504_asm.pdf]] | |
| 24.1 KiB | |
| 2018/04/22 12:33 | |
| [[https://retrobrewcomputers.org/lib/exe/fetch.php?media=boards:ecb:zilog-peripherals:zp_in.docx|zp_in.docx]] | |
| 20.1 KiB | |
| 2018/04/22 12:23 | |
| [[https://retrobrewcomputers.org/lib/exe/fetch.php?media=boards:ecb:zilog-peripherals:zp_z80_dart_uart_pin.pdf|zp_z80_dart_uart_pin.pdf]] | |
| 879.0 KiB | |
| 2018/04/22 12:52 | |
| [[https://retrobrewcomputers.org/lib/exe/fetch.php?media=boards:ecb:zilog-peripherals:zp_zilog-peripherals.zip|zp_zilog-peripherals.zip]] | |
| 5.4 KiB | |
| 2018/04/22 12:30 | |
| [[https://retrobrewcomputers.org/lib/exe/fetch.php?media=boards:ecb:zilog-peripherals:zp_zilog_peripherals.txt|zp_zilog_peripherals.txt]] | |
| 1.5 KiB | |
| 2018/04/22 12:50 | |
| [[https://retrobrewcomputers.org/lib/exe/fetch.php?media=boards:ecb:zilog-peripherals:zp_zilog_peripherals_init.txt|zp_zilog_peripherals_init.txt]] | |
| 1.6 KiB | |
| 2018/04/22 12:50 | |
| [[https://retrobrewcomputers.org/lib/exe/fetch.php?media=boards:ecb:zilog-peripherals:zp_zilog_z80_cpu_peripherals.pdf|zp_zilog_z80_cpu_peripherals.pdf]] | |
| 1.6 MiB | |
| 2018/04/22 13:07 | |
| |