-
Notifications
You must be signed in to change notification settings - Fork 92
Auxiliary pins
This guide is updated towards firmware release HydraFW v0.10 and later
In all supported modes, the following binary commands allow to interact with 4 auxiliary pins that can be used as input or output.
The pins are PC4
, PC5
, PC6
and PC7
Once the PIN mode has been selected, the following commands are available :
-
0b11000000
Read auxiliary pins -
0b1101wxyz
Write auxiliary pins -
0b11100000
Read auxiliary pins mode -
0b11110000
Set auxiliary pins mode
This command returns one byte containing the value of the four auxiliary pins in the last 4 bits.
Format :
MSB 1 2 3 4 5 6 7 8 LSB
|------|------|------|------|------|------|------|------|
- - - - PC7 PC6 PC5 PC4
This command sets the auxiliary pins to the value set in each bit :
- w : PC7
- x : PC6
- y : PC5
- z : PC4
This command returns 0x01
if successful, 0x00
in case of error.
This command returns one byte containing the current auxiliary pin configuration. Format :
MSB 1 2 3 4 5 6 7 8 LSB
|------|------|------|------|------|------|------|------|
Pullup Pullup Pullup Pullup IN/OUT IN/OUT IN/OUT IN/OUT
PC7 PC6 PC5 PC4 PC7 PC6 PC5 PC4
Pullup : 0=disable 1=enable
IN/OUT : 0=output 1=input
This command must be followed by 1 byte, representing the status for each pin. Format :
MSB 1 2 3 4 5 6 7 8 LSB
|------|------|------|------|------|------|------|------|
Pullup Pullup Pullup Pullup IN/OUT IN/OUT IN/OUT IN/OUT
PC7 PC6 PC5 PC4 PC7 PC6 PC5 PC4
Pullup : 0=disable 1=enable
IN/OUT : 0=output 1=input
This command returns 0x01
if successful, 0x00
in case of error.
- CHANGELOG
- Console commands
- Binary mode guide
-
NFC/HydraNFC v1 guide
- Read UID of an ISO/IEC_14443 Tag
- Read UID and data of a MIFARE Ultralight Tag
- Read UID of an ISO/IEC 15693 Tag
- Emul ISO14443a Tag
- Emul MIFARE Ultralight Tag
- Emul Mifare Classic Tag
- Unique NFC sniffer design
- Launch NFC sniffer from console
- Sniffer ISO14443A wireshark pcap
- Autonomous/stand-alone sniffer mode
- Sniffer ISO14443A real-time infinite trace mode
- HydraFW-HydraNFC-v1.x-TRF7970A-Tutorial