Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature/iir tweaks #178

Merged
merged 11 commits into from
Dec 2, 2020
Merged

Feature/iir tweaks #178

merged 11 commits into from
Dec 2, 2020

Conversation

jordens
Copy link
Member

@jordens jordens commented Nov 25, 2020

Some minor IIR tweaks and a couple more relevant compiler flags.

Untested on hardware.

* origin/master:
  Adding comment about checking for flag pass completion
  Adding comments about execution hanging to transfer complete waits
  Removing default parameter settings
  Updating DAC SPI structures to own HAL SPI structure for safety guarantees
  Moving constants to a new file
  Removing copy to DAC buffers, adding in-place borrow of output buffers
  Marking AXISRAM as NOLOAD
  Refactoring timer channels to macros, adding safety notes
  Adding DMA support for DAC writes
  Adding sampling_timer file
  Adding compile-time management of TIM2 channels
  Reverting changeset
  Adding documentation
  Reverting openocd change
  Adding updated docs for adc file
  Combining ADC + DAC ISRs
  Adding WIP updates
  Formatting
  Adding ADC/DAC modules
  Adding WIP updates to using DMA
@jordens
Copy link
Member Author

jordens commented Nov 25, 2020

@ryan-summers could you review and give it a quick test on hardware (see whether it behaves as it did before passing through your 1 kHz test signal -> ADC -> DAC -> scope)?

@ryan-summers
Copy link
Member

ryan-summers commented Nov 30, 2020

@jordens Programming this branch onto a stabilizer with a 1KHz 1V amplitude sinusoid into ADC0 shows an identical sinusoid on DAC0 output. I don't see any distortion or inconsistencies introduced as a result of these changes.

I also ran the nightly toolchain and feature set and observed correct output on DAC0.

Copy link
Member

@ryan-summers ryan-summers left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Minor documentation request - was very confused about why we were enabling ARMv8 features until I did a deep dive in documentation and LLVM reviews.

.cargo/config Show resolved Hide resolved
* origin/master:
  more nightly clippy lints
  clippy lints
  gha: clippy-check
  build(deps): bump paste from 1.0.2 to 1.0.3
  build(deps): bump panic-semihosting from 0.5.4 to 0.5.6
@ryan-summers
Copy link
Member

bors r+

@bors
Copy link
Contributor

bors bot commented Dec 2, 2020

Build succeeded:

@bors bors bot merged commit 708e31d into master Dec 2, 2020
@bors bors bot deleted the feature/iir-tweaks branch December 2, 2020 12:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants