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

Add digital-to-analog protocol decoder #38

Open
azonenberg opened this issue Apr 16, 2019 · 1 comment
Open

Add digital-to-analog protocol decoder #38

azonenberg opened this issue Apr 16, 2019 · 1 comment
Labels
filter Filter graph blocks

Comments

@azonenberg
Copy link
Collaborator

Allow arbitrary digital buses to be displayed as voltages with defined scaling factors

@azonenberg azonenberg added the filter Filter graph blocks label Apr 16, 2019
@potato6502
Copy link

I would start with something simple, like i2c or i2s dac, or classical parallel r2r dac, and see where that leads.
Maybe you should have a separate step for dac that only accepts either a parallel or serial data stream in a specific format, and then have separate steps that do the data transformation needed to shift whatever is coming in (can, i2s, ...) into the format the dac requires. Essentially:

  1. dac block: supports parallel input of 1-n bytes, allows averaging of subsequent values (averaging 8 values on 1-bit input = 8-bit serial dac)
  2. logic manipulation blocks:
  • data extraction from fields given a packet format description
  • ability to split and merge fields
  • bit and byte permutation
  • be able to run a bit permutation over a series of bytes, eg a full field
  • ability to run byte permutation over a field

those two, followed possibly by a fir, should be a good start for having a virtual dac.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
filter Filter graph blocks
Projects
None yet
Development

No branches or pull requests

2 participants