Electronic Projects, forums and more.

Go Back   Electronic Circuits Projects Diagrams Free > Electronics Forums > Electronic Projects Design/Ideas/Reviews


Electronic Projects Design/Ideas/Reviews Are you building an electronic project or want to? Maybe you need some assistance? Come and submit your electronic questions here and let our experienced members find a solution.

Reply
 
LinkBack Thread Tools Display Modes
Old 17th April 2008, 06:43 PM   (permalink)
Default Building an 8088

Hello all!

I've been set an assignment recently to build a working 8088 system. Now I've spent a few hours reading up on the subject and I think I have most of it down.

I'm having a few problems with the 16-key keyboard/display interface unit and the programmable I/O interface.
For the keyboard I'm using a 4x4 key matrix, the output of which is connected to a 8279. The SL pins of this are connected to 2 3-8 decoders ( one of which is fed into the matrix ( pins 0 - 3 ), the other being fed into the LED digit display )

The interface I'm using is the 8255, I've configured this to be :

PA - Input
PB - Output
PC - Output

We've been asked for a 8/in 16/out interface in the brief

My question is to connect these two devices together, am I right in thinking that I will use the output of the 8279 ( PINS OUTB0-3 and OUTA0-3 ) to be the input of the 8255 ( Pins PA0-7 )??

Am I right in thinking that PB and PC ( outputs ) are both connected to the address bus of the CPU.

Also, are the A0 - A7 pins of the 8255 connected to the input of PA0-7?

The NAND gate bit still confuses me though...


edit:I've made a little picture to try and detail what I want to do. I've left out the 74318 connections for the control lines of the Ram and EPROM, and the memory itself for simplification. I know it's a rough diagram but I hope it's okay.

The brief for the assignment was:

48K Bytes of EPROM for programme memory (choose the components that will give you the exact size of memory).

12K Bytes of RAM for Data memory (choose the components that will give you the exact size of memory).

A Keyboard/Display Interface unit (should support an 8-digit LED display and a keyboard of 16 key switches).

A programmable I/O Port (8 I/P lines and 16 O/P lines, mode 0), Give the right code that will initialise the chip to the required mode.

As you can see I'm still stumped as to the A0 and A1
For the EPROM and RAM I plan to use combinations of 16k, 8k and 4k.as said he wants exact values

Thanks!!
Attached Images
File Type: jpg 8088.JPG (36.2 KB, 17 views)
Sausages is offline  
Old 17th April 2008, 06:47 PM   (permalink)
Default

"It's just a jump to the left......."
__________________
PIC programmer software, and PIC Tutorials at:
http://www.winpicprog.co.uk
Nigel Goodwin is online now  
Old 17th April 2008, 06:49 PM   (permalink)
Default

Hmmm I presuming that means I'm goosed......
Sausages is offline  
Old 17th April 2008, 07:13 PM   (permalink)
Default

Quote:
Originally Posted by Sausages
Hmmm I presuming that means I'm goosed......
hi,
I have just dug this out, its one of my very old cpu designs. circa 1989!!!

Its based on the Z80. which is the older sister to the 8088.

It should give all you need to know ref the 8088 and 8255.

Enjoy...
Attached Files
File Type: pdf MASTCCT1.pdf (104.6 KB, 14 views)
__________________
Eric
"Good enough is Perfect"

PIC tutorials:
Gramo's: www.digital-diy.net/
Bill's: www.blueroomelectronics.com/

Last edited by ericgibbs; 7th July 2008 at 12:23 PM.
ericgibbs is online now  
Old 17th April 2008, 07:29 PM   (permalink)
Default

"and a jump to the right..."
__________________
Bill
Smart Kits build Smart People

http://www.blueroomelectronics.com
blueroomelectronics is offline  
Old 17th April 2008, 07:45 PM   (permalink)
Default

Quote:
Originally Posted by ericgibbs
hi,
I have just dug this out, its one of my very old cpu designs. circa 1989!!!

Its based on the Z80. which is the older sister to the 8088.

It should give all you need to know ref the 8088 and 8255.

Enjoy...
Thank you sir, you've just saved my bacon I had a bit of that from my notes but that diagram is invaluable
Sausages is offline  
Old 17th April 2008, 07:48 PM   (permalink)
Default

Quote:
Originally Posted by blueroomelectronics
"and a jump to the right..."
At least someone recognised the line!

(apart from the second line is 'step' and not 'jump')
__________________
PIC programmer software, and PIC Tutorials at:
http://www.winpicprog.co.uk
Nigel Goodwin is online now  
Old 17th April 2008, 07:54 PM   (permalink)
Default

Quote:
Originally Posted by Nigel Goodwin
At least someone recognised the line!

(apart from the second line is 'step' and not 'jump')
Rocky Horror Show!

Transalvania ?????

Is my prize in the post.?
__________________
Eric
"Good enough is Perfect"

PIC tutorials:
Gramo's: www.digital-diy.net/
Bill's: www.blueroomelectronics.com/
ericgibbs is online now  
Old 17th April 2008, 07:55 PM   (permalink)
Default

Quote:
Originally Posted by ericgibbs
Rocky Horror Show!

Transalvania ?????

Is my prize in the post.?
Still missed the point! (and the title).
__________________
PIC programmer software, and PIC Tutorials at:
http://www.winpicprog.co.uk
Nigel Goodwin is online now  
Old 17th April 2008, 07:56 PM   (permalink)
Default

Quote:
Originally Posted by Nigel Goodwin
Still missed the point! (and the title).
In that case, please enlighten me....
__________________
Eric
"Good enough is Perfect"

PIC tutorials:
Gramo's: www.digital-diy.net/
Bill's: www.blueroomelectronics.com/
ericgibbs is online now  
Old 17th April 2008, 08:00 PM   (permalink)
Default

Quote:
Originally Posted by ericgibbs
In that case, please enlighten me....
The song is called "Timewarp", which is what we appear to have fallen through!
__________________
PIC programmer software, and PIC Tutorials at:
http://www.winpicprog.co.uk
Nigel Goodwin is online now  
Old 17th April 2008, 08:04 PM   (permalink)
Default

Quote:
Originally Posted by Nigel Goodwin
The song is called "Timewarp", which is what we appear to have fallen through!
Yep, thats the one, just couldnt recall the damn name, having a senior moment.

Thanks, must dash, got to reorganise my sock drawer....
__________________
Eric
"Good enough is Perfect"

PIC tutorials:
Gramo's: www.digital-diy.net/
Bill's: www.blueroomelectronics.com/
ericgibbs is online now  
Old 17th April 2008, 09:23 PM   (permalink)
Default

Be careful using that Z80 diagram. They do have a lot in common (same era), but a very important difference is that the Z80 does not have a multiplexed address/data bus while the 8088 does. So the Z80 hookup of address bus won't work on the 8088.
mneary is offline  
Old 17th April 2008, 09:51 PM   (permalink)
Default

This site has a project much like the one you're building. intel used to have some nice app notes for this architecture, but it looks like they removed these documents from their web site almost ten years ago. Your school should probably try to be in this century also.

Quote:
My question is to connect these two devices together, am I right in thinking that I will use the output of the 8279 ( PINS OUTB0-3 and OUTA0-3 ) to be the input of the 8255 ( Pins PA0-7 )??
Probably not. The 8279 can connect directly to the CPU's data bus using its own chip select.

Quote:
Am I right in thinking that PB and PC ( outputs ) are both connected to the address bus of the CPU.
No. These are your 16 bits of required output. The 8255's data pins (D0-D7) connect to the CPU's data bus. A0 and A1 connect to the corresponding bits on the CPU's address bus.

Quote:
Also, are the A0 - A7 pins of the 8255 connected to the input of PA0-7?
No, PA0-PA7 are your required 8 bits of input. Your 8255 should not have A0-A7 pins.

[edit] clarified some descriptions [/edit]

Last edited by mneary; 17th April 2008 at 10:07 PM.
mneary is offline  
Old 17th April 2008, 10:08 PM   (permalink)
Default

How about a "Captain Dunsil" reference?
__________________
Bill
Smart Kits build Smart People

http://www.blueroomelectronics.com
blueroomelectronics is offline  
Reply

Bookmarks

Thread Tools
Display Modes



Similar Threads
Title Starter Forum Replies Latest
Robot Building for Beginners Souper man Electronic Books 8 10th August 2008 06:11 PM
Building a very simple IR-Switch with kids: Help needed Schorhr Electronic Projects Design/Ideas/Reviews 23 16th March 2007 03:24 PM
8086 and 8088 mstechca General Electronics Chat 8 20th April 2005 12:49 AM
Building a pedometer alvin_lee Electronic Projects Design/Ideas/Reviews 6 9th August 2004 03:06 PM
Building a signal mixer (for music primary) thec Electronic Projects Design/Ideas/Reviews 4 3rd October 2002 06:07 PM



All times are GMT. The time now is 12:37 PM.


Electronic Circuits  |  Learning Electronics
Powered by vBulletin® Version 3.7.0
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.

eXTReMe Tracker