0% found this document useful (0 votes)
135 views4 pages

U1 U2 U3 U11: VCC VCC VCC

This document provides a schematic diagram of the connections between a Z80 CPU, 64k RAM chip, USB pen drive module, and 16C550 UART chip. The Z80 CPU is connected to the 64k RAM and controls whether ROM or RAM is accessed based on the /romEnable and /ramEnable pins. The USB pen drive module and 16C550 UART chip interface with the Z80 CPU through various data and control pins.
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
135 views4 pages

U1 U2 U3 U11: VCC VCC VCC

This document provides a schematic diagram of the connections between a Z80 CPU, 64k RAM chip, USB pen drive module, and 16C550 UART chip. The Z80 CPU is connected to the 64k RAM and controls whether ROM or RAM is accessed based on the /romEnable and /ramEnable pins. The USB pen drive module and 16C550 UART chip interface with the Z80 CPU through various data and control pins.
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 4

1 2 3 4 5

u1 u2 u3 u11

U1
When /romEnable is low we want ROM. Z80 CPU
1 40 a10
A11 A10
A When /ramEnable is low we want RAM. a11 2
A12 A9
39 a9
A
a12 3 38 a8
A13 A8
a13 4 37 a7
A14 A7
a14 5 36 a6
A15 A6
a15 6 35 a5
U2 CLK A5
clk 7 34 a4
UM61512 64k RAM D4 A4
d4 8 33 a3
D3 A3 VCC VCC
1 32 VCC d3 9 32 a2
NC VCC D5 A2
2 31 a15
VCC d5 10 31 a1
NC A15 D6 A1
3 30VCC VCC d6 11 30 a0
A14 CE2 VCC A0
a14 4 29 VCC 12 29 GND
A12 /WE /wr D2 GND R13 R14
a12 5 28 a13 d2 13 28 /m1
A7 A13 D7 /RFSH 10k 10k
a7 6 27 a8 R15 d7 14 27
A6 A8 D0 /M1
a6 7 26 a9 10k d0 15 26 /reset
A5 A9 D1 /RESET
a5 8 25 a11 d1 16 25 /busrq
A4 A11 /rd /INT /BUSRQ
a4 9 24 17 24
A3 /OE /NMI /WAIT /wait
a3 10 23 a10 /int 18 23
A2 A10 /ramEnable /HALT /BUSAK
a2 11 22 19 22
A1 /CE /MREQ /WR
a1 12 21 d7 20 21 /busak
A0 IO8 /nmi /IORQ /RD
a0 13 20 d6 /wr
IO1 IO7
B d0 14 19 d5 B
IO2 IO6 /halt /rd
d1 15 18 d4
IO3 IO5
d2 16 17 d3 /mreq
GND IO4
GND
/ioreq

CH376S USB Pen-Drive Module


U10
CH376S_Module

1 2 U11
d0 DO GND GND 16C550 - UART
3 D1 GND 4
d1 GND
5 D2 VCC 6 1 40
d2 VCC d0 D0 VCC VCC
7 D3 /INT 8 2 39
d3 d1 D1 /RI VCC
9 D4 A0 10 3 38
d4 a0 U3 d2 D2 /CD GND
11 D5 /CS 12 4 37
d5 /csUsb 28C256 - 32K EEPROM d3 D3 /DSR GND
13 14 5 36
28

10 11 d0
d6 D6 /RD /rd A0 D0 d4 D4 /CTS uartCts
VCC

15 D7 /WR 16 a0 9 12 d1 6 35
d7 /wr A1 D1 d5 D5 RESET uartReset
C d2 7 34 C
a1 8
romON goes high on reset
13
A2 D2 d6 D6 /OP1 romOn
17 17 18 18 a2 7 15 d3 8 33
A3 D3 d7 D7 /DTR uartDtr
19 GND TX 20 a3 6 16 d4 9 32
A4 D4 RCLK /RTS
21 RX 22 22 a4 5 17 d5 10 31
A5 D5 uartRx RX /OP2 user
a5 4 18 d6 11 30
A6 D6 uartTx TX INT
a6 3 19 d7 12 29
A7 D7 a3 CS0 /RXRDY
a7 25 13 28
A8 /m1 CS1 A0 a0
a8 24 14 27
A9 /ioreq /CS2 A1 a1
a9 21 15 26
A10 /BAUDOUT A2 a2
a10 23 16 25
A11 xtal1 XTAL1 /AS GND
a11 2 17 24
A12 xtal2 XTAL2 /TXRDY
a12 26 18 23
A13 /wr /IOW /DDIS
a13 1 19 22
A14 GND IOW IOR GND
a14 20 21
GND GND /IOR /rd
27
VCC 22
/WE
GND

/rd /OE
NOTE: INT & RESET are positive-logic.
20
/romEnable /CS
14

D D

TITLE:
Main chips REV: 1.1

Company: 8bitstack.co.uk Sheet: 1/1


Date: 2020-05-11 Drawn By: johnsquires
1 2 3 4 5
1 2 3 4 5

