Commit graph

39 commits

Author SHA1 Message Date
jaseg
ecba55f599 fw/web: Add trigger mode 2025-07-11 18:55:30 +02:00
jaseg
504661e8d2 src/main.c: Add more comments 2025-07-09 16:30:54 +02:00
jaseg
4bc5bc9f09 Fix bug leading to invalid cal measurements 2025-07-03 13:25:52 +02:00
jaseg
01a40c54c8 Disable auto-download for now 2025-07-02 10:28:12 +02:00
jaseg
f811a90571 Clean up live plot interface 2025-07-01 12:33:44 +02:00
jaseg
480855224b Add TDP0604 measurements 2025-06-27 17:28:31 +02:00
jaseg
063ce2859e Add specimen serial qr gen and first measurements 2025-06-27 17:04:10 +02:00
jaseg
e52ce70745 Try to re-focus the input field after scanning 2025-06-24 15:52:22 +02:00
jaseg
a893cd59b7 Add comments, fix sampling bug, add tdp0604 serial 2025-06-23 17:29:17 +02:00
jaseg
c75c48e53c Add new measurement recording infrastructure 2025-06-23 16:40:22 +02:00
jaseg
a2cc02a99a Revert "Enable spectrum measurement mode"
This reverts commit f335d96c4f.
2025-04-09 17:32:45 +02:00
jaseg
20446874b6 Update spectral analysis, increase test fw gen frequency 2025-04-03 17:06:55 +02:00
jaseg
f335d96c4f Enable spectrum measurement mode
Revert "Undo temporary spectrum measurement changes"

This reverts commit a2d95a324a.
2025-04-02 19:52:57 +02:00
jaseg
e8e0b976e6 Fix javascript data corruption issue and re-do manipulation measurements 2025-04-02 17:41:12 +02:00
jaseg
e25522b24e Add new manipulation experiments 2025-04-02 16:37:35 +02:00
jaseg
2703e67004 fw: Fix aliasing issue, improve web IF 2025-02-07 18:18:07 +01:00
jaseg
d5ab91648d Update fw/interface to add variance data 2025-02-07 12:56:00 +01:00
jaseg
a2d95a324a Undo temporary spectrum measurement changes 2025-02-07 11:45:06 +01:00
jaseg
0805760010 Add input clamping diodes 2025-01-28 15:37:13 +01:00
jaseg
aa4839aed3 Make oversampling configurable 2024-12-02 16:39:55 +01:00
jaseg
65a626f6c8 Properly tuned double-edge sampling 2024-12-02 14:20:58 +01:00
jaseg
440922f10c re-enable oversampling 2024-11-26 17:20:42 +01:00
jaseg
e2a074c114 It's roughly doing what it's supposed to do now.
We have mystery oscillations.
2024-11-26 16:45:11 +01:00
jaseg
78a0e8ae31 WIP 2024-11-26 16:34:37 +01:00
jaseg
c229fbdde8 make sampling phase and width remotely configurable 2024-11-25 21:31:42 +01:00
jaseg
3fce64ae3e Extend remote control both ways 2024-11-25 20:56:27 +01:00
jaseg
7fb1311a85 Something weird is happening with the hrtim master period
This new value gives much cleaner curves. I suspect that either we have
some issue with ADC sampling not being precise due to clock domain
crossings, or this is just interference and the new period hits a sweet
spot that is coherent with this interference.
2024-11-23 15:21:34 +01:00
jaseg
1f37d9221b Decrease oversampling to increase update rate 2024-11-23 14:29:55 +01:00
jaseg
b32c4d9d61 Move stimulus instead of sampling pulse, eliminates ADC alignment issue
The ADC can only trigger on whole clock pulses, so when we move the
sampling pulse in fractional increments, the relative alignment of the
ADC's sampling phase w.r.t. sampling pulse moves around +/-0.5 clock
periods. Since our opamps ring a bit, that leads to an artifact in the
measurements with a period of 32 samples (one whole clock pulse). Moving
the stimulus pulse instead fixes this issue, as now the alignment
between the sampling pulse and the ADC's sampling is constant.
2024-11-23 14:24:09 +01:00
jaseg
e28c6e37e5 I2C wasn't working, with pin-strapped driver config we now get some *very* spicy edges it seems
This commit also scales the web UI plots' X axis in ns and Y axis in V.
2024-11-22 17:29:05 +01:00
jaseg
b17f86f7a1 Improved channel 1 sampling 2024-11-22 15:51:26 +01:00
jaseg
959ec55440 straighten out HRTIM triggering 2024-11-22 15:24:27 +01:00
jaseg
02ead3d52d Speed up display 2024-11-20 20:24:20 +01:00
jaseg
4311efe728 We get first, very rough sampled measurements 2024-11-20 19:43:07 +01:00
jaseg
3bd163f806 Add clock documentation 2024-11-20 15:34:05 +01:00
jaseg
1589ece3a0 Add live measurement plot 2024-11-19 17:46:23 +01:00
jaseg
0bd266da0c Get the ADCs converting 2024-11-18 19:53:00 +01:00
jaseg
f222741450 redriver bringup WIP 2024-07-22 17:51:02 +02:00
jaseg
d955c05ad0 Add fw skeleton 2024-07-22 13:52:18 +02:00