Hi All:
During our struggle with the TRF7970A to make it work in ISO14443-A emulation mode we spent a lot of time analysing the SPI captures Josh Wyat sent to us. That job is frustrating and has no fun at all.
In collaboration with Enric Pons (who is also in the middle of the same 'battle') we created one plug-in for the Saleae software and we want to share it so it could also help others.
The file (DLL), if I uploaded it right, can be downloaded from here:
For installing the plug-in simply copy the DLL to the "Analysers" directory in Saleae's installation directory and restart the Logic application (in case it is running).
Usage is similar to that of the standard SPI analyser. Remove the SPI analyser and add the "V.Lorz's SPI Analyser". Configure it with the same settings as the SPI analyser (in fact I used that analyser as base).
You'll note no visual difference, the difference comes when you export the data using the plug-in's export functionality.
This is a partial sample output:
[0000] 0 59 C0 > ReadRegister(); NFCTargetProtocol=[RF Above Wakeup] [RF Above Coll] [1rstCmd is ISO14443A] [Speed=RESERVED]
[0001] 1.04375e-005 6C 14 3E > ContinuousReadRegister(); IRQStatus=[CRC Error] [Byte Framing/EOF Error] Collision position and interrupt mask register=3E [Interrupt enable for collision error] [Interrupt enable for Parity] [Interrupt enable for CRC] [Interrupt enable for FIFO] ;
[0002] 2.85e-005 83 > SendCommand( Software Initialization );
[0003] 3.4875e-005 80 > SendCommand( Idle );
[0004] 4.1375e-005 96 > SendCommand( Block Receiver );
[0005] 4.8125e-005 00 21 > WriteRegister(); Chip Status Control=21; [5V Oper] [Receiv Auto-enable] [AGC Off] [Main RX Input] [Full power] [RF out Active] [Direct mode 2] [Active Mode] ;
[0006] 5.925e-005 01 24 > WriteRegister(); ISO Control=24; [ISO15693 low bit rate, 6.67 kbps, double subcarrier, 1 out of 4] [NFC or Card Emulation Mode] [Direct Mode 0] [RX CRC (CRC is present in the response)] ;
Disclaimer: the plug-in is not fully tested, only thing we can say is it serves for 'our' purpose and simplifies 'our' job, we cannot guarantee anything.
We hope it's useful.
Regards, Victor