On Wed, May 3, 2017 at 8:19 PM, Xuebing Wang <xbi...@gmail.com> wrote: > Hi community, > > I am using Atheros AR9331 + OpenWRT Chaos Calmer 15.05 on a commercial > product. > > I've used I2C on many projects, all with dedicated I2C controllers. I've > never used GPIOs to simulate I2C on Linux. > > I may be wrong, I am tending to think that there is no way to generate good > I2C waveforms by using 2 GPIOs (SCL/SDA), except that we disable all > interrupts and maybe using high precision timer when outputing SCL/SDA? > > Is "using gpio to simulate I2C bus" robust on AR9331?
What speeds are you trying to achieve? There is already a driver in tree for bitbanged gpio. -M _______________________________________________ openwrt-devel mailing list openwrt-devel@lists.openwrt.org https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel