??? 12/06/06 18:49 Modified: 12/06/06 18:52 Read: times |
#129089 - NOOOOOOOOOOOOOOOOOOOO Responding to: ???'s previous message |
When RB8 = 0, the address is sent and IN HARDWARE is checked against the uP's own address. IF the address's match then SM2 = 0, and the next byte will be read into SBUF.
NOOOOOOOOOOOOOOOOOOOO When RB8 = 1 (TB8 set by the transmitter), the address is in SBUF. and IN HARDWARE is checked against the uP's own address if SADDR and SADEN is employed, if not the check is done in software. When employing SADDR and SADEN, RI will only occur on a match. IF the address's match, the software then set SM2 = 0, and the next byte transmitted will go into SBUF. SM2: set RI only on RB8 SM2, SADDR and SADEN set RI only on RB8 and address match. do yourself a favor forget about SADDR and SADEN till you get TB8, RB8 and SM2 down pat. Erik NOTE: Using Tb8/RB8 to signify address is 'standard practice' for now, ignore the possibility of other uses. |