background image

28

The following table shows examples of address switch settings.

Switches

Base Address

Address Range

Recommended

0x68 hexadecimal
(104 decimal)

0x68 to 0x6B hexadecimal
(104 to 107 decimal)

1

st

PIO module

address

0x6C hexadecimal
(108 decimal)

0x6C to 0x6F hexadecimal
(108 to 111 decimal)

2

nd

PIO module

address

0x00 hexadecimal
(0 decimal)

0x00 to 0x03 hexadecimal
(0 to 3 decimal)

0x04 hexadecimal
(4 decimal)

0x04 to 0x07 hexadecimal
(4 to 7 decimal)

0x08 hexadecimal
(8 decimal)

0x08 to 0x0B hexadecimal
(8 to 11 decimal)

0x40 hexadecimal
(64 decimal)

0x40 to 0x43 hexadecimal
(64 to 67 decimal)

0x44 hexadecimal
(68 decimal)

0x44 to 0x47 hexadecimal
(68 to 71 decimal)

0x48 hexadecimal
(72 decimal)

0x48 to 0x4B hexadecimal
(72 to 75 decimal)

0x4C hexadecimal
(76 decimal)

0x4C to 0x4F hexadecimal
(76 to 79 decimal)

0x50 hexadecimal
(80 decimal)

0x50 to 0x53 hexadecimal
(80 to 83 decimal)

0xF0 hexadecimal
(240 decimal)

0xF0 to 0xF3 hexadecimal
(240 to 243 decimal)

0xF4 hexadecimal
(244 decimal)

0xF4 to 0xF7 hexadecimal
(244 to 247 decimal)

0xF8 hexadecimal
(248 decimal)

0xF8 to 0xFB hexadecimal
(248 to 251 decimal)

0xFC hexadecimal
(252 decimal)

0xFC to 0xFF hexadecimal
(252 to 255 decimal)

Содержание Z80 series

Страница 1: ...Z80 Z80 PIO PIO Module Module For For RC2014 RC2014 User User Guide Guide For For module module SC103 SC103 version version 1 0 1 0 Design and Documentation by Stephen C Cousins Edition 1 0 0...

Страница 2: ...OARD 3 SCHEMATIC 4 WHAT YOU NEED 5 COMPONENTS WHAT THEY DO WHERE TO GET THEM 7 ASSEMBLY GUIDE 15 CONFIGURING THE PIO MODULE 26 ADDRESS SELECTION 27 PURCHASING THE PRINTED CIRCUIT BOARD 29 FAULT FINDIN...

Страница 3: ...input and output connectivity as well as support for Z80 mode 2 interrupt daisy chaining Each port has eight bidirectional data lines and two handshaking lines The PIO has flexible interrupt generatio...

Страница 4: ...3 Printed Circuit Board The printed circuit board is a standard footprint RC2014 board Printed circuit board top component side Printed circuit board bottom solder side...

Страница 5: ...2014 IEI pin 38 and IEO pin 39 incorrectly labelled The labels are incorrectly shown next to pins 37 and 38 not 38 and 39 Also port A I O lines are not correctly labelled on the back of the board The...

Страница 6: ...olytic lead spacing 2 54mm radial or 14mm axial 1 JP1 and JP2 Pin header male 2 rows x 2 pins straight 2 JP1 and JP2 Jumper shunt for pin spacing 2 54mm 1 P1 Pin header male 2 rows x 39 pins angled 2n...

Страница 7: ...P 40 1 U2 socket 40 pin PDIP IC socket 0 6 wide 1 U3 74HCT08 quad 2 input AND gate 1 U3 socket 14 pin PDIP IC socket 0 3 wide Also required to assemble the module from the above components Long nose p...

Страница 8: ...e Description 1 PCB Printed circuit board SC103 Z80 PIO Supplier Part number EasyEDA Search EasyEDA com for RC2014 PIO The PCB is currently only available to be ordered from EasyEDA com although you c...

Страница 9: ...most secure in this configuration but there is limited length allocated and you probably don t have one JP1 and JP2 Image Qty Reference Description 1 JP1 and JP2 Pin header male 2 rows x 2 pins strai...

Страница 10: ...optional Supplier Part number eBay 200906546562 2x40 pin to be cut to length Farnell 1097962 2x40 pin to be cut to length Mouser 571 9 103795 0 2x40 pin to be cut to length RS 155 743 2x40 pin to be...

Страница 11: ...906546562 1x40 pin to be cut to length Farnell 2356192 1x40 pin to be cut to length Mouser 710 61304011021 1x40 pin to be cut to length RS 156 077 1x40 pin to be cut to length This connector provides...

Страница 12: ...vide a Z80 mode 2 interrupt daisy chain IEI and IEO signals these have been brought to the back of the board where they can be easily linked to other modules with Dupont wires RP1 Image Qty Reference...

Страница 13: ...ies I O addresses 0x68 to 0x6B This is done by setting switches 1 to 6 to On Off Off On Off On where On is the switch closed In the case of the piano style DIP switch the On position is the switch lev...

Страница 14: ...4C4008PEG 8 MHz version 692 Z84C4010PEG 10 MHz version RS 625 9040 8 MHz version The Z80 PIO provides provides two 8 bit parallel ports with handshaking and flexible interrupt functions It has mode 2...

Страница 15: ...ircuit provides a special reset signal to the PIO There is no separate reset pin on the PIO so instead the M1 pin has an extra function When M1 is low and both RD and IORQ are high the PIO enters a re...

Страница 16: ...rnet before continuing First check you have all the required components as listed in the section What You Need Header pins JP1 and JP2 and P1 to P4 may need to be cut from longer strips Step 1 Fit and...

Страница 17: ...16 Step 2 Fit and solder capacitors C1 C2 C3 and C4 These can be fitted either way round as they are not polarity dependent...

Страница 18: ...17 Step 3 Fit and solder resistor pack RP1 This must be fitted the correct way round The component should have pin 1 marked with a dot as illustrated right...

Страница 19: ...module To prepare the header it should first be cut to length if starting with a strip more than 39 pins long and then unwanted pins must be removed If you want to make the board as easy to insert an...

Страница 20: ...19 Step 5 Fit and solder connector P2 Take care to ensure the pins are parallel to the circuit board...

Страница 21: ...k of it you can leave this connector off Alternatively you might prefer a different connector such as a female header socket Connector P3 pin 15 is a ground terminal between the two port I O connectio...

Страница 22: ...21 Step 7 Fit and solder header pins JP1 and JP2 JP1 and JP2 are made up of a single header 2 pins by 2 pins as illustrated right...

Страница 23: ...for software it is strongly recommended you set the base address of your first PIO module to 0x68 The module then occupies I O addresses 0x68 to 0x6B This is done by setting the switches as illustrat...

Страница 24: ...citor on its side but it is not as secure as an axial package as both leads come out of the same end It is important to fit this capacitor the right way round The PCB s legend shows a plus and minus s...

Страница 25: ...rform the following checks with a volt meter Check the supply voltage on the PIO module between say U1 pin 10 and U1 pin 20 This should be 4 5 to 5 5 volts preferably 4 75 to 5 25 volts Check the inte...

Страница 26: ...ng care to insert them the right way round as illustrated below Be careful not to bend any legs over Now plug the PIO module into the RC2014 backplane together with your normal working set of modules...

Страница 27: ...t and so on The position in the chain determines the device s interrupt priority The illustration shows the connections required when using external Dupont wires on P4 shown in red and the RC2014 bus...

Страница 28: ...8 and 4 respectively The base address is the sum of all the switches in the Off position For a piano style DIP switch as illustrated below Up is Off and Down is On In the illustration below the switch...

Страница 29: ...0x0B hexadecimal 8 to 11 decimal 0x40 hexadecimal 64 decimal 0x40 to 0x43 hexadecimal 64 to 67 decimal 0x44 hexadecimal 68 decimal 0x44 to 0x47 hexadecimal 68 to 71 decimal 0x48 hexadecimal 72 decimal...

Страница 30: ...here you can select Download Gerber or Order at JLCPCB You also have the option to Open in Editor a private copy of the schematic or PCB Selecting Order at JLCPCB requires you to log in or create an a...

Страница 31: ...a warning about design rule violations There are 2 legitimate warnings that may be reported due to the position of the last pair of holes on the RC2014 bus connector being too close to the edge of the...

Страница 32: ...rds fitted Power the backplane and perform the following checks with a volt meter Check the supply voltage on the PIO module between say U1 pin 10 and U1 pin 20 This should be 4 5 to 5 5 volts prefera...

Страница 33: ...32 History 2018 06 25 v1 0 First circuit boards...

Страница 34: ...d on the google group RC2014 Z80 RC2014 supplies Parts can be purchased through Tindie at www tindie com search RC2014 Official RC2014 parts are at https www tindie com stores Semachthemonkey ref offs...

Отзывы: