by PennRobotics · 4y ago · 0 comments
It's the nature of scope measurements that you're measuring something mostly predictable and continuous. Virtually all adjacent samples will be within +/-10% (especially as sample rate increases) so only very special cases would need beyond 12 MB/s to reconstruct the original 48 MB/s data while staying no more than one 64 byte packet behind.
https://www.cypress.com/documentation/application-notes/an66...
https://www.cypress.com/documentation/application-notes/an63...
Its a state machine pumping raw data. Problem is with clocking, you can only use one clock source and few dividers. 48MHz is too fast and you will miss samples. I dont know why Hantek firmware is missing the 30 MHz option, maybe it required different main crystal?
I was mistaken, both original and openhantek software https://github.com/OpenHantek/OpenHantek6022 support 30 MHz mode. Seems Hantek put 48 MHz option in the product just to be able to claim it on the box https://sigrok.org/wiki/Hantek_6022BE#Protocol Its fully unusable. Cypress chip maxes out in USB2 mode at around 40-42MB/s in optimal conditions - USB HDD connected to modern Intel chipset alone on the bus.
Clearly a hardware trigger is easier than adding compression. Another option would be sending single-bit "above/below trigger" values. Then it's only 6 MB/s which is fine.