This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revision | Next revisionBoth sides next revision | ||
dev:drumgizmo_in_a_box [2017/09/12 20:16] – suhr | dev:drumgizmo_in_a_box [2017/09/12 20:39] – deva | ||
---|---|---|---|
Line 44: | 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' | ||
+ | CS on the SPI can be used as a reset mechanism, ie. CS high will reset the FPGA channel counter. | ||
===Future ideas=== | ===Future ideas=== | ||
* Use the 12 ADCs with a lower resolution for analogue input for triggering of drums. | * Use the 12 ADCs with a lower resolution for analogue input for triggering of drums. |