I've started working on a solution with the NHS3100 with the UCODE. Unfortunately I often end up having a locked i2c bus shortly after an RFID read of the ucode chip. This manifests itself in the Chip_I2C_EventHandler example function where the status of the transfer is always I2C_STATUS_BUSY. The example tloggerucode software seems to try to drop out of the loop and call the Deinit and Init functions, but this doesn't seem to work.
Is there a way to free the i2c bus when this occurs?
Originally the SDK was the Alpha. I moved to the beta SDK and still had the problem. Unfortunately I went through and made various changes and now it seems to work fine <sigh>. It may have been a clocking problem on my part. I'll be doing a lot of work with this in the next few days. I'll let you know if I get this again or if I figure out a way to reproduce it.
Thanks,
Jack
Hi,
Which SDK are you using? The latest is SDK 11.1 (beta).
This manifests itself in the Chip_I2C_EventHandler example function where the status of the transfer is always I2C_STATUS_BUSY.
You mean the firmware is also hanging? Can you provide a stack trace?
Tx,
Dries
Also it appears that using a RFID reader nearby the debugger will cause it to fail with a Redlink interface error 255. This may be contributing to the bus lock up.