background image

1

CONTENTS

O

VERVIEW

................................................................................................................

2

P

RINTED

C

IRCUIT

B

OARD

.............................................................................................

3

S

CHEMATIC

...............................................................................................................

4

W

HAT

Y

OU

N

EED

.......................................................................................................

5

C

OMPONENTS

: W

HAT

T

HEY

D

O

& W

HERE

T

O

G

ET

T

HEM

..................................................

7

A

SSEMBLY

G

UIDE

.....................................................................................................

15

C

ONFIGURING THE

PIO M

ODULE

.................................................................................

26

A

DDRESS

S

ELECTION

.................................................................................................

27

P

URCHASING THE

P

RINTED

C

IRCUIT

B

OARD

....................................................................

29

F

AULT

F

INDING

........................................................................................................

31

H

ISTORY

.................................................................................................................

32

C

ONTACT

I

NFORMATION

............................................................................................

33

Summary of Contents for Z80 series

Page 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...

Page 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...

Page 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...

Page 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...

Page 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...

Page 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...

Page 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...

Page 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...

Page 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...

Page 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...

Page 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...

Page 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...

Page 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...

Page 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...

Page 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...

Page 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...

Page 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...

Page 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...

Page 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...

Page 20: ...19 Step 5 Fit and solder connector P2 Take care to ensure the pins are parallel to the circuit board...

Page 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...

Page 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...

Page 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...

Page 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...

Page 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...

Page 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...

Page 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...

Page 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...

Page 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...

Page 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...

Page 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...

Page 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...

Page 33: ...32 History 2018 06 25 v1 0 First circuit boards...

Page 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...

Reviews: