Hii
We are working on TRF7970A which is interfaced with the i.MX6 Sabresd running on linux platform (3.10.17 yocto kernel).
We added the trf7970a driver(trf7970a.c) in the drivers/nfc/ dir.
Also we added the digital stack comprising digital_technology.c, digital_core.c ,digital_dep.c digital.h
- Initially we had issues in powering up the device. We resolved by adding a correct power up sequence in the driver.
- Then we faced issue of getting continuous interrupts at boot time. We resolved by adding a pull down in the interrupt line and setting the IRQ line as rising edge triggered.
- But now we are facing another issue. We are using nfctool for polling for any tags by command nfctool -p -d nfc0
- After giving this command the following scenario occurs:The reader tries to send some command. But while sending command it receives the interrupt with the interrupt status register having the value 0x10 meaning protocol error.
- Then the trf7970 sends the command to disable the Receiver and the FIFO gets reset.
- After this again reinitialization of the the chip takes place. And the same process of sending command the receiving interrupts is continued.
- The RSSI value in the RSSI status register (0x0F) is constant at value 0x40 even when the HF-I tags are kept near the reader
Please suggest me any solution as I am not able to find a way out to solve this error