CPU clock - up to 20MHz crystal u7 u8.1

R5
1M ohm
A A
U7.1 U7.2 Reset button
74HC14 inverter 14
74HC14 inverter VCC

14
clk
VCC

VCC
1 2 3 4
GND

GND
7

7
R6
1K ohm C1 SW1
10uF Reset U7.6
74HC14 inverter
X1

14
CPU XTAL

VCC
4 3 13 12 /reset

GND
7
R8
10k U7.4
C5 74HC14 inverter
22pF C6
22pF

14
VCC
9 8
uartReset

GND
GND

7
B B

VCC VCC
UART clock - 1.8432 MHz

xtal1 xtal2 U8.4


R4
NMI button SW2 74HC02 - NOR
10k

7
/NMI

GND
11 /externalNmi
13
U8.2 12

VCC
74HC02 - NOR

14
R7

6
1.5K ohm
7 14
R9 GND VCC
X2 10k
UART 7.3728MHz
4 3

GND
C C18
C17 C

4
22pF
47pF

/nmi
D D

TITLE:
Clock and reset REV: 1.0

Company: 8bitstack.co.uk Sheet: 1/1


Date: 2020-05-11 Drawn By: johnsquires
1 2 3 4 5
1 2 3 4 5

Assuming /MREQ is low, we want ROM when: u5 u6


(1) A15 is low

(2) A14J is low (this is the jumpered version of a14)

VCC
U5.1

14
74HC32 - OR

VCC
A (3) /FFJ is low (this is the jumpered version of the FF) 1 U5.2
A

14
a15 3 74HC32 - OR

VCC
(4) /RD is low 2 4 U5.3

14
a14j 6 74HC32 - OR
5 9
Otherwise we want RAM.

7
P2 P3 /romOnj

GND
P1 rom jumper power jumper 8
a14 jumper 10 /wantROM

7
/rd

GND
/wantROM = 1 or 2 or 3 or 4 a14 1 /romOn 1 externalVCC 1
/romOnj 2 VCC 2
2

7
GND
a14j GND 3 ftdiVCC 3
/romEnable = /MREQ or /wantROM GND 3 U8.3

VCC
74HC02 - NOR
U6.1

14
14
/ramEnable = /MREQ or NOT /wantROM

VCC
9 74HC32 - OR
/wantROM 10 1
8 3

GND
2 /ramEnable

7
VCC
U5.4 /mreq

14

7
74HC32 - OR

GND
12
B /wantROM B
11
13 /romEnable
/mreq

7
U7.5

GND
74HC14 inverter

14
VCC
11 10
romOn /romOn

GND
VCC

7
U6.4

14
74HC32 - OR
/ioreq 12

VCC
U8.1
11 U6.2

14
74HC02 - NOR U7.3
13 74HC32 - OR
14

74HC14 inverter
VCC

3 4
1 6

14
/m1

VCC
/csUsb 5 6

7
GND
2 5 user /user
GND

GND
a4

7
7

7
GND
C C

For I/O for UART we want: For I/O for USB we want:
(1) /IOREQ is low (1) /IOREQ is low
(2) /M1 is high (2) /M1 is high
(3) a3 is high (3) a3 is low
(4) a4 is high (4) a4 is low
base uart port = 00011000 = 24 base USB port = 00000000 = 0

VCC
U6.3

14
74HC32 - OR
9
GND 8
10
GND
D D
7
GND

TITLE:
ROM / RAM / IO select logic REV: 1.0

Company: 8bitstack.co.uk Sheet: 1/1


Date: 2020-06-11 Drawn By: johnsquires
1 2 3 4 5
1 2 3 4 5

H1
externalVCC FTDI serial
A uartDtr 1 DTR A
J2 uartTx 2 TX
2.1mm 5v uartRx 3 RX
+ 1 ftdiVCC 4 VCC
2 uartCts 5 CTS
3 GND 6 GND

GND

H2
Header-Female-2.54_1x36 VCC VCC VCC VCC

B B
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
1
2
3
4
5
6
7
8
9
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
R1 R2 R3 R16
Resistor 0.25W Resistor 0.25W Resistor 0.25W Resistor 0.25W
GND

/mreq
a15
a13
a11
a14
a12
a10
/busak
(out) /reset

/rd

d7
d6
d5
d4
d3
d2
d1
d0
a9
a8
a7
a6
a5
a4
a3
a2
a1
a0
/wr

LED6 LED1 LED2 LED3


VCC

/externalNmi
/busrq
/m1

/ioreq
/wait

halt /ROM /user power

/halt /romOn /user GND

VCC
C C

C13 C12 C10 C3 C4 C7 C8 C9 C11


1uF 1uF 1uF 1uF 1uF 1uF 1uF 1uF 47uf

GND

D D

TITLE:
Connectors REV: 1.0

Company: 8bitstack.co.uk Sheet: 1/1


Date: 2020-05-04 Drawn By: johnsquires
1 2 3 4 5

You might also like