From: Adam McLeod <mcleod.a@gm...> - 2006-08-29 13:32:09
from what I can find in the archives, the last time this was addressed
was back in May, and Chris Sears posted some code for setting I2C fast
#define PXA_ICR 0x40301690
#define PXA_FAST_MODE (1 << 15)
i2cPage = mmap(0, MAP_SIZE, PROT_READ | PROT_WRITE, MAP_SHARED,
mfd, PXA_ICR & ~ MAP_MASK);
void *regaddr = i2cPage + (PXA_ICR & MAP_MASK);
unsigned int *icr = (unsigned int *) regaddr;
*icr |= PXA_FAST_MODE;
...But then Matthew Swabey noted that "I ran into the fact
that the i2c subsystem and all its timeouts etc are set for 100kHz and
rather than reengineer that little lot I dropped the idea."
I would really like to use Fast Mode, but I wonder which subsystem
this guy was talking about. The Robostix bootloader? The Gumstix?
Has the state of Gumstix support for I2C fast mode changed since May?