??? 07/25/05 14:35 Read: times |
#98011 - Advise taken but still struggling |
Hello All
I was recently directed to 8052 'bible' for reading which I did but my circuit is not putting any smile on my face. Here is the problem, please assist. I have AT89S8252 micro, I have initialsed all pins as high in start, I have connected a button with P1.7 which is connected to GND, as in the program when Button is pressed it just clear P1.6 and thats all. The hardware includes, micro whose pin 1.6 is connected to inverter (74S04N). From inverter the signal goes into buffer (74HC244) for signal amplification. The problem is as I connect inverter output to buffer the signal immediatly dies at the inverter input. As the signal is disconnected from buffer, it wakes up. Whats happening here, I have read the data sheet does not say anything, I have even tried pulling up micro pins which are internally pulled up anyway. But still no good. Here is the code as well HERE: JB P1.7, HERE / just checks input when it goes low/ CLR P1.6 /clears and gives output, which goes into inverter/ CALL DELAY /leave pins clear for certain delay/ SETB P1.6 /resets pin/ JMP HERE / go back and checks agian/ The logic is working perfectly fine, its just the hardware connections that are playing up. I would really appreciate responce from forum. Regards Kaz |
Topic | Author | Date |
Advise taken but still struggling | 01/01/70 00:00 | |
Are you sure? | 01/01/70 00:00 | |
debounce is there | 01/01/70 00:00 | |
output and input | 01/01/70 00:00 | |
CPU ? | 01/01/70 00:00 | |
yes same CPU | 01/01/70 00:00 | |
can you puncture a tire | 01/01/70 00:00 | |
Oh yes![]() | 01/01/70 00:00 |