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

Search:

Type: Posts; User: kbob

Search: Search took 0.00 seconds.

  1. Replies
    25
    Views
    1,917

    Replying to myself, I see this morning that Paul...

    Replying to myself, I see this morning that Paul has added the TEENSY4_AUDIO to the product page. I've placed my order. Thanks!
  2. Replies
    25
    Views
    1,917

    updated audio adapter

    Any update on this? The store page still says you're shipping Rev. C.

    Thanks.
  3. Replies
    12
    Views
    3,666

    ... and then I fell into a pit for a month. I...

    ... and then I fell into a pit for a month. I just now climbed out and sent Paul two pull requests. Thanks for reminding me.

    https://github.com/PaulStoffregen/cores/pull/74...
  4. Replies
    1
    Views
    707

    Quick Guide: Using printf() on Teensy ARM

    Here is an example sketch that uses printf() to write the serial port on an ARM-based Teensy. I did not see this documented anywhere.



    int Serial_write(void *cookie, const char *buf, int size)...
  5. Replies
    12
    Views
    3,666

    Thanks. As soon as I get a couple of independent...

    Thanks. As soon as I get a couple of independent "It works for me" confirmations, I'll package it up and stick it on GitHub. EDIT: if it works for you, do you see glitches?

    I found this...
  6. Replies
    12
    Views
    3,666

    I just noticed that the UniWS sketch initializes...

    I just noticed that the UniWS sketch initializes Serial. If you run it with no serial monitor, it hangs in setup().
  7. Replies
    12
    Views
    3,666

    UniWS LED driver

    Here it is.

    4159

    The caveats:


    This is just a first draft. Not production quality.
    There is an annoying glitch in the LEDs every few seconds. I don't know what it is yet.
    The API...
  8. Replies
    12
    Views
    3,666

    Hi, manitou. The Teensyduino runtime has...

    Hi, manitou.

    The Teensyduino runtime has already programmed the timer-counters for PWM output. You're right that the FTM1_MOD register is 0xBFFF; I forgot that detail and got the speed wrong in...
  9. Replies
    12
    Views
    3,666

    DMA Ring Buffers

    Here is the working test program. This one is a little different. An IntervalTimer's ISR continuously fills a ring buffer (src) with characters. The DMA engine, clocked by a timer-counter's...
  10. Replies
    12
    Views
    3,666

    I found a solution. Instead of ping-ponging...

    I found a solution. Instead of ping-ponging between two DMA channels, I am using one DMA channel with a circular source buffer and a PIT timer programmed to interrupt twice per bufferful. I'll post...
  11. Replies
    12
    Views
    3,666

    Teensy LC: Trying to Link DMA Channels

    I am trying to program a Teensy LC to link two DMA channels so that they copy data sequentially, clocked by one of the timer-counters. The eventual goal is to use the DMA to reprogram the...
  12. Replies
    1
    Views
    857

    Pin 17 and DMA on Teensy LC

    On the Teensy LC, what is the best way to drive a string of WS28xx LEDs through pin 17's 5V output with DMA? I want to drive a short string of LEDs, about 10, but I want the CPU to do other things...
Results 1 to 12 of 12