Commit Graph

1369 Commits

Author SHA1 Message Date
Robert Jördens 77cb0bbad0 cossin: refactor and tweak
* shrink the LUT by another bit
* correctly use the octant bit to offset the dphi to LUT entry midpoint
* add more diagnistics to the unittest and rewrite it in relative units
* MSB-align phase and output to match the PLL data, dynamic range and
  remove the need for roudning bias.
* clean up the build.rs table generator a bit
2020-12-10 16:56:13 +01:00
dependabot[bot] afef1b0c26
build(deps): bump paste from 1.0.3 to 1.0.4
Bumps [paste](https://github.com/dtolnay/paste) from 1.0.3 to 1.0.4.
- [Release notes](https://github.com/dtolnay/paste/releases)
- [Commits](https://github.com/dtolnay/paste/compare/1.0.3...1.0.4)

Signed-off-by: dependabot[bot] <support@github.com>
2020-12-10 04:04:37 +00:00
Matt Huszagh a82b0f3e90 trig: fix formatting 2020-12-09 15:53:56 -08:00
Matt Huszagh 4add34cf9a add cossin LUT 2020-12-09 15:40:18 -08:00
Ryan Summers 72d14adfbf Adding support for pounder ETR timestamping 2020-12-09 18:19:33 +01:00
Ryan Summers e9d74ae6da Adding support for pounder DDS timestamping 2020-12-09 15:13:04 +01:00
Ryan Summers f8cab17ffc Adding WIP for pounder timestamps 2020-12-09 13:44:26 +01:00
Ryan Summers 2e0681ebcc Fixing power-of-two calculation 2020-12-08 16:38:07 +01:00
Ryan Summers 645a1cd832 Updating timestamper after testing 2020-12-08 16:14:27 +01:00
Ryan Summers 3886dab961
Update src/digital_input_stamper.rs
Co-authored-by: Robert Jördens <rj@quartiq.de>
2020-12-08 15:15:58 +01:00
Ryan Summers 4da892b8a2
Update src/digital_input_stamper.rs
Co-authored-by: Robert Jördens <rj@quartiq.de>
2020-12-08 15:15:51 +01:00
Ryan Summers 1a1d8fd8b9 Adding precise control of timer periods and prescalers 2020-12-08 14:25:46 +01:00
Ryan Summers a134340726 Adding direct and DMA collection support for DI0 timestamps 2020-12-08 13:53:34 +01:00
Ryan Summers f2e4f497fa Removing DBM from input stamper 2020-12-08 11:29:59 +01:00
Ryan Summers 85100a7d8f Merge branch 'master' into feature/digital-input-stamp 2020-12-08 10:54:56 +01:00
Robert Jördens 85b8f12e5c
Merge pull request #186 from vertigo-designs/feature/qspi-stream
Adding support for Pounder DDS QSPI profile stream
2020-12-07 18:57:48 +01:00
Ryan Summers 4f4d2b704e Merge branch 'feature/qspi-stream' into feature/digital-input-stamp 2020-12-07 18:51:57 +01:00
Ryan Summers c00ac46c2c Merge branch 'master' into feature/qspi-stream 2020-12-07 18:51:32 +01:00
Ryan Summers 35b4287fe1 Merge branch 'feature/qspi-stream' into feature/digital-input-stamp 2020-12-07 18:49:35 +01:00
Ryan Summers 551cc5d742 Adding support for DBM 2020-12-07 18:44:45 +01:00
Ryan Summers 6eaf2cc073 Updating timestamp buffer logic 2020-12-07 18:19:20 +01:00
Ryan Summers b191a3f01d Updating timestamp timer to be more precise 2020-12-07 18:11:46 +01:00
Ryan Summers ec046bc42d Refactoring timer timestamping 2020-12-07 17:58:36 +01:00
Ryan Summers fc81c8b5d8 Updating API 2020-12-07 17:29:36 +01:00
Ryan Summers bdd3322dcb Merge branch 'master' into feature/digital-input-stamp 2020-12-07 16:14:16 +01:00
Ryan Summers 93ab3b7dfd Merge branch 'master' into feature/digital-input-stamp 2020-12-07 16:12:55 +01:00
bors[bot] a62a3bcae8
Merge #194
194: cargo: update, remove old badge, cleanup r=jordens a=jordens



Co-authored-by: Robert Jördens <rj@quartiq.de>
2020-12-07 12:54:37 +00:00
bors[bot] 80e92b6949
Merge #193
193: unwrap: comments, names r=jordens a=jordens



Co-authored-by: Robert Jördens <rj@quartiq.de>
2020-12-07 12:47:31 +00:00
Ryan Summers 14a647867a Updating after review 2020-12-07 10:55:09 +01:00
Robert Jördens bc1ee21fcd cargo: update, remove old badge, cleanup 2020-12-06 21:01:43 +01:00
Robert Jördens 2ae0bdfd8d unwrap: comments, names 2020-12-06 17:07:38 +01:00
bors[bot] e3e786cfdb
Merge #190
190: Feature/phase tools r=jordens a=jordens



Co-authored-by: Robert Jördens <rj@quartiq.de>
2020-12-05 12:23:58 +00:00
Robert Jördens 4cfe6ba416 pll: add note on dithering 2020-12-05 13:18:02 +01:00
Robert Jördens 974fa6e220 unwrap: clean up docs and names 2020-12-05 12:55:22 +01:00
Robert Jördens 526fea8e23 unwrap: more tests 2020-12-05 12:32:27 +01:00
bors[bot] 9b6f9c5744
Merge #189
189: Feature/unwrap r=jordens a=jordens



Co-authored-by: Robert Jördens <rj@quartiq.de>
2020-12-05 10:44:55 +00:00
Robert Jördens 941a94bbf6 dsp/pll: style 2020-12-05 11:44:09 +01:00
Robert Jördens 47806a155d
Merge branch 'master' into feature/unwrap 2020-12-05 09:58:15 +01:00
Robert Jördens 2179560a3c unwrap: add phase unwrapping tools 2020-12-05 09:56:41 +01:00
Robert Jördens a7d0f8d774
Merge pull request #177 from matthuszagh/lockin-2
Lock-in
2020-12-05 08:16:25 +01:00
Robert Jördens 628845d356 pll: rename to just PLL 2020-12-05 08:12:07 +01:00
Robert Jördens 0072cda85f pll: add convergence test 2020-12-04 23:13:22 +01:00
bors[bot] e87376314f
Merge #187
187: Added cascaded IIR with server commands for up to 2 cascaded IIRs per… r=jordens a=nkuh

… channel.

Note: If the number of cascaded IIRs is set to 1 the still existent server commands for the unused 2nd cascade level will be aliases for the 1st level. 

Co-authored-by: Niklas Kuhrmeyer <niklas.kuhrmeyer@ptb.de>
Co-authored-by: Robert Jördens <rj@quartiq.de>
2020-12-04 18:21:54 +00:00
Robert Jördens 4f8bdb971b
main.rs: style 2020-12-04 18:22:53 +01:00
Robert Jördens b23d5fa0dc
main.rs: whitespace 2020-12-04 18:22:38 +01:00
Matt Huszagh 43a760e57a dsp testing: improve api for tolerance checking 2020-12-04 09:16:10 -08:00
Matt Huszagh 1b02f558f6 CI: specify test location using --package dsp 2020-12-04 09:16:10 -08:00
Matt Huszagh 55e7f1f0db dsp: fix small comment grammar error 2020-12-04 09:16:10 -08:00
Matt Huszagh 0cca4589fd lockin: compute reference period from the closest 2 timestamps to the ADC sample 2020-12-04 09:16:10 -08:00
Matt Huszagh 277a5d2d81 dsp: move common test code to testing.rs file 2020-12-04 09:16:09 -08:00