im going to post this here too..... :?
Ok, here's the thing:
Im making this project...which envolves 3 AT89C52... 1 is the Master the other 2 are slaves.... all the embedded stuff is done including 4 DS1620 as temperature sensonrs, 1 keypad and 1 LCD....
My problem started with the interface with the computer... im making the application on Visual Basic 6 (the app that will run on the computer)
My "MAIN" problem starts with the master/slave configuration... seeing as in master/slave you use 9 bits for the serial transter... as in:
when the master tries to indentify a slave.. it sends the adress of that slave with the 9th bit SET... after that... the slave turns off his SM2 bit and that makes him a slave will revice data with the 9th bit CLEARed... the other slaves wont be affected cause they still have their SM2 SET (this makes him a slave)...ok back to the problem..
i set the serial comm configuration on my VB app to be at 9 bits.. but.. since the computer doesnt have an SM2... how do i make it a slave??
it will always listen to all the stuff i send to it, regardless of the nith bit...
how did you guys attacked this problem? can one read bit by bit on VB?
where does the 9th bit go???
i think you guys get what my problem is... and i hope you can help out...
best regards and i await your answer.... :?