-
Notifications
You must be signed in to change notification settings - Fork 103
HydraFW ADC guide
Benjamin Vernoux edited this page Mar 24, 2023
·
10 revisions
This guide is updated towards firmware release HydraFW v0.10 and later
Input: 0 to 3.3V
Resolution: 12bits
Usage: adc <adc1/tempsensor/vrefint/vbat> [period (nb ms)] [samples (nb sample)/continuous]-
adc1is mapped on PA1 pin -
tempsensorTemperature sensor (mapped internally in MCU) -
vrefintInternal reference voltage (mapped internally in MCU) -
vbatVBAT voltage (mapped internally in MCU)
Syntax:
-
adc1,tempsensor,vrefintorvbatto choose one or more ADC device- Return value in Volt
-
periodDelay between samples (msec) (supportk,msuffix or no suffix) -
sampleNumber of samples (supportk,msuffix or no suffix) -
triggerSet trigger bounds-
lowADC trigger lower bound -
highADC trigger higher bound -
delayADC trigger delay (uS) -
startStart trigger
-
-
continuousRead continuously
> adc adc1
ADC1
0.8050
> adc tempsensor
Temp
0.7978
> adc vrefint
VREF
1.2192
> adc vbat
VBAT
1.6512
> adc adc1 tempsensor vrefint vbat
ADC1 Temp VREF VBAT
0.6841 0.7873 1.2192 1.6512
> adc adc1 tempsensor vrefint vbat samples 5
ADC1 Temp VREF VBAT
0.6720 0.7873 1.2192 1.6512
0.7059 0.7873 1.2192 1.6504
0.7075 0.7873 1.2192 1.6512
0.7027 0.7873 1.2192 1.6504
0.6720 0.7889 1.2192 1.6512
- 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