Commit Graph

882 Commits

Author SHA1 Message Date
Ryan Summers 65a0831e2d Merge branch 'master' into feature/mqtt-convert 2021-02-19 10:30:51 +01:00
bors[bot] 83e770509e
Merge #275
275: use num crate r=jordens a=jordens

* Use `num` crate
* Clean up lowpass gain handling

* [x] test on hardware

Co-authored-by: Robert Jördens <rj@quartiq.de>
2021-02-19 08:51:04 +00: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 c0457787bb lockin-external: use enum 2021-02-18 18:43:45 +01:00
Robert Jördens f050ba8e9f lockin: let the lowpass do all filtering 2021-02-18 14:29:47 +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
Robert Jördens 04250360c1 deps: make miniconf a patch 2021-02-17 18:40:03 +01:00
Robert Jördens 78e69b1707 s/criterion/easybench/ for less weight 2021-02-17 18:35:52 +01:00
Ryan Summers 90ef0836af Fixing style 2021-02-17 17:56:49 +01:00
Ryan Summers 63a2220fa0 Removing support for configuring IIR state 2021-02-17 17:56:18 +01:00
Ryan Summers a55b30e6c4 Working around dependency injection bug 2021-02-17 17:50:17 +01:00
Ryan Summers e8c4829790 Adding docs for the cycle counter 2021-02-17 17:26:54 +01:00
Ryan Summers 3c8cd58d6f Removing lockin-external changes 2021-02-17 17:22: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 1239a29904
Merge pull request #274 from quartiq/rj/trait-on-type-alias
impl trait on type alias instead of newtypes
2021-02-17 16:51:02 +01:00
Ryan Summers b66f80f784 Fixing dependencies 2021-02-17 16:30:39 +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 6b0595b4ad Fixing dsp toml 2021-02-17 14:50:49 +01:00
Ryan Summers cb16e9a85f Updating settings update function 2021-02-17 12:59:24 +01:00
Ryan Summers 13e02710cd Adding simplified clocking semantics 2021-02-17 12:08:03 +01:00
Ryan Summers 9e1f4a864c Merge branch 'master' into feature/mqtt-convert 2021-02-17 11:44:10 +01:00
Robert Jördens b7e4f402aa
Merge pull request #273 from quartiq/dma2-instantiation-fix
Fixing DMA2 instantiation issue
2021-02-16 15:58:54 +01:00
Robert Jördens aeaeac1f17 add comment on dma2 init 2021-02-16 15:58:16 +01:00
Robert Jördens fdb0c40764 fmt 2021-02-16 15:22:58 +01:00
Ryan Summers 3abd47494b Fixing DMA2 instantiation issue 2021-02-16 15:10:00 +01:00
Harry Ho 12ea66a3f7 update cargosha256 2021-02-16 11:45:44 +08:00
Robert Jördens cca8adb608
Merge pull request #270 from quartiq/rj/deps
dependencies: bump
2021-02-15 09:31:29 +01:00
Robert Jördens 43c0ba9ea0 dependencies: bump 2021-02-15 09:18:31 +01:00
Robert Jördens fcf59be684
Merge pull request #269 from quartiq/rj/misc
fix hal branch, cleanup code
2021-02-15 09:00:58 +01:00
Robert Jördens efbf750b20 Merge remote-tracking branch 'origin/master' into rj/misc
* origin/master:
  Upgrade to serde-json-core v0.2.0
2021-02-15 08:55:40 +01:00
Robert Jördens cfc4cb382d dependencies: hal ref is on master now [nfc] 2021-02-15 08:53:55 +01:00
Robert Jördens 5fc45a659b lockin-external: comment style [nfc] 2021-02-15 08:51:19 +01:00
Robert Jördens a926c3554b
Merge pull request #268 from dnadlinger/json-020
Upgrade to serde-json-core v0.2.0
2021-02-15 08:04:44 +01:00
Robert Jördens b581a016ce lockin: redundant new 2021-02-14 17:55:01 +01:00
David Nadlinger 4130292706 Upgrade to serde-json-core v0.2.0
This also fixes the network interface for writing IIR coefficients.
2021-02-13 00:07:15 +00:00
Robert Jördens 16c986ab1b
Merge pull request #267 from quartiq/rj/lowpass2
lowpass2
2021-02-12 12:23:26 +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