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

rj/pounder fixes #371

Merged
merged 11 commits into from
May 31, 2021
Merged

rj/pounder fixes #371

merged 11 commits into from
May 31, 2021

Conversation

jordens
Copy link
Member

@jordens jordens commented May 28, 2021

  • pounder: simplify attenuator spi interface
  • deps: use mcp23017 release
  • attenuators: use robust latching sequence
  • rf_power: fix measurement
  • pounder io extender: hack around some bug
  • pounder: fix attenuator indices (latch and shiftreg)
  • pounder: enum for gpio ext pins
  • ad9959: refactor pad()

One big issue was the apparently broken mcp23017 digital_write. I couldn't get it to work.
For now, and since (a) we aren't handling the other pins in any configurable way, and (b) the readback-style modification is slow let's just to whole-port writes of constants.

jordens added 8 commits May 28, 2021 16:41
To ensure that eatch call to latch() generates a rising edge, first
assert low, then high, not the other way round.
Before the discriminant was used despite being a compiler implementaiton
detail. This now fixes the discriminant to match byte index in the attenuator
shift register and latch-enable index of the gpio extender.
This is currently unused but it's better to have enums than
a set of assorted constants.
@jordens jordens requested a review from ryan-summers May 28, 2021 14:48
* master:
  adapt to new heapless/serde-json-core after const-generics
  Bump serde-json-core from 0.3.0 to 0.4.0
  build(deps): bump heapless from 0.6.1 to 0.7.1
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.

Some minor clean-up requests, otherwise LGTM

@jordens
Copy link
Member Author

jordens commented May 31, 2021

bors merge

@bors
Copy link
Contributor

bors bot commented May 31, 2021

Build succeeded:

@bors bors bot merged commit e35421d into master May 31, 2021
@bors bors bot deleted the rj/pounder-fixes branch May 31, 2021 18:55
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