| ??? 01/11/07 15:23 Read: times |
#130657 - look at the I2C document... Responding to: ???'s previous message |
... or any I2C EEPROM document on how the START and STOP is properly sequenced. You create a mess in your I2C_STOP routine:
I2C_STOP: SETB SCL ;you should first make sure SDA is low CLR SDA ;if SDA was high, this is a START - some memories might not like it NOP SETB SDA ;this is a STOP, but... NOP CLR SCL ;this is a mess - after STOP you are not supposed to put SCL low RET You might want to check the proper sequencing also in I2C_START, I did not check (not to spoil your fun... :-) ) JW |
| Topic | Author | Date |
| I2C clock freq. | 01/01/70 00:00 | |
| Incorrect | 01/01/70 00:00 | |
| release SDA bit | 01/01/70 00:00 | |
| My Code | 01/01/70 00:00 | |
| bingo! I guessed it! | 01/01/70 00:00 | |
| No Change... | 01/01/70 00:00 | |
| Please can you comment your code | 01/01/70 00:00 | |
| Define Bad | 01/01/70 00:00 | |
| Why? | 01/01/70 00:00 | |
| 'scope | 01/01/70 00:00 | |
| 'scope | 01/01/70 00:00 | |
| New Image | 01/01/70 00:00 | |
look at the I2C document... | 01/01/70 00:00 |



