Hi, has someone tried implmenting I2C in AT89C51? Did it work? If yes, can you give me some tips in order to get a succesful communication,please?
Thanks for your help
Appatently no , because what max does is convert voltaje lvl specially from serial port of computers ( 13 V) to 5V . The arduino, raspberry pi give 5 V do I think that it is not neccesary to add extra components ( I have read that , maybe Im wrong)
No, it doesn't - it gives 3V.
If you have been applying 5V signals to your Raspberry Pi, you may have damaged it.
If you have been applying RS323 signals to your Raspberry Pi, you may well have damaged it.
I havent apply 5V signals, because i do not trandmit data from tx of the mic to the rx of the rasp. I know that it gives 3V but I think that 3V is enough to produce high lvl in the mic. Dont know if I need exactly 5V
The microcontroller behaves as specified in its datasheet - not according to what you think.
So look in the datasheet to confirm whether what you think is correct or not...
I said "think" because it is what I read or understand for ttl levels. The datasheet said that the ports are ttl , so 3V I think is enough.
Did it?
There will be a section where it specifically defines the threshold voltage levels for logic "High" and "Low". That's the bit you need to read!