| ??? 05/02/03 20:50 Read: times |
#44720 - Serial:initiating Transmission thro' RI |
Hi,
I've read the other posts and the tutorials but have been unable to find anything that answers the following question, so please can you help? My 8051 is controlling a electronic compass polling it to get directional info. I want to be able to sent a byte to the uC over serial, which will then initiate the polling of the compass and then the transmission of that info back to the comm port. I know the polling the compass part of the code works its just the serial comms thats not. What I'm having problems doing is initiating the polling by sending a byte to flag the RI interrupt. What I have done is to - send a byte to the uC - Interrupt moves byte out of SBUF in to a variable M - Main program keeps checking this variable until it equals the 'correct' value, - This find then initiates the polling of the compass and the information retrieved is placed in SBUF again for transmission. Is what I've done actually possible and does anyone know of any good sites on this kind of serial communication in assembler. Thanks in advance |
| Topic | Author | Date |
| Serial:initiating Transmission thro' RI | 01/01/70 00:00 | |
| RE: Serial:initiating Transmission thro' RI | 01/01/70 00:00 | |
| RE: Serial:initiating Transmission thro' RI | 01/01/70 00:00 | |
RE: Serial:initiating Transmission thro' RI | 01/01/70 00:00 |



