- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic to the Top
- Bookmark
- Subscribe
- Printer Friendly Page
i2c Microblaze driver recovery from dropped clock
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content
02-09-2010 02:17 PM
I am using the xps_iic 2.00a i2c core with the SDK Microblaze drivers to communicate with Analog Devices ADM1911, which have no hardware reset. When a clock pulse gets lost, the ADM1911 can be left holding the data line low, which signals that the bus is busy. The only way to clear the ADM1911 is to send 16 clock pulses. How do I make the driver send out these pulses? Do I have to deal directly with the IP core?
Thanks in advance,
Brian
Solved! Go to Solution.
Re: i2c Microblaze driver recovery from dropped clock
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content
02-18-2010 08:14 AM
Solution: Send 0x21, 0x00, and 0x01 successively to the xps_iic CR register with 5 us pauses in between. 0x21 puts the core in repeated start, dropping the clock line. 0x00 and 0x01 put the core in and out of slave mode, restoring the clock.
Brian











