??? 12/05/06 22:58 Read: times |
#129036 - comments Responding to: ???'s previous message |
The 1's that the (master)SADDR |SADEN form must match the 1's that the slave's form.
Language? What the transmitting device has in SADDR and SADEN is totally irrelevant. The master, when receiving, need not (but can) have any address recognition. In my example I made SADDR and SADEN the same value for both the master and the slave, however RB8 still dictates weather or not the value is received. RB8 means "generate interrupt (i.e. set RI) only if RB8 is set". SADDR/SADEN means "if RB8 is set it must be an address, is it the one we care about" We all happily did 9 bit 485 long before SADDR/SADEN was 'invented' they are a 'convenience' not a 'necessity'. Get it to work without using them, THEN, and ONLY then, startimplementing them. In your mind separate the RB8 interrupt handling (SM2 on or off) from the SADDR/SADEN mechanism, you seem to mix them up. Erik |