Previous in Forum: ca160 parts   Next in Forum: Harmonics Regulations of Saudi
Close
Close
Close
9 comments
Rate Comments: Nested
Active Contributor

Join Date: Aug 2008
Posts: 15

8051/2051 help, please

08/01/2008 5:46 PM

i need some help on 8051/2051 microcontrollers for my project, I want to interface a PLA to any of the above mentioned chips, could not find it anywhere, or too difficult to understand. can anyone advice on a good PLA chip to be used with 8051/2051? or if you know of any other microcontroller better suited for the job. first i want to store around 1000 2 bit binary numbers in the memory chip (PLA if i'm right) then, i need the microcontroller to obtain the 2 bit binary numbers, one at a time, and perform logical operations on them, and return back to the first memory location once all the locations are acessed. i have done quite a lot of programming on 8086, but none on 8051. is it possible to address 1000 or more memory locations using 8051/2021? how do i go about it? i mean instructing the microcontroller to acess the memory locations in the PLA? i an a IT student, not really familiar with embedded systems like the one i need to build, hope you understand my problem.

Register to Reply
Interested in this topic? By joining CR4 you can "subscribe" to
this discussion and receive notification when new comments are added.

"Almost" Good Answers:

Check out these comments that don't yet have enough votes to be "official" good answers and, if you agree with them, vote them!
Guru
Engineering Fields - Control Engineering - New Member China - Member - New Member

Join Date: Sep 2006
Location: CHINA
Posts: 2945
Good Answers: 14
#1

Re: 8051/2051 help, please

08/01/2008 8:07 PM

However, do you know what is pla? strictly speaking its not belong to memory chip but a logical function chip.

are you going to programming this pla with 8051?

you can program 8086 which is more comp;lex than 8051. one is 16bit one is 8bit.

but 8051 is a microchip or say it integrate all required periphery, but 8086 is not, only a cpu.

suggest you use 89c51, whih has memory inside. it has 4k or 6k 15 upto 32k depend on your need.

of cause you can link pla as periphery to complete a special function. but we used to use gal device.

good good study.

Register to Reply
Active Contributor

Join Date: Aug 2008
Posts: 15
#2
In reply to #1

Re: 8051/2051 help, please

08/02/2008 3:17 AM

well then, i believe i won't require an external ROM for 8951 is it? but i would still like to know what kind of PLA or ROM chip i could have used wit 8051, i really wanna know. pls elaborate a bit more on diffrence between 8051 and 8086, i kno 8086 is a 16bit CPU, but 8051 could have acted like an early cpu with other peripheral devices connected to it before 8086 was built, isn't it?(i'm not sure)

Register to Reply
Guru
Popular Science - Weaponology - New Member United Kingdom - Member - New Member

Join Date: May 2007
Location: Harlow England
Posts: 16512
Good Answers: 670
#3

Re: 8051/2051 help, please

08/02/2008 3:25 AM

Dunno about 8051...

But there are plenty of microcontroller with enough on board RAM for such a simple task.
You can store 4 of your 2bit binary numbers in eack 8 bit byte, so you only need 250 bytes of ram. If you need it to be non volatile memory then you should an a small EEPROM.

Del

__________________
health warning: These posts may contain traces of nut.
Register to Reply
Active Contributor

Join Date: Aug 2008
Posts: 15
#4
In reply to #3

Re: 8051/2051 help, please

08/02/2008 3:46 AM

ok, can you name any one of those? or advice me on a suitable EEPROM chip? i need an external memory coz i don't wanna complicate the programming by having to perform operations on a byte to extract 2 bits at a time from it, unless the instruction set of the controller has anyting in it to make the task easy....

Register to Reply
Guru
Popular Science - Weaponology - New Member United Kingdom - Member - New Member

Join Date: May 2007
Location: Harlow England
Posts: 16512
Good Answers: 670
#5
In reply to #4

Re: 8051/2051 help, please

08/02/2008 4:05 AM

I use the Zilog Z86series of chips Z86E04 is a small one, up to the Z86733.
type 1kx8bit serial eeprom into google.

Getting the micro to talk to a serial EEPROM is MUCH more difficult than a simple bit of bit manipulation.
Any micro can manipulate bits..
e.g To extract the two most significant bits from a byte copy the byte to a suitable location (I usually have some working locations which I call things like 'scrap' 'scrap1' etc.

Then 'and' scrap with C0 hex, manipulate your bits.
Do this for your 4 pairs of bits then 'or' them back together and stick 'em back where you got 'em from.

Much quicker than talking to a serial EE... trust me...I'm an engineer
Del

__________________
health warning: These posts may contain traces of nut.
Register to Reply Score 1 for Good Answer
Anonymous Poster
#6
In reply to #5

Re: 8051/2051 help, please

08/02/2008 10:03 AM

alright thanx a lot for the info, really appreciate it. i just hope Z86E04 is available here. by the way, do you kno of a method of building a digital clock that is accurate enough for months at a time? the only easy method that comes to my mind is using an astable multivibrator calibrated for a pulse of 1sec coupled to an up counter(pls excuse me for going off topic).

Register to Reply
Guru
Popular Science - Weaponology - New Member United Kingdom - Member - New Member

Join Date: May 2007
Location: Harlow England
Posts: 16512
Good Answers: 670
#8
In reply to #6

Re: 8051/2051 help, please

08/02/2008 4:44 PM

I'd think you can build a clock from any micro' just use a 'watch crystal' to get the right frequency...

BTw you need a developmend kit for any micro you use... Zilog do a board which will emulatre and program the ZX86 series...the program is blown into the chip's OTP (one time programable) memory.

Maybe a family of chips which can be preprogrammed might be better for you? ST do some of them... or the PIC family have cheap readilly available development kits...
Del

__________________
health warning: These posts may contain traces of nut.
Register to Reply
Guru
Canada - Member - Specialized in power electronics

Join Date: Feb 2008
Location: Montreal, Canada.
Posts: 1372
Good Answers: 80
#9
In reply to #4

Re: 8051/2051 help, please

08/03/2008 4:12 PM

Look at the Microchip family. They have all flavors of microcontrollers with internal program memory and cheap development boards. You will be able to download your program in the chip within a day or two if you have any talent for the job.

__________________
Experienced is earned, common sense is taught, both are rare essentials of life.
Register to Reply
Guru
Popular Science - Biology - New Member Hobbies - Musician - New Member APIX Pilot Plant Design Project - Member - New Member Hobbies - CNC - New Member Fans of Old Computers - ZX-81 - New Member

Join Date: Jan 2007
Location: Centurion, South Africa
Posts: 3921
Good Answers: 97
#7

Re: 8051/2051 help, please

08/02/2008 11:49 AM

Hi Amsung2

It has been a while (198x) and by now I am mixing 8051 /8085 /8x86 / PIC / Zilog / Motorola knowledge.

Google for Intel 8051 - for accurate info.

__________________
Never do today what you can put of until tomorrow - Student motto
Register to Reply
Register to Reply 9 comments

"Almost" Good Answers:

Check out these comments that don't yet have enough votes to be "official" good answers and, if you agree with them, vote them!
Copy to Clipboard

Users who posted comments:

amsung2 (2); Anonymous Poster (1); cnpower (1); Hendrik (1); marcot (1); user-deleted-1105 (3)

Previous in Forum: ca160 parts   Next in Forum: Harmonics Regulations of Saudi

Advertisement