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

Search:

Type: Posts; User: uuryuu

Search: Search took 0.00 seconds.

  1. You are correct,I was calling setupWAVHeader() to...

    You are correct,I was calling setupWAVHeader() to early...thanks
  2. This worked!!!, now opens in windows media w/o...

    This worked!!!, now opens in windows media w/o conversion in audacity! Thank you.

    But I have originally set the ADC resolution with :
    adc->adc0->setResolution(16);
    ...
  3. 26213 Got a .wav to upload,just had to change...

    26213

    Got a .wav to upload,just had to change some code so files are shorter.Around 3.3 seconds long.And apologies, signal does have mains hum(60hz) so signal is "abit" noisy, but my batteries are...
  4. Samplerate: 49152 Hz

    Samplerate: 49152 Hz <-Ive tried 44100 and 48000 and neither open in windows media or R,neither does 49152. I chose the value 49152Hz so my files were 15 seconds long and didnt have any decimals...
  5. Just zip'd it and tried and same error....failed...

    Just zip'd it and tried and same error....failed to upload
  6. I tried adding a .wav file using the forum...

    I tried adding a .wav file using the forum attachment option in "Go Advanced" but fails.....files are 2881kB,need a smaller one? The error didn't say my file was to big so I'm not sure.
  7. Teensy 3.5 saving data as a signed 16bit PCM .wav file, issue.

    Hello,

    So I have been able to save data from both ADC's (ADC0,ADC1) using the DMA for 2 channels and then write data to SD card in a .wav file on a teensy 3.5.
    My issue is that I can only open...
  8. I see what you mean now, apologies. And yes there...

    I see what you mean now, apologies. And yes there is a I2C device a DS3231 RTC hooked up to master(although, I might buy another and hook up to slave). And master has 2 functions: 1) tell slave to...
  9. By part of , do you mean physically connecting...

    By part of , do you mean physically connecting I2C to both teensy 3.5's? If so yes,for now, but I can't seem to get i2c_t3.h to run basic master/slave example properly.Master sends data but slave...
  10. Hrm....I think, just request the time when pulse...

    Hrm....I think, just request the time when pulse occurred after recording, this way both teensys record at nearly same time, and after this ,take my time to ask Master for time when pulse happened.
  11. I like this idea alot, why bother having both...

    I like this idea alot, why bother having both teensy track time and try to sync. Just wait till digitalpin pulses and collect data on slave,only thing that also needs to be sent is time from...
  12. I think I got what you mean. Heres a rough...

    I think I got what you mean. Heres a rough thought process

    (master)
    -pulse(toggle) digital pin fast when time to sync
    -save the current time of pulse


    (slave)
    -setup isr to monitor...
  13. Thank you,this is very helpful. I didn't know...

    Thank you,this is very helpful. I didn't know about i2c.t3.h!
    But I wanna try and get 2 teensy's to begin recording an analog channel respectively on the minute, for a small duration(10 seconds) at...
  14. Is it possible to use 2 teensy 3.5's together for I2C?

    Hello,

    I was wondering if its possible to have 2 teensy 3.5's hooked up together, where one teensy is a master and another teensy is a slave using I2C?Having trouble looking this up....l

    Thanks
  15. Replies
    2
    Views
    217

    Thanks for reply. But yes I have tried using...

    Thanks for reply.

    But yes I have tried using the DMAexamples and they compile.....But I need to dive into what everything is actually doing in the examples,Or I just look up what registers that...
  16. Replies
    2
    Views
    217

    T4.1 DMA lib issues

    Hello,

    I have written code that uses adc0 and adc1 and store these values into 2 dma buffers, and then writes to SD card using Arduino IDE 1.8.15. It works for t3.5, and t3.6, but when I try to...
  17. Replies
    3
    Views
    517

    Thanks for the reply. But just so im clear...

    Thanks for the reply.

    But just so im clear about what your saying: from my example

    -ADC is set to 100kHz using PDB
    -averaging is set to 2 (averages every 2 samples)
    -I need to acquire 200,00...
  18. Replies
    3
    Views
    517

    Issue with PDB and sampling avg ADC?

    Hello,

    Im using the teensy 3.5. I have successfully been able to use the ADC and PDB together, by setting the PDB to 100kHz. Using my Func.Generator, I fed a 1khz sinewave into my ADC input.

    ...
  19. Replies
    0
    Views
    440

    T3.5 Using ADC-PDB-DMA question

    Hello,

    I am trying to get the teensy 3.5 to record 1 ADC channel at 48khz using the PDB and then transferring the data using the DMA every 1 minute with a timestamp to SD card.

    I've been...
  20. Replies
    2
    Views
    824

    Teensy 3.5 ADC_DMA example error

    Hello,

    I recently bought a teensy 3.5 and tried running one of the ADC examples in arduino("adc_dma") and I get the following error:

    undefined reference to `AnalogBufferDMA::init(ADC*, signed...
Results 1 to 20 of 20