使用程序为linux-3.6.5\drivers\gpio\gpio-pca953x.c(见附件)
硬件平台为博通53347 arm; 总线程序为SMBUS(兼容I2C)
操作步骤:
1、设置16口为输出,并输出低电平
2、设置I/O 0为高电平
3、读取第0口,为低电平
4、再读一次才为高电平。
总的来说,port0 port1需要读2次才是预期的值。
请问这有可能是什么原因?
This thread has been locked.
If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.