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

Search:

Type: Posts; User: janbbeck

Search: Search took 0.00 seconds.

  1. Thank you all for those very insightful comments!...

    Thank you all for those very insightful comments!
    Setting the LOAD parameter does in deed synchronize the timers for me.
  2. Thank you for taking the time. That is an...

    Thank you for taking the time. That is an interesting thought....
  3. Update 2

    I found that this is not related in any way to the cascading of the timers. If I only use the lower 16 bits and do the upper 48 bits in software, I get the same results. I.e Qtimers 1-3 have...
  4. Update: QTimer4 always loses 24000 counts exactly...

    Update: QTimer4 always loses 24000 counts exactly at a time. This is surely significant, but I am not sure how.
  5. Teensy4 QuadTimer4 losing counts while 1-3 work fine

    I have cascaded the 4 quadTimers into 4 64-bit counters for external clocks. I found that this works fine for timers 1-3 but 4 loses counts.

    Symptoms and what I have tried:
    - I feed all 4 timers...
  6. Replies
    5
    Views
    438

    Thanks! With that I was able to track down the...

    Thanks! With that I was able to track down the problem. Not setting the COMP value was my mistake. The datasheet clearly states that the OFLAG is the clock for the next cascaded unit, so it has to be...
  7. Replies
    5
    Views
    438

    Thanks for the help The clock source was an...

    Thanks for the help

    The clock source was an external 5 Mhz signal, but I have since gone over to doing what you did and just connected a pin(to test a faster clock):


    analogWriteFrequency(8,...
  8. Replies
    5
    Views
    438

    After much more testing, I would like to add that...

    After much more testing, I would like to add that no matter what I try I cannot get the 3rd 16 bit counter to overflow into the 4th one. So instead of a 64-bit counter, the maximum I can get to work...
  9. Replies
    5
    Views
    438

    Teensy4 QuadTimer as 64-bit counter

    I am cascading a QTimer into a 64-bit counter, and it works. But I am having a strange thing happen on startup, that I would like to understand.

    I am posting the full code at the end, but the most...
Results 1 to 9 of 9