Search results

  1. F

    DMA Modes

    In the Audio libary Paul writes to the DMA registers directly instead of using the high-level functions like DMAChannel.source(). So my question remains: what do I have to pass to DMAChannel.source() to make it work with the ADC?
  2. F

    DMA Modes

    SADDR is a 32-bit register, but I want to hand DMAChannel.source() a 16-bit pointer as that's the ADC's resolution. Whenever I tried different casts the Teensy crashed and didn't even enumerate as serial port anymore.
  3. F

    DMA Modes

    You can find a minimal example of my ADC code below (running the ADC at 128 kHz). I would still prefer using Paul's high-level functions for the DMA. File pdb.h /* Audio Library for Teensy 3.X * Copyright (c) 2014, Paul Stoffregen, paul@pjrc.com * Modified 2015, Ferdinand Keil...
  4. F

    DMA Modes

    I'm using Paul's DMA library from Teensyduino 1.21, so it should include the bug-fix you mention. However I didn't want to add methods to DMAChannel.h, so I worked around the problem by writing to the registers directly. I will post my code tomorrow. I still have no idea what type cast is...
  5. F

    DMA Modes

    I'm having the same problem with the pointer to ADC0_RA. I've tried all kinds of casts, but I can't get it to work. It would be wonderful if someone who know's this stuff would have a look at it :)
  6. F

    Using the DAC with DMA on Teensy 3.1

    It took me some time to figure out how to control the DAC output through DMA. I've started with Paul's Audio library (AudioOutputAnalog to be exact) and then tried to replicate that functionality with the high level functions provided by DMAChannel. In the end I got it working and you can find...
  7. F

    connecting nRF8001 to Teensy 3.1

    Hi Rudy, tato123 also published an Arduino compatible library: https://github.com/tato123/Adafruit_nRF8001 I used this library for a project with a Teensy 3.1 and a nRF8001 board (the one from Olimex). Best, Ferdinand
Back
Top