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

MCU Timing not responding!

The 8051 micro-controller(P89V51RD2FN) that I have been using is configured on a 11.0592 Mhz crystal. But the delays do not respond as per programmed. The programs are perfectly written and there is no issue in the code. Is my controller faulty? How to check that? Please provide some troubleshoot tips and tricks. Thank you very much.

Parents
  • you state above:
    // char code reserve [3] _at_ 0x23; // when using on-chip UART for communication
    // char code reserve [3] _at_ 0x3; // when using off-chip UART for communication
    Indicating you are using a monitor (it took a while for you to tell us that)

    and have this

    for (j=0x01; j< 0x80; j<<=1)
        { /* Blink LED 0, 1, 2, 3, 4, 5, 6 */
          P3 = j; /* Output to LED Port */
    

    since the UART uses P3.0 and P3.1 something stinks

    Erik

Reply
  • you state above:
    // char code reserve [3] _at_ 0x23; // when using on-chip UART for communication
    // char code reserve [3] _at_ 0x3; // when using off-chip UART for communication
    Indicating you are using a monitor (it took a while for you to tell us that)

    and have this

    for (j=0x01; j< 0x80; j<<=1)
        { /* Blink LED 0, 1, 2, 3, 4, 5, 6 */
          P3 = j; /* Output to LED Port */
    

    since the UART uses P3.0 and P3.1 something stinks

    Erik

Children
  • All right Thank you very much everybody. And a bigger thanks to some 'WISE' people who found time to criticize people telling them 'idiot' and whatever. It shows your level hahah!! Take care and don't mess anyone else's thread this way. You never know who is there on the other side. So do not display your foolishness on-line at least.