Hi,
Trying to rig up an RC522 RFID reader to the I2C bus for communications according to this pinout:
http://4.bp.blogspot.com/-CypWJHefOgY/U9AnzSpeEyI/AAAAAAAABao/fZKUC4YPNRk/s1600/RFID-RC522-pinout.png
Using 4.7k pullups on both SCL and SDA lines.
Now, when running the i2c_t3 scanner sketch, (modified to remove the calls to external hardware, so it just always checks for both acks and nacks), it hangs during the call to Wire.endTransmission(), requiring a power cycle to bring it back up again.
In addition, I found removing the RC522 reader from the i2c bus (so that there is nothing connected to the bus except the pullups) also yields the same issue?
Is this normal? That having nothing on the bus would cause Wire.endTransmission() to hang?
Regards,
Cosford.
Trying to rig up an RC522 RFID reader to the I2C bus for communications according to this pinout:
http://4.bp.blogspot.com/-CypWJHefOgY/U9AnzSpeEyI/AAAAAAAABao/fZKUC4YPNRk/s1600/RFID-RC522-pinout.png
Using 4.7k pullups on both SCL and SDA lines.
Now, when running the i2c_t3 scanner sketch, (modified to remove the calls to external hardware, so it just always checks for both acks and nacks), it hangs during the call to Wire.endTransmission(), requiring a power cycle to bring it back up again.
In addition, I found removing the RC522 reader from the i2c bus (so that there is nothing connected to the bus except the pullups) also yields the same issue?
Is this normal? That having nothing on the bus would cause Wire.endTransmission() to hang?
Regards,
Cosford.