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

Search:

Type: Posts; User: Werkstatt Kreuzberg

Search: Search took 0.00 seconds.

  1. Replies
    4
    Views
    165

    Hi Julien, i can't answer your question. But...

    Hi Julien,

    i can't answer your question. But the module has wifi. May be OTA programming makes sense?
  2. Replies
    240
    Views
    12,795

    Hello blazarious, have you tried to retrigger...

    Hello blazarious,

    have you tried to retrigger your timer in the callback function? I do this with GPT2 on a Teensy 4 without any problems like:



    void callback() {

    if (intervalTime...
  3. And here comes the answer. I have tried different...

    And here comes the answer. I have tried different types of timers with no success. All kinds of calling the AudioPlayQueue from an interrupt are leading to problems.
    So i decided to link the...
  4. To be sure that audio is working correctly with...

    To be sure that audio is working correctly with the transmit interval of 2700 microseconds and 24MHz cpu clock i have added usb outs
    and generated a sine wave in the sample buffer:



    /* Teensy...
  5. Ok i guess i'm a bit closer to the issue. I...

    Ok i guess i'm a bit closer to the issue.

    I changed the cpu speed to the minimum of 24MHz.
    That's the result with an interval of 2700 microseconds:



    *AudioPlayQueue Test*
    ...
  6. Hello DD4WH, thank you for your answer and...

    Hello DD4WH,

    thank you for your answer and your recommendations.
    I already took a look at your example. But in my case there is no need for realtime processing.
    I just want to record audio into...
  7. Thank you Pete!!! In my actual project on a...

    Thank you Pete!!! In my actual project on a Teensy 3.6 i was using AudioOutputUSB and the dummy to use it was AudioOutputAnalog.
    After compiling the code and running on a Teensy 4.1 i had these...
  8. Yes you are right. It takes 2.9mS for a block of...

    Yes you are right. It takes 2.9mS for a block of 128 samples. Thats why i put a delay of 10 mS in the loop.
    There should be more than enough time to release all used blocks.
    But the library...
  9. I'm tried the same code on a Teensy 3.6 and it's...

    I'm tried the same code on a Teensy 3.6 and it's the same behavior.
  10. Hello, this thread is a bit older, but the...

    Hello,

    this thread is a bit older, but the problem is still actual.
    I tried a simple code without any extras on a Teensy 4.1.
    At the defined max of 80 blocks the loop stucks.

    I'm using...
  11. May be thats fine

    Ok i cant test the code with the laser right now. But i have connected some LEDs to a Teensy 3.5 and it seems to be okay.
    I will test it with the connected laser-modul in the next few days.


    ...
  12. Thank you a lot Paul. I am using pin 23, 22...

    Thank you a lot Paul.

    I am using pin 23, 22 and 9 at the moment. Thats FTM0. I will try to check the counter overflow by an interrupt.

    Martin
  13. Nobody has an idea? In pins_teensy.c PWM is...

    Nobody has an idea? In pins_teensy.c PWM is generated with TPM or FTM. But to understand the FTM flowcharts and the application notes is really hard.
    The use of FTM_SYNC_CNTMAX or FTM_SYNC_CNTMIN...
  14. Teensy 3 simultaneous analogWrite() possible?

    Hi all. Is there a way to set new pwm values on 3 or more different pin's at the same time?
    It's easy to do this for their digital states. But I need that for pwm ( modulating a TTL rgb laser).
    ...
Results 1 to 14 of 14