Commit Graph

6 Commits

Author SHA1 Message Date
EspoTek d3054d9707 Sped up serial decode dramatically
Swapped an append to a replace with an ADT designed to return fast
pointers to char[] blocks.

Worked out that the one-corrupt-sample-per-packet bug was definitely not
fixed.  I must have been looking at a 1kHz wave before.
2016-12-08 08:39:22 +11:00
EspoTek 644359d1a2 Code cleanup
Added comments and a folder structure.  No functional changes.
2016-11-29 09:56:21 +11:00
EspoTek b32392b525 Added more #defines to code
These #defines are located in desktop_settings.h and allow you to edit
how many samples are discarded per packet.  The idea was to use this to
test the MCU-side code and ensure that it doesn't corrupt a packet per
frame, but this seems to have magically disappeared (???).

I remember queueing USB transfers a long time ago, but can't remember
this having any success.  It's more likely to just be a random clock
skew issue that only appears on some boards - and it's only "fixed" on
the one particular test board I have in hand now.  I think.
2016-11-28 10:38:14 +11:00
EspoTek d69bbf8e68 Added a single #define
That's it.  Literally a single #define that determines how many
milliseconds the OS waits before reconnecting.  Fixed an error with
Windows not reading it on new mobo, hopefully fixes it under OS X as
well.
2016-11-10 17:39:40 +11:00
EspoTek 7f40f04ef9 Board update and start of CSV export
Some CSV export features implemented - dump everything (in a stream -
750ksps!!) or just dump what's visible in screen.  Stream doesn't dump
actual voltage readings but raw sample data.

Board software has been updated to fix DMAnot transmitting the correct
data for signal gen CH1 in modes 4 and 5
2016-09-26 14:17:41 +10:00
EspoTek 2ff768b58d Code dump
Adding the code!
2016-09-07 16:36:43 +10:00