-
Notifications
You must be signed in to change notification settings - Fork 12
HydraFW HydraNFC v2 guide dnfc Trigger
bvernoux edited this page Sep 12, 2020
·
1 revision
This guide is updated towards firmware release HydraBus v1 HydraNFC Shield v2 firmware v0.1 Beta (HydraFW (HydraBus v1/HydraNFC Shield v2) v0.1-beta-50-g550cc50-dirty 2020-08-26
)
The trigger
command allows the Hydrabus to be used as an external trigger (For an oscilloscope for instance).
When started, the trigger will continuously read data on the current protocol. If the data set by the filter is matched, it will output a high state on the PB3
pin.
-
show
Show current trigger parameters -
filter
with freeform string. Sets the trigger data -
start
to run the trigger
Set trigger on SPI2, using "Hello world\n" :
dnfc2> trigger filter "Hello world\x0a"
Current trigger data :
48 65 6C 6C 6F 20 77 6F 72 6C 64 0A | Hello world.
dnfc2> trigger show
Current trigger data :
48 65 6C 6C 6F 20 77 6F 72 6C 64 0A | Hello world.
uart1> trigger start