#include "protocols.h"
#include "cmd.h"
#include "BigBuf.h"
+#include "fpgaloader.h"
#define arraylen(x) (sizeof(x)/sizeof((x)[0]))
// false if we are still waiting for some more
//=============================================================================
-#define NOISE_THRESHOLD 30 // don't try to correlate noise
+#define NOISE_THRESHOLD 160 // don't try to correlate noise
typedef struct DecodeTag {
enum {
void SnoopIso15693(void)
{
+ LED_A_ON();
FpgaDownloadAndGo(FPGA_BITSTREAM_HF);
BigBuf_free();
}
Dbprintf("Snoop started. Press button to stop.");
- // Signal field is off, no reader signal, no tag signal
- LEDsoff();
- // And put the FPGA in the appropriate mode
FpgaWriteConfWord(FPGA_MAJOR_MODE_HF_READER_RX_XCORR | FPGA_HF_READER_RX_XCORR_SNOOP | FPGA_HF_READER_RX_XCORR_AMPLITUDE);
SetAdcMuxFor(GPIO_MUXSEL_HIPKD);