This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Problem in using AT89C52

Hi there,

i have problem in using AT89C52. When i used this ic, my board is not working at retrieving data and sending data to pc. Previously i have done using 8051 in demoboard and it works fine.

For this AT89C52 i have included the library file <AT89x52> but still my board is not working , why? . i have enabled the "use on chip rom" and have connected the EA pin to logic high. but i do observe that there is no oscillation signal at pin 18. Is there any setting that i have to set for this AT89C52??

Please help me on this problem. Your help is much appreciated.

Thanks.
Nore

  • there is no oscillation signal at pin 18
    since you do not specify the package "pin 18" is meaningless, but if is XTAL1 or XTAL2 there is only the following possibilities:
    1)bad connection crystal or 33pf caps
    2) Vcc or Gnd missig to the chip
    3) bum chip

    There is NO way you can kill the oscillator in a working circuit.

    Erik

  • Hi there,

    Pin 18 is XTAL2. For good board (8051) i do observed oscillation signal. but for this AT89C52 i do not observed any signal on pin 18.i have checked the connectivity of this cap 33pF and the crystal , all components are connected to this ic. this crystal is working fine. i downloaded the hex code using chipmax programmer.

    In the Target device option there is a Xtal setting, the default setting is 24MHz, but i have change it to 11.0592MHz following my crystal usage. is this ok?

    is there any more setting that i should use on this keil program?? plse help.

    thanks

  • "In the Target device option there is a Xtal setting, the default setting is 24MHz, but i have change it to 11.0592MHz following my crystal usage. is this ok?"

    This has no effect whatsoever on your code or your processor - it is only used by the uVision simulator.

  • this cap 33pF
    I hope you mean these caps.

    Erik

  • hi there,

    yes it means these cap. actually i have discovered that my databus lines no connectivity . once the databus lines are connected, my board working fine.

    Anyway thank-you very much.