Commit Graph

160 Commits

Author SHA1 Message Date
Robert Jördens 50ea2f360c Merge branch 'master' into rj/visibility-cleanup
* master: (34 commits)
  miniconf: update example usage
  apps: spi isrs are spi errors
  pounder/timestamp: docs updatew
  pll: update tests and benches
  pll: merge advance into update (like rpll)
  pll: add advance()
  pounder_timestamper: use input capture prescaler
  Revert "Revert "pounder timestmper: don't use DMA""
  miniconf: add some checks, simplify
  miniconf.py: make retain an option
  refactor flatten_closures
  clippy recursion
  fix a few clippy lints on files that are touched
  Revert "pounder timestmper: don't use DMA"
  pounder timestmper: don't use DMA
  lockin: dma fence
  lockin: port to fast double buffered DMA
  dma: implement overflow checking
  pounder: clippy
  pounder: add comment on channel enum
  ...
2021-06-04 11:59:54 +02:00
Robert Jördens 3c574b3519 pll: update tests and benches 2021-06-03 19:24:25 +02:00
Robert Jördens 10da2d38ae pll: merge advance into update (like rpll) 2021-06-03 19:20:13 +02:00
Robert Jördens 971bc1109d pll: add advance() 2021-06-03 17:33:57 +02:00
Robert Jördens fb4ed888ee dsp/saturating_scale: fix range 2021-05-30 20:12:02 +02:00
Robert Jördens 2ba49258f9 dsp/staurating_scale: fix math 2021-05-29 22:51:13 +02:00
Robert Jördens 21ab988239 atan2: tweak for speed 2021-05-29 22:51:13 +02:00
Robert Jördens 261ed12798 dsp: reduce num dependency 2021-05-17 12:32:20 +02:00
Robert Jördens bcdb5e3c0f dsp/lowpass,lockin: const generics 2021-05-10 17:31:53 +02:00
Robert Jördens 8954c94a20 hardware: add digital input support
* The inputs of the buffer are not pulled up/down. That might make them
  unusable if left floating.
2021-04-14 15:53:52 +02:00
Ryan Summers c553e72df4 Updating miniconf dependencies 2021-03-01 14:46:12 +01:00
Robert Jördens 0d6b297d4e cossin: don't cancel -1 phase offset 2021-03-01 13:29:59 +01:00
Robert Jördens cd289687ea cossin: tighten test 2021-02-27 15:37:15 +01:00
Robert Jördens 1805961d5d macc_i32: move to tools 2021-02-27 15:00:52 +01:00
Robert Jördens 067ef79560 cossin: shave off a few more instructions 2021-02-26 19:47:48 +01:00
Robert Jördens b071fef15c iir_int: apply rounding bias summarily for speed 2021-02-25 17:37:57 +01:00
Robert Jördens 6c6c2e64a7 lockin: make order generic 2021-02-23 16:58:13 +01:00
Robert Jördens ffdf4026fb fmt 2021-02-22 16:40:51 +01:00
Robert Jördens f671e0c942 complex: add saturating_add/sub 2021-02-22 16:36:56 +01:00
Robert Jördens 6f3a30292c iir_int: make miniconf-able 2021-02-20 21:01:26 +01:00
Ryan Summers 65a0831e2d Merge branch 'master' into feature/mqtt-convert 2021-02-19 10:30:51 +01:00
Robert Jördens fcb7bb0025 dsp: fix nightly 2021-02-19 09:50:38 +01:00
Robert Jördens ccec9d7fed complex: rename extension trait, fix MulScaled 2021-02-19 09:29:38 +01:00
Robert Jördens c87cb3eb9c dsp: factor out tools 2021-02-19 09:20:42 +01:00
Robert Jördens a97829baf5 add saturating_scale 2021-02-18 22:14:21 +01:00
Robert Jördens 33b9b41405 lowpass: saturating math since it's free 2021-02-18 18:51:29 +01:00
Robert Jördens 07b7751dbc move lowpass gain outside lowpass/lockin 2021-02-18 14:25:54 +01:00
Robert Jördens 9983fad041 dsp: use num 2021-02-18 14:07:43 +01:00
Ryan Summers e8711d8f4f Merge branch 'master' into feature/mqtt-convert 2021-02-17 16:54:37 +01:00
Ryan Summers 50476f68fd Adding settings support for lockin-external 2021-02-17 16:53:53 +01:00
Robert Jördens b1d45d831c fmt 2021-02-17 16:25:21 +01:00
Robert Jördens 07714fbca4 test: trait in scope 2021-02-17 16:24:45 +01:00
Robert Jördens b69131f5f5 impl trait on type alias instead of newtypes 2021-02-17 16:13:30 +01:00
Ryan Summers cb16e9a85f Updating settings update function 2021-02-17 12:59:24 +01:00
Robert Jördens b581a016ce lockin: redundant new 2021-02-14 17:55:01 +01:00
Robert Jördens 8918952b96 complex: lint 2021-02-12 12:06:00 +01:00
Robert Jördens 71c6e52f4d complex: add some traits 2021-02-12 12:03:53 +01:00
Robert Jördens a6d4099ed3 lowpass: expose natural gain, add bias 2021-02-12 11:06:59 +01:00
Robert Jördens 67f052c0c9 lockin: add rounding bias 2021-02-12 11:05:50 +01:00
Robert Jördens 32b7058b47 lockin: 2nd order lowpass 2021-02-11 23:15:32 +01:00
Robert Jördens b49f0a2eb9 complex: log2, update bins 2021-02-11 18:14:28 +01:00
Robert Jördens 3ae0b710bc lowpass: reimplement better 2021-02-11 14:30:05 +01:00
Robert Jördens a144c099b2 lowpass: fmt 2021-02-10 14:10:28 +01:00
Robert Jördens beeb43bf8b lowpass: robustify 2021-02-10 13:44:10 +01:00
Robert Jördens 8d68504026 lowpass: symmetric code 2021-02-10 13:31:41 +01:00
Robert Jördens 13b47556fd lowpass: clippy 2021-02-10 13:27:56 +01:00
Robert Jördens 30c2c2aac2 lowpass: i32, no multiplies 2021-02-10 11:39:19 +01:00
Robert Jördens 208ba8379a dsp, lockin: use cascaded 1st order lowpasses 2021-02-09 20:37:46 +01:00
Robert Jördens 31781a9d0e iir_int: rounding bias 2021-02-09 12:17:48 +01:00
Robert Jördens 473bdaa9bc iir_int: use f64 for extreme filters 2021-02-04 15:21:05 +01:00