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

Search:

Type: Posts; User: quadrupel

Search: Search took 0.00 seconds.

  1. Replies
    29
    Views
    3,004

    Thanks for the update. I took a look at the...

    Thanks for the update. I took a look at the change in startup.c. Interesting that it was PIT channel three causing the problem.

    Update: i was looking at a file showing changes only and it...
  2. Replies
    29
    Views
    3,004

    I stuck it in the resetHandler function....

    I stuck it in the resetHandler function.
    Because, I don't like modifying core files, and until there's a production fix to IntervalTimer, I'm putting the fix into the beginning of setup(). It...
  3. Replies
    29
    Views
    3,004

    Manitou, thanks for the update.

    Manitou, thanks for the update.
  4. Replies
    29
    Views
    3,004

    Installed the patch below into Teensy4 core...

    Installed the patch below into Teensy4 core startup.c file's ResetHandler() function. Ran my IntervalTimer test previously posted on this thread and all 4 channels behave correctly.


    // manitou...
  5. Replies
    29
    Views
    3,004

    Thanks for keeping me informed. It would seem...

    Thanks for keeping me informed. It would seem you've encountered quite the rabbit hole. I've been reading Ch. 52 of the Ref. Manual, trying to get a better understanding of PIT, but I also need a...
  6. Replies
    29
    Views
    3,004

    In the IntervalTimer code, I created a...

    In the IntervalTimer code, I created a constructor that initializes the PIT timer and I cleared TCTRCL0 and TCTRL1 to 0. manitou indicated that only those first two flags were not being cleared. In...
  7. Replies
    29
    Views
    3,004

    manitou, Out of curiosity, I created a class to...

    manitou,
    Out of curiosity, I created a class to play around with PIT. It's a very basic version of IntervalTimer, but I can get all 4 channels running without having to anything funny. The code...
  8. Replies
    29
    Views
    3,004

    Looking forward to your observations...

    Looking forward to your observations...
  9. Replies
    29
    Views
    3,004

    hjd, I've been working with Teensy for almost a...

    hjd, I've been working with Teensy for almost a year now and I'm still learning new stuff every day. I should have moved to the Teensy platform years ago. Have fun.
  10. Replies
    29
    Views
    3,004

    manitou, ran your test sketch. Interesting...

    manitou, ran your test sketch. Interesting observation about TCTRL0, and TCTRL1. Added your 'fix' to IntervalTimer and now my test sketch runs all four timers. Thank you for all your help.
  11. Replies
    29
    Views
    3,004

    hjd, thanks for the update. I'll give your code...

    hjd, thanks for the update. I'll give your code mods a try and let you know my results.
  12. Replies
    29
    Views
    3,004

    Teensy4 IntervalTimer Channels Problem

    Just got my T4s this week and I'm putting th T4 through some basic tests. I wrote a very basic IntervalTime sketch using 4 channels of the IntervalTimer and discovered that it will only handle two...
Results 1 to 12 of 12