Forum Rule: Always post complete source code & details to reproduce any issue!

Search:

Type: Posts; User: ubiubu

Search: Search took 0.00 seconds.

  1. Replies
    7
    Views
    2,160

    Here is a follow up. To make this work properly,...

    Here is a follow up. To make this work properly, I guess one would really need to write 32 bytes per request (rather than 4 bytes), ie dma.TCD->NBYTES_MLNO = 8 * NUM_CHANNELS; (= 8 bytes data per...
  2. Replies
    7
    Views
    2,160

    Thanks. It does seem to work ok: Bypassing the...

    Thanks. It does seem to work ok: Bypassing the audio library, the code below writes a square wave to channels A-D. It doesn't seem to like AUDIO_BLOCK_SAMPLES = 128 (in which case it tends to work...
  3. Replies
    7
    Views
    2,160

    Thanks, yeah the "or" stuff wouldn't have worked....

    Thanks, yeah the "or" stuff wouldn't have worked. But I'm not at the point yet where I write junk to SPI0_PUSHR, I'm afraid. I'm pretty sure there's more details to deal with down the line, but at...
  4. Replies
    7
    Views
    2,160

    Yes, it runs, so it'll probably be that. The isr...

    Yes, it runs, so it'll probably be that. The isr doesn't run once, however, hence my question re DMA set-up.



    No, it's no a secret. At this point my problem is really about getting to work DMA...
  5. Replies
    7
    Views
    2,160

    SPI DAC for audio library

    Hi,

    I'd like to use a quad channel SPI DAC with the Audio library, but can't quite figure out how to make this work. The device in question has a 32 bit wide register, so the basic idea, I guess,...
Results 1 to 5 of 5