Previous in Forum: Converting MS Office Docs to Open Office 3.2   Next in Forum: MCA Project
Close
Close
Close
5 comments
Rate Comments: Nested
Participant

Join Date: Jan 2011
Posts: 3

PIC16F877A vs MCU-8051

01/19/2011 5:19 AM

can anyone help me differentiating,comparing,advantage/disadvantage of

PIC16F877A and MCU-8051(MASM) and Spartan3(?)-FPGA-Xilinx ..... somethin..

i need it so that i could decide what MCU will i use in my project..

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

Good Answers:

These comments received enough positive votes to make them "good answers".
Guru
Popular Science - Weaponology - New Member United Kingdom - Member - New Member

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

Re: PIC16F877A vs MCU-8051

01/19/2011 5:49 AM

I would go for whatever has the best free/cheap development tools. An emulator is essential IMHO.
Del

__________________
health warning: These posts may contain traces of nut.
Register to Reply
Guru
New Zealand - Member - Kiwi Popular Science - Weaponology - New Member Engineering Fields - Power Engineering - New Member Engineering Fields - Electrical Engineering - New Member

Join Date: Sep 2006
Location: Auckland, New Zealand
Posts: 8777
Good Answers: 376
#2

Re: PIC16F877A vs MCU-8051

01/19/2011 1:35 PM

A would also suggest "go with what you know". If you are familiar with a certain MCU then that is generally the best one to go for (as long as it will meet your project requirements). Although different MCUs are similar in design and programming, the subtle differences can be a pain (and time consuming) for small projects.

For simple one-off projects it really doesn't matter too much, and price and speed or IO count advantages of other MCUs mean little to nothing if they are not being used.

PICs are fairly standard and cheap now-days (and simple) if you have little to no prior experience with MCUs.

What's the project.

__________________
jack of all trades
Register to Reply
Participant

Join Date: Jan 2011
Posts: 3
#3

Re: PIC16F877A vs MCU-8051

01/21/2011 6:02 AM

cn u please differentiate the difference between PIC16F877A and MCU-8051

Register to Reply
Guru
New Zealand - Member - Kiwi Popular Science - Weaponology - New Member Engineering Fields - Power Engineering - New Member Engineering Fields - Electrical Engineering - New Member

Join Date: Sep 2006
Location: Auckland, New Zealand
Posts: 8777
Good Answers: 376
#4
In reply to #3

Re: PIC16F877A vs MCU-8051

01/23/2011 12:51 PM

The easiest way is to look at the data sheets of the two side by side. They are obtainable off the manufacturers website or by an internet search (just include the word 'datasheet' in the search).

__________________
jack of all trades
Register to Reply
2
Anonymous Poster
#5
In reply to #3

Re: PIC16F877A vs MCU-8051

01/26/2011 10:32 AM

Oh, where to begin... I have recently (both current to within days of today) been working with flavors of both.

Your application will factor into it, but I've had some rude awakening to the PIC16 family. (I've been working with the PIC16F886) You get a lot of development software for free from Microchip, but it is still a quirky little instruction set. The registers and memory are in banks, the code space is in pages. If you don't keep track of all that, you will have very strange behavior and bugs. The conditional tests are of the "skip next instruction" variety, which is dicey when combined with the need to often do a bank select prior to an instruction, which forces you to rearrange the skip instruction. If you call or jump to an address on a different page, you'll go to that address on your current page... ick. Plus the single interrupt for all interrupts. I've just started working with the C compiler for it which shields onE from those issues, but creates somewhat bulky code. I've seen buzz that you're better off going to the pic18 or pic24 family and program in C. The pic18 (and up) are designed to be more "C" language friendly. That's probably where I'll be going with that project.

The 8051 has much varied support due to its history and many derivatives. The instruction set seems much saner to me. Also the interrupts are vectored. Multiple registers are a big help too. Of course, there are still banking issues, but not as intrusive as with the midrange PICs. I've been spoiled because I've been using the Altium (formerly BSO/Tasking) C compiler, which is a beauty, but $$$. You can find free compilers of just about any language that will generate code for it though. You have been to www.8052.com, I assume.

For a project of any complexity, I'd think twice before using the PIC16.

Rufus

Register to Reply Good Answer (Score 2)
Register to Reply 5 comments

Good Answers:

These comments received enough positive votes to make them "good answers".
Copy to Clipboard

Users who posted comments:

haru (1); jack of all trades (2); user-deleted-1105 (1)

Previous in Forum: Converting MS Office Docs to Open Office 3.2   Next in Forum: MCA Project

Advertisement