??? 07/21/08 11:26 Read: times |
#156884 - A few answers Responding to: ???'s previous message |
The source of INT0 is the other AT89C52 telling the receiver that data is going to be sent.
I know it's an unusual arrangement but it's just a way to monitor stuff and it I believe it should work this way aswell. regarding data_ready, as I stated earlier, I changed the program a few times to make it work. Using Ceibo to debug I encountered a very strange behaving of the program and came to realise that maybe I overheaded the ISR with too many commands and I fail to receive all the packets. So data_ready isnt actually "data_ready" but a flag that indicated I've received _SOMETHING_ at all, and the main program will check if I received AAH that indicated the end of packet. I hope that I've cleared up things for you a little bit |