Not applicable
Jun 05, 2015
11:44 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Jun 05, 2015
11:44 PM
Hi all,
The microcontroller which I am using doesnot support I2C hardware. So,I am trying to implement I2C in the module using Bit Banging(GPIO ports). The microcontroller communicates with EEPROM, which has SDA and SCL pins.The EEPROM chip has a baud rate of max 400Kbps. I am aware of I2C protocols and know how to implement (Start, write, read, stop), but I am unable to determine the baud rate at which the controller needs to communicate with the EEPROM. Since the controller doesnt supports the I2C hardware, how and where can I set the baud rate (No baud generator formula). I am also finding hard to calculate the I2C delay time, once I set the pin from High to Low or Low to High. Could someone please explain in general, what is the proper way to implement I2c baud and delaytime. The EEPROM chip has maximum baud rate upto 400Kbps. The control rums at maximum clock speed of 40MHz .
Your help is highly appreciated
Thanks
The microcontroller which I am using doesnot support I2C hardware. So,I am trying to implement I2C in the module using Bit Banging(GPIO ports). The microcontroller communicates with EEPROM, which has SDA and SCL pins.The EEPROM chip has a baud rate of max 400Kbps. I am aware of I2C protocols and know how to implement (Start, write, read, stop), but I am unable to determine the baud rate at which the controller needs to communicate with the EEPROM. Since the controller doesnt supports the I2C hardware, how and where can I set the baud rate (No baud generator formula). I am also finding hard to calculate the I2C delay time, once I set the pin from High to Low or Low to High. Could someone please explain in general, what is the proper way to implement I2c baud and delaytime. The EEPROM chip has maximum baud rate upto 400Kbps. The control rums at maximum clock speed of 40MHz .
Your help is highly appreciated
Thanks
- Tags:
- IFX
2 Replies
Not applicable
Jun 06, 2015
01:35 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Jun 06, 2015
01:35 AM
Please help me
Not applicable
Jun 06, 2015
10:34 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Jun 06, 2015
10:34 PM
Please reply, dont just view it