mirror of
https://github.com/RfidResearchGroup/proxmark3.git
synced 2025-08-20 21:33:47 -07:00
chg: 'lf cmdread' -adjustments, @marshmellow42
This commit is contained in:
parent
5f1268765e
commit
18aa477a55
2 changed files with 8 additions and 6 deletions
|
@ -67,15 +67,17 @@ void ModThenAcquireRawAdcSamples125k(uint32_t delay_off, uint32_t period_0, uint
|
||||||
// use lf config settings
|
// use lf config settings
|
||||||
sample_config *sc = getSamplingConfig();
|
sample_config *sc = getSamplingConfig();
|
||||||
|
|
||||||
//clear read buffer
|
// Make sure the tag is reset
|
||||||
|
FpgaDownloadAndGo(FPGA_BITSTREAM_LF);
|
||||||
|
FpgaWriteConfWord(FPGA_MAJOR_MODE_OFF);
|
||||||
|
WaitMS(2500);
|
||||||
|
|
||||||
|
// clear read buffer
|
||||||
BigBuf_Clear_keep_EM();
|
BigBuf_Clear_keep_EM();
|
||||||
|
|
||||||
LFSetupFPGAForADC(sc->divisor, 1);
|
LFSetupFPGAForADC(sc->divisor, 1);
|
||||||
|
|
||||||
// Trigger T55x7 in mode.
|
// little more time for the tag to fully power up
|
||||||
FpgaWriteConfWord(FPGA_MAJOR_MODE_OFF);
|
|
||||||
|
|
||||||
// And a little more time for the tag to fully power up
|
|
||||||
WaitMS(2000);
|
WaitMS(2000);
|
||||||
|
|
||||||
// if delay_off = 0 then just bitbang 1 = antenna on 0 = off for respective periods.
|
// if delay_off = 0 then just bitbang 1 = antenna on 0 = off for respective periods.
|
||||||
|
|
|
@ -250,7 +250,7 @@ uint32_t SnoopLF() {
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* acquisition of T55x7 LF signal. Similart to other LF, but adjusted with @marshmellows thresholds
|
* acquisition of T55x7 LF signal. Similar to other LF, but adjusted with @marshmellows thresholds
|
||||||
* the data is collected in BigBuf.
|
* the data is collected in BigBuf.
|
||||||
**/
|
**/
|
||||||
void doT55x7Acquisition(size_t sample_size) {
|
void doT55x7Acquisition(size_t sample_size) {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue