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
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
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
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
Robert Jördens
3ae0b710bc
lowpass: reimplement better
2021-02-11 14:30:05 +01:00
Robert Jördens
c89f348f5e
Merge pull request #266 from quartiq/rj/lowpass
...
new lowpass
2021-02-10 14:25:46 +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
ae43f60d60
Merge pull request #263 from quartiq/rj/deglitch-misc
...
deglitch timer input, miscellaneous changes
2021-02-09 15:39:24 +01:00
Robert Jördens
03cbd99aee
Merge pull request #265 from quartiq/rs/timer-input-filter-config
...
Adding support for input capture prefilter configuration
2021-02-09 15:03:30 +01:00
Ryan Summers
724768a72e
Adding safety docs
2021-02-09 14:37:49 +01:00
Ryan Summers
2e358dea26
Adding support for input capture prefilter configuration
2021-02-09 14:36:50 +01:00
Robert Jördens
31781a9d0e
iir_int: rounding bias
2021-02-09 12:17:48 +01:00
Robert Jördens
611bd3e855
ad9959/pounder: tweaks
...
* make a trait public
* use self-test
* this hasn't been tested
2021-02-08 15:24:52 +01:00
Robert Jördens
1b46f081c1
better formatting
2021-02-08 11:26:58 +01:00