??? 04/15/05 06:48 Read: times |
#91604 - Bit Bang i2c |
Hello, I have a 8051 with no hardware i2c. When using bit bang i2c, I set p2.7 for SCLK and p2.6 for SDATA. Would I need pull-up resistors for this approach? Also, when reading from SDATA on the i2c bus, would I need to set p2.6 as an input port (p2.6 =1) , before I can read the data?
Thanks in advance |
Topic | Author | Date |
Bit Bang i2c | 01/01/70 00:00 | |
You should | 01/01/70 00:00 | |
Errr | 01/01/70 00:00 | |
a slight problem | 01/01/70 00:00 | |
I was | 01/01/70 00:00 | |
Licence | 01/01/70 00:00 | |
call it SMB | 01/01/70 00:00 | |
maybe different | 01/01/70 00:00 | |
Maybe! | 01/01/70 00:00 | |
Correction! | 01/01/70 00:00 | |
SETB SDA | 01/01/70 00:00 | |
misunderstanding? | 01/01/70 00:00 | |
re: | 01/01/70 00:00 | |
Thanks to Atmel | 01/01/70 00:00 | |
'Stub' resistors missing? | 01/01/70 00:00 | |
Pull ups ? | 01/01/70 00:00 | |
Not those... | 01/01/70 00:00 | |
Rp | 01/01/70 00:00 | |
IIC is owned by philips why not go there | 01/01/70 00:00 | |
You're right! | 01/01/70 00:00 | |
Set port as input - NO SUCH THING! | 01/01/70 00:00 | |
oh yes there is | 01/01/70 00:00 | |
Yes, but not here? | 01/01/70 00:00 | |
nowhere in the documentation | 01/01/70 00:00 | |
one more reason not to rely on testing | 01/01/70 00:00 | |
one more reason not to rely on testing | 01/01/70 00:00 | |
Catch 'em young ... | 01/01/70 00:00 | |
Yes![]() | 01/01/70 00:00 |