Forum Discussion
Altera_Forum
Honored Contributor
14 years agoYes No question (Using FPGA as a wire)
1-Can I use FPGA, just as a wire, to carry a bidirectional line like I2C SDA from one pin of the FPGA to the other pin of the FPGA. In the FPGA there will not be an i2c master or slave it will just r...
Altera_Forum
Honored Contributor
14 years agoCan you easily tell which i2c requests are reads, and which are writes?
If you know that, you might be able to tell at which i2c clock edge to switch the the data line buffer direction. If the fpga's clock is enough times faster than the i2c clock you might make it work! These low-wire-count protocols get to be a pain - the worst I've met is the 1-wire (+ground) one used on some battery gauge chips (bq20250 etc).