[OpenWrt-Devel] Is "using gpio to simulate I2C bus" robust on AR9331?

Xuebing Wang xbing6 at gmail.com
Wed May 3 21:19:25 EDT 2017


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?

Thanks.
Xuebing Wang
_______________________________________________
openwrt-devel mailing list
openwrt-devel at lists.openwrt.org
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel


More information about the openwrt-devel mailing list