mirror of
https://github.com/RfidResearchGroup/ChameleonUltra.git
synced 2026-10-15 17:40:47 +00:00
Implements NRZ/Direct modulation at RF/32 for PAC/Stanley tag emulation. The modulator encodes 8-byte ASCII card IDs into 128-bit NRZ frames (0xFF sync + 12 UART frames) and generates PWM waveforms using constant output levels (compare=counter_top for HIGH, compare=0 for LOW). Firmware: modulator in pac.c, load/save/factory callbacks in lf_tag_em, tag_emulation registration, SET/GET_EMU_ID commands (5006/5007). CLI: pac_set/get_emu_id methods, 'lf pac econfig' command, hw slot list display for PAC tags.