-
Notifications
You must be signed in to change notification settings - Fork 33
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
I2C Support not working #2
Comments
This is on my short list to implement. |
Did you even get the chance to implement this? I tried using i2c yesterday with no luck. |
I haven't had a chance to look at this in a while but I just took a look and I think the issue not waking up the PN532 chip when using I2C With serial, I send a Buffer of It looks like for I2C (based on Seed-Studio's library) we need to wake up the PN532 just by starting a transmission, waiting 20ms, then stopping. I currently don't have a I2C system setup (I could setup a BBB sometime) but if you want to take a look at it, the change should occur here. Currently the serial driver is setup to wakeup on the first command encountered, but it might be worthwhile to have an explicitly |
Thanks for the answer! I am playing with the implementation at the moment, I think I will slowly extend the library to support i2c as well. I hope I will fine the time to finish this :-) |
@RaananW The user manual from Adafruit is the same I have linked in the README and has all the definitive answers to the PN532. Keep me posted on your progress, sounds great :) |
So I've only just got round to working on my project with this (original used UART but my card seems to have stopped working with that so now using I2C with the Raspberry Pi).
It seems that I2C support doesn't work at all, so am going to spend today investigating to see if I can get UART working again. If not I'll sit down and look at implementing the I2C support. (seems there are some missing methods on the wire object for I2C)
The text was updated successfully, but these errors were encountered: