1
0
mirror of https://github.com/jonathanhogg/scopething synced 2025-07-14 11:12:09 +01:00
Commit Graph

51 Commits

Author SHA1 Message Date
bbc7596292 Add clock control; change analog calibration significantly; general improvements 2018-06-28 18:14:00 +01:00
7395fce34a Simplifications; bug fixes; also, it turns out that the documentation is wrong about Macro trace modes supporting ClockTicks up to 64ki, it's actually 16ki 2018-06-26 19:30:43 +01:00
e65792c79c Merge branch 'master' of github.com:jonathanhogg/scopething 2018-06-20 17:14:07 +01:00
f5847d750f Support for multiple analog params to handle calibrating different kinds of probe; naming convention changes; other random updates 2018-06-20 17:13:03 +01:00
83589f49f9 Formatting of logging 2018-05-18 22:57:09 +01:00
d5c8ec3b16 Small trigger tweaks and logging changes 2018-05-18 17:41:57 +01:00
90683e24da Default to 3.3V logic levels if only capturing logic signals; neaten use of registers in vm 2017-09-15 13:57:27 +01:00
dc99b64274 Include more info in trace objects; fix calibration to work with new return values of capture() (doh!); fix maximum clock ticks (16bit unsigned value); neaten sample reading code and switch to single-precision floats (easily large enough) 2017-07-31 17:58:10 +01:00
33311848f0 Use array objects for samples and timestamps (as two items in a DotDict per trace); put +2 back into timeout calculation logic 2017-07-29 15:04:38 +01:00
36f85b8e8c Fix TriggerIntro/TriggerOutro units (samples/2) 2017-07-26 18:41:38 +01:00
403bac94a5 Tidy up some bits: naming; best practice on waveform generation command window transaction usage; analog channel enable mask for capture 2017-07-26 18:23:54 +01:00
fc961fb2a0 Move pushback buffer into vm so that it will work with other kinds of stream; move stream closing into same for neatness; support cancelling capturing through asyncio.Task cancellation 2017-07-26 13:45:23 +01:00
b09acd6905 Tidying 2017-07-14 17:52:55 +01:00
44194ab63e New hi/lo model; improved timeout logic; new generator low/high logic; fixed scaling of samples 2017-07-14 17:29:59 +01:00
000862abef Renaming for consistency; tweaks; stuff; other 2017-07-13 19:07:26 +01:00
24f42a4208 Just poking around really 2017-07-11 18:09:14 +01:00
be7e7e97c1 Revised analog params; move VM-specific IO routines into vm.py; remove EEPROM params code (doesn't work); a few lines of documentation here and there 2017-07-11 11:33:49 +01:00
942c7e7dbc Use low latency serial IO on Linux; optimise reading of replies; add pushback buffer to serial stream for the latter 2017-07-07 13:53:36 +01:00
d29be6ba76 Small efficiency improvements in processing results of capture 2017-07-04 15:42:49 +01:00
3075dac302 Infinite timeout when not specified; remove requirement for pandas from test code 2017-07-03 17:08:56 +01:00
3ec9861cd0 generate() now takes an iterable of 0..1 values as wavetable input; use nsamples in capture mode selection so that it will ditch 16-bit sampling if that means the requested number of samples can't be achieved 2017-03-30 16:15:39 +01:00
c5db95ddb1 Fix bug in calculating SampleAddress that was breaking mixed signal capture 2017-03-30 15:00:59 +01:00
0d3e73439b Fix capture timeout; fix buffer offset bug; calibrate in both 8bit and 16bit sample sizes; compute calibration limits 2017-03-28 16:15:54 +01:00
94320a27f8 Fix Python requirement in README 2017-03-27 17:18:57 +01:00
40ac792121 Yet more work on triggering - still doesn't work properly for mixed/logic 2017-03-27 16:18:02 +01:00
bc6f585e2b More work on triggering 2017-03-27 13:31:28 +01:00
ba4fb59313 Start of reworking the trigger logic 2017-03-27 12:23:46 +01:00
11d0f3a2c4 Something that looks like it'll do logic capture 2017-03-26 20:07:19 +01:00
891d7037a8 Actually, simplify the SerialStream again and don't use the delay stuff from the Storm version 2017-03-26 16:13:50 +01:00
c7bc7beded Use Python 3.6 format strings 2017-03-26 14:49:35 +01:00
ec2c83cf73 Fix explicit/optional time channel 2017-03-26 13:59:10 +01:00
198a6099c7 Remove unnecessary import 2017-03-26 13:16:06 +01:00
ba0af88735 Make time trace optional; more concise code in capture 2017-03-26 12:51:28 +01:00
425c145ef5 Use a DotDict for trace data; default trigger to middle of capture range; add pylab example usage 2017-03-25 15:32:27 +00:00
4391007007 Fix breaks from changes in SerialStream initialisation; default to first matching USB device; return sample times from capture() 2017-03-25 15:04:21 +00:00
2bdcd23a14 Use newer streams.py from Storm project 2017-03-25 14:35:42 +00:00
2174382464 Some simplifications 2016-10-24 19:19:52 +00:00
3d12065469 Neater clock mode selection code 2016-10-23 21:22:28 +00:00
f41e11c336 Work in progress 2016-10-23 17:50:56 +00:00
95e07aaa70 Various improvements 2016-10-23 16:54:56 +01:00
7eb23b38f2 Scaling using modelling function 2016-10-23 15:52:30 +01:00
668a63902c Small update to README to actually say something useful 2016-10-22 17:50:05 +01:00
a344d4ead0 Add offset calibration; suspend EEPROM stuff for a moment 2016-10-20 19:08:45 +01:00
9de3678e0c Add license; other changes 2016-10-20 16:17:43 +01:00
fee5e5c455 Small tweaks 2016-10-19 18:44:58 +01:00
79b7b41c0d Scaling (with calibration) and triggering working 2016-10-19 17:33:11 +01:00
c8211dceb0 Large part of capture working 2016-10-17 19:14:19 +01:00
5ab80ddf1d Tidier constants 2016-10-14 12:36:31 +01:00
d4e6244bba Optimised register writing 2016-10-14 12:26:45 +01:00
ed42994868 Checkpoint of work in progress 2016-10-11 16:54:56 +01:00