Discussion Forum

Help me in prgramming 89c51 IC

Next Thread | Thread List | Previous Thread Start a Thread | Settings

DetailsMessage
Read-Only
Author
Milind Chunkhare
Posted
27-Nov-2009 06:23 GMT
Toolset
C51
New! Help me in prgramming 89c51 IC

I have to program 89c51 IC in assembly

How to write the program

from where to start the addressing

Since am using the IC for first time,can I get programs for ADC-DAC interfacing

Read-Only
Author
Per Westermark
Posted
27-Nov-2009 06:56 GMT
Toolset
C51
New! RE: Help me in prgramming 89c51 IC

Isn't the first thing to do when being new to something to try to read up on available information? Have you looked at the sample applications and application notes from Atmel and the Keil samples?

Read-Only
Author
Andy Neil
Posted
27-Nov-2009 08:40 GMT
Toolset
C51
New! RE: Have you looked at the sample applications...

Unfortunately for the OP - who specifically wants to program in Assembler - very little (if any) of the Keil tutorial material (including examples) deals with programming in Assembler.
It's all 'C'.

Take a look at this thread - which is specifically about books on Assembler: http://www.8052.com/forum/read/169876

Read-Only
Author
Milind c
Posted
29-Jan-2010 11:55 GMT
Toolset
C51
New! Program initialization codes??

Hi,
I did interfacing of 16*2LCD,ADC,DAC to 89c51.
Want to know its initialization coding in C language.
Also want to know verify my circuit diagram interfacing.

Read-Only
Author
Bill Ogilvie
Posted
27-Nov-2009 07:32 GMT
Toolset
C51
New! RE: Help me in prgramming 89c51 IC

One way to start is to look at disassembled code. You can write inline assembly after the C code starts. That way the stack is already initialized.

Read-Only
Author
Andy Neil
Posted
27-Nov-2009 08:36 GMT
Toolset
None
New! RE: look at disassembled code

Hmmm... machine-generated code (of any kind) is not usually a great style-guide for writing your own, human-readable code...

Read-Only
Author
erik malund
Posted
27-Nov-2009 13:55 GMT
Toolset
None
New! also read "the bible"

here are the links to "the bible" Chapter 1 - 80C51 Family Architecture:
http://www.nxp.com/acrobat_download/various/80C51_FAM_ARCH_1.pdf
Chapter 2 - 80C51 Family Programmer's Guide and Instruction Set:
http://www.nxp.com/acrobat_download/various/80C51_FAM_PROG_GUIDE_1.pdf
Chapter 3 - 80C51 Family Hardware Description:
http://www.nxp.com/acrobat_download/various/80C51_FAM_HARDWARE_1.pdf

Read-Only
Author
Milind Chunkhare
Posted
27-Nov-2009 14:32 GMT
Toolset
None
New! RE: also read "the bible"

Thanks erik...:)

Read-Only
Author
Bill Ogilvie
Posted
29-Nov-2009 18:18 GMT
Toolset
None
New! RE: look at disassembled code

Disassembled C code may not be readable to some but it's what works. As to style issues - take that up with the compiler designers.

Read-Only
Author
Milind c
Posted
29-Jan-2010 11:59 GMT
Toolset
C51
New! RE: Help me in prgramming 89c51 IC

Hi,
Is it possible to generate Biphasic square pulse from microcontroller.
If yes then how??..and what will be its coding like...

Read-Only
Author
cheng bei
Posted
29-Nov-2009 05:04 GMT
Toolset
C51
New! RE: Help me in prgramming 89c51 IC

I had used the AT89S52 IC for one year. I use the C language to write the program. I search the examples of program from the Web and the examples are very helpful. If you want to use the function of ADC. Maybe you can select the AVR IC foe example ATmega32 and so on.

Read-Only
Author
Per Westermark
Posted
29-Nov-2009 05:16 GMT
Toolset
C51
New! RE: Help me in prgramming 89c51 IC

There are large numbers of 8051 chips with ADC, so there is no need to jump family.

Read-Only
Author
Milind Chunkhare
Posted
29-Nov-2009 05:50 GMT
Toolset
C51
New! RE: Help me in prgramming 89c51 IC

which IC has ADC.....my college teacher suggested this IC....tell me if you know a better one than this.....

Read-Only
Author
Per Westermark
Posted
29-Nov-2009 06:46 GMT
Toolset
C51
New! RE: Help me in prgramming 89c51 IC

Your teacher probably wants you to learn how to interface an external ADC, for the simple reason that in real life, you will regularly need to interface external hardware.

For 8051 chips with ADC, just do a parametric search for supported microprocessors. The search function is available on this web site if you check under products.

Read-Only
Author
Andy Neil
Posted
29-Nov-2009 07:06 GMT
Toolset
None
New! parametric search

Here: http://www.keil.com/dd/search_parm.asp

Read-Only
Author
Milind c
Posted
29-Jan-2010 11:58 GMT
Toolset
C51
New! RE: parametric search

Hi,

I want to use a step up transformer giving 200volt output but this is not available in market.
So can you suggest me an alternative to step up transformer.I wan to generate stimulating pulse from it...

Read-Only
Author
erik malund
Posted
29-Jan-2010 15:25 GMT
Toolset
C51
New! use a step down reversed

I want to use a step up transformer giving 200volt output but this is not available in market.
So can you suggest me an alternative to step up transformer

Next Thread | Thread List | Previous Thread Start a Thread | Settings