heronx
Newbie level 4
trf7960
Hello,
I'm working with atmega128 and RFID chip TRF7960. I'm trying to read tag from Mifare card (ISO14443A) but without success. I can read and write registers in TFR7960 but cannot communicate with tag. My RFID operate with 3.3V and pararell communication with atmega
My registers settings are:
ISOControl = 0x88 to 0x8B
RegulatorControl = 0x06 - automatic config
ChipStateControl = 0x20 or 0x22 - operating at 3.3V
then I'm sending REQA
size = 1;
*pbuf = 0x8f;
*(pbuf + 1) = 0x91; // buffer setup for FIFO writing
*(pbuf + 2) = 0x3d;
*(pbuf + 3) = (char) (size >> 4);
*(pbuf + 4) = (char) (size << 4);
*(pbuf + 5) = 0x26;
irqON;
RFID_RAWwrite(pbuf, 6); // send the request using RAW writing
but whitout goog IRQ status
If anybody can give me some clue how to read that tag I appreciate that
thanks in advance!
Hello,
I'm working with atmega128 and RFID chip TRF7960. I'm trying to read tag from Mifare card (ISO14443A) but without success. I can read and write registers in TFR7960 but cannot communicate with tag. My RFID operate with 3.3V and pararell communication with atmega
My registers settings are:
ISOControl = 0x88 to 0x8B
RegulatorControl = 0x06 - automatic config
ChipStateControl = 0x20 or 0x22 - operating at 3.3V
then I'm sending REQA
size = 1;
*pbuf = 0x8f;
*(pbuf + 1) = 0x91; // buffer setup for FIFO writing
*(pbuf + 2) = 0x3d;
*(pbuf + 3) = (char) (size >> 4);
*(pbuf + 4) = (char) (size << 4);
*(pbuf + 5) = 0x26;
irqON;
RFID_RAWwrite(pbuf, 6); // send the request using RAW writing
but whitout goog IRQ status
If anybody can give me some clue how to read that tag I appreciate that
thanks in advance!