??? 03/07/07 13:02 Modified: 03/07/07 13:18 Read: times |
#134459 - WHO told you that you HAVE to use a derivative t Responding to: ???'s previous message |
DataSheet of the 8051 from Atmel the havent shown that their 8051 based MCU's had two Registers which are essential for Automatic Address Recoganization, that are SADDR and SADDEN , so could any one tell me that how to confirm that these MCUs have "Automatic Address Recoganization" feature
1) you do not NEED SADDR and SADDEN to do 9-bit if (SB0_SCON0_RB8) { // node address byte if (I4Cchar == !GCnodeNumber) // who, me ?? { // node address, continue return; } SB0_SCON0_SM2 = 0; // now receive data return; } else { // read data byte2) WHO told you that you HAVE to use a derivative that does not have SADDR and SADDEN, pick another derivative. Do not fall into the trap of "I know it is going to take s lot of my programming time to use this chip, but I need to save $0.50 on the price of the chip". This is relevant when you are planning to make 1,000,000 units, but it is clear you are not. Erik |