Giter Site home page Giter Site logo

pru-dds's People

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

pru-dds's Issues

pru-dds should be alsa-midi-controllable.

pru-dds could very well function as the VCO, VCA, and ringmod sections of a musical synthesizer. I know how to do alsa midi, so this shouldn't be a giant problem.

PRU-based PSK modulator

pru-dds should have a PRU program to do binary PSK that has a way for the user to set symbol rate, basically the time to transition through one cycle of the raised cosine filter, or from
0x00002250 to 0x00002750 in the wavetable (or vice versa); and a way to signal a phase reversal should occur NOW. One a phase transition begins, it should be unstoppable and further requests for a phase transition should be ignored until the current one is complete. Should be pretty simple, the hard part is really deciding when we're done with a phase reversal. Perhaps when
curpos - where_i_should_be < skiplen? The second branch of that (the else) doesn't need to contain the exact same cycle count as the first, and can just set whatever flag initiates a reversal to zero.

When this is complete pskstream.c should perhaps be rewritten to use it instead of the dsb modulator.

Anti-aliasing for modulators

am.p and dsb.p should have at least a basic averaging antialiasing filter. There's 24976 instruction cycles at the beginning of the loop to implement a delay, so there should be plenty of time to do it.

CW modulator

pru-dds lacks a CW modulator. This should be simple.

Can pru-dds send a non-repetitive, computed byte stream?

I'm trying to get a double-buffered PRU setup to allow a stepper motor program to write precisely timed byte streams to an output port. I compute all the step/dir pulses, in advance, (github.com/omnister/velo) and would like to stream them using the PRU. It looks like your program almost does just what I want. Do you have a ring-buffer so that the driver program can fill the PRU memory on the fly just ahead of the output pointer? I can see that you do repetitive wavetables - for my application, I need a continuous stream. Sorry to open an issue, I searched diligently but couldn't find any email for you in the docs.

kind regards,

Rick Walker ([email protected])

create a pcm clock soruce

Hi Brad, is it possible to create a pcm clock soruce with your prupdds
PCLK:
512 kilohertz = 5120000
1.024 megahertz = 10240000
2.048 megahertz = 20480000

VD = 3.13 to 5.25 V
PCLK Duty Cycle Tolerance: Min 40%, typical 50%, max 60%
PCLK-to-FSYNC Jitter Tolerance: -120ns, typical 0ns, Max 120ns
Rise Time: PCLK max 25ns
Fall Time: PCLK max 25ns

Thanks,
Nathan C

no signal on pins

Hi, I have managed to run the pru-dds, and it runs without complains. But if I run it with frequency set to 10kHz and connect oscilloscope to any of the outputs, I see no signal at all. I was expecting some high/low jumps. Any idea where I can look to find out what is wrong?
Thanks

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.