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

My P3^7 remains low even I set it

I am using 89C51ED2, my code is executing fine but the P3^7 does not set high on reset and even I kept it high in code. Why is this occuring?

Parents
  • I've defined the port P3^7 as: sbit DEV_SEL P3^7, whereas DEV_SEL is been used to multiplex the communication path for serial comm. using 4052 IC. Rest of my code is working fine with the Hardware but the pin P3^7 is not changing the state, it always remains cleared. I am using Keil Compiler version 7.07a. Whole code is simulating well. The simulator shows the change in state of P3^7 but the Hardware does not.
    I do think that 89C51ED2 would require any value in some specified Register which I don't know. Please Help me ASAP.

Reply
  • I've defined the port P3^7 as: sbit DEV_SEL P3^7, whereas DEV_SEL is been used to multiplex the communication path for serial comm. using 4052 IC. Rest of my code is working fine with the Hardware but the pin P3^7 is not changing the state, it always remains cleared. I am using Keil Compiler version 7.07a. Whole code is simulating well. The simulator shows the change in state of P3^7 but the Hardware does not.
    I do think that 89C51ED2 would require any value in some specified Register which I don't know. Please Help me ASAP.

Children