On Thursday 04 September 2008, Andrew Victor wrote:
> According to the datasheet, the G20 supports both clock stretching and
> repeated starts.

Same is true for docs about current silicon ... but the clock
stretching doesn't prevent those FIFO problems, and repeated
starts are barely enough to support older versions of SMBus.

Is that a *general* mechanism for repeated starts?

Or is it just the current/limited one where there can be at most
two segments in any combined message, going to the same slave
address ... a write of up to 3 bytes (assuming 7bit addressses)
then a longer read?

Either way:  driver updates needed for that!

(I'd call clock stretching to prevent those FIFO issues just
a bugfix, myself.  It should need no driver updates.)


> The TWI is now also connected to a PDC, so we can set-up a DMA buffer
> for the TWI receives and transmits.

Using DMA also implies driver updates.

Maybe the best answer would be to remove this and have a g20-specific
driver later.

- Dave


_______________________________________________
i2c mailing list
[email protected]
http://lists.lm-sensors.org/mailman/listinfo/i2c

Reply via email to