This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
dev:drumgizmo_in_a_box [2017/09/12 20:16] – suhr | dev:drumgizmo_in_a_box [2017/10/03 21:34] (current) – deva | ||
---|---|---|---|
Line 1: | Line 1: | ||
====== Drumgizmo in a box ====== | ====== Drumgizmo in a box ====== | ||
+ | * [[dev: | ||
* [[http:// | * [[http:// | ||
Line 43: | Line 44: | ||
Bring logic analyzer and rpi3 and probes | Bring logic analyzer and rpi3 and probes | ||
+ | |||
+ | ===Synchronisation between SPI/ALSA and FPGA=== | ||
+ | Each sample uses 1 bit as sync bit. | ||
+ | Channel 0 has the bit set to 1, the rest has it set to 0. | ||
+ | If the FPGA detects a drift, (pattern doesn' | ||
+ | While seeking for a new lock pattern, the output should be muted. When the lock pattern has been found again a number of samples should be processed before the output is unmuted again in order to make sure that we didn't simply find an audio pattern that matched the lock pattern (highly unlikely!) | ||
+ | |||
+ | CS on the SPI can be used as a reset mechanism, ie. CS high will reset the FPGA channel counter. | ||
+ | CS could be set high for each 1024 samples or similar, key-frame style. | ||
===Future ideas=== | ===Future ideas=== |