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
    11
    Views
    294

    I've got the same T4 DST bug running Arduino...

    I've got the same T4 DST bug running Arduino 1.8.10, Teensyduino 148 with Mac OS Catalina. With the RTC battery disconnected, the T4 resets the date and time to 0, but when I upload an program using...
  2. Replies
    61
    Views
    4,672

    Sticky: i don't necessarily agree with you. ...

    i don't necessarily agree with you.

    Installing Arduino,1.8.10,and Teensyduino 148 will run under Catalina in a standard user account without problems, but you must first install Arduino and...
  3. Replies
    29
    Views
    972

    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...
  4. Replies
    29
    Views
    972

    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...
  5. Replies
    29
    Views
    972

    Manitou, thanks for the update.

    Manitou, thanks for the update.
  6. I have to agree with tonton on this. Readability...

    I have to agree with tonton on this. Readability of bit operators is explicit and cannot be confused. Functions are black boxes -- you know input and output; that is all. Copious comments can also...
  7. Replies
    29
    Views
    972

    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...
  8. Replies
    11
    Views
    653

    Hi manitou, I've taken a break from PIT to...

    Hi manitou, I've taken a break from PIT to resolve the Teensy3 to Teensy4 rtc_seconds_isr problem. I took your rtchp.ino test code and reduced it to generate an interrupt once per second. I wrote a...
  9. Replies
    29
    Views
    972

    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...
  10. Replies
    29
    Views
    972

    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...
  11. Replies
    29
    Views
    972

    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...
  12. Replies
    29
    Views
    972

    Looking forward to your observations...

    Looking forward to your observations...
  13. Replies
    29
    Views
    972

    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.
  14. Replies
    29
    Views
    972

    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.
  15. Replies
    29
    Views
    972

    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.
  16. Replies
    29
    Views
    972

    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...
  17. Replies
    11
    Views
    653

    Hi bmiller, I ordered mine last Thursday, and I...

    Hi bmiller,
    I ordered mine last Thursday, and I just got an email from Robin saying they were shipped today. I live in Edmonton, and typically stuff from PJRC takes 7+ days to get here. Still have...
  18. Replies
    11
    Views
    653

    Thanks manitou, all I need now are my T4s. ...

    Thanks manitou, all I need now are my T4s. There's only so much I can do without actually testing. Fingers crossed they'll arrive next week some time :-)
  19. Replies
    11
    Views
    653

    Paul, I located attachInterruptVector(), and it...

    Paul, I located attachInterruptVector(), and it answered my question. Actually, in reality, it's made me do a lot more investigation, but what the heck, I don't have the Teensy 4's yet, so I've got...
  20. Replies
    11
    Views
    653

    Thanks Paul. Is the vector number 63, the same...

    Thanks Paul. Is the vector number 63, the same as for Teensy 3.6? I've looked thru the Teensy4 core code, and I can't find a list of interrupt vectors like the Teensy3 in mk20dx128.c?
  21. Replies
    11
    Views
    653

    Thanks defragster, you've confirmed my suspicions.

    Thanks defragster, you've confirmed my suspicions.
  22. Replies
    11
    Views
    653

    Teensy 4 & rtc_second interrupt

    I've ordered a couple of Teensy 4's, but until I receive them I've been playing around with possible problems I might encounter on current 3.6 programs migrating to 4.0. I use the rtc_second...
  23. Replies
    0
    Views
    218

    Teensy 3.5 vs Teensy 3.6 digital pins

    I've been playing around with the MCP23017 io expander and I've come across a conundrum. The data sheet says that the maximum i2c clock speed is 1.7 MHz. Using the i2c_t3 library and the Teensy...
  24. Arduino 1.8.8 has a bug and requires, at minimum,...

    Arduino 1.8.8 has a bug and requires, at minimum, Mac OS X 10.12 (Sierra).
  25. Replies
    6
    Views
    837

    Paul, it was that thread that prompted me to run...

    Paul, it was that thread that prompted me to run the test I did today. I do want to repeat the test using digitalWriteFast;
    I'm curious about the pin speed on my "big gun" as well. At the moment...
  26. Replies
    6
    Views
    837

    That's in the plan, but I didn't have time to...

    That's in the plan, but I didn't have time to hook up my 500 MHz scope. The times posted were measured using the Analog Duscovery 2 which is hooked up for day to day stuff
  27. Replies
    6
    Views
    837

    Teensy 3.6 Overclocked to 256 MHz

    Paul and Frank,
    I thought I'd try out the 256 MHz overclock. It works a treat. Did a simple series of digitalWrites in a loop to track the speed improvement vs the clock speed increase

    Rough...
  28. Replies
    12
    Views
    1,034

    My first experiences with programming were about...

    My first experiences with programming were about learning assembler. C and (cough, cough) COBOL were on my plate a few years later. My interest with the ATmega328P and ATmega1284P cantered around...
  29. Replies
    12
    Views
    1,034

    Ah yes, the CDP1802 COSMAC. I played around with...

    Ah yes, the CDP1802 COSMAC. I played around with it when it was first released, because the idea of being able to drop the clock frequency to 0 intrigued me. Never did anything useful with it,...
  30. Replies
    12
    Views
    1,034

    Citabria, in the few weeks I've been...

    Citabria, in the few weeks I've been experimenting with the Teensy 3 series, I too have found them to be powerful tools. So far, I've been most impressed with the flexibility of the interrrupts and...
  31. Replies
    10
    Views
    846

    brtaylor, Thank you for sending me to that...

    brtaylor,
    Thank you for sending me to that resource. In reading the page you sent me to, as well as glancing at a few other pages, it seems to be a useful site and I've bookmarked it for a more...
  32. Replies
    10
    Views
    846

    Agreed. Actually, you've just unknowingly...

    Agreed. Actually, you've just unknowingly answered a mental question of mine. Logically, if long long is 8 bytes, and long is 4 bytes, then int should be 2 bytes, but it's 4; only short is two.....
  33. Replies
    10
    Views
    846

    Hi Frank, That's what I'm doing now. My mistake...

    Hi Frank,
    That's what I'm doing now. My mistake was relying on the use of the fundamental data types and not using those defined in stdint.h. Stupid decision!!!
  34. Replies
    10
    Views
    846

    El_supremo and Frank, Thanks for getting back...

    El_supremo and Frank,
    Thanks for getting back back to me so quickly. I knew the move to 32 bit was going to cause some conversion problems with my 8 bit libraries, but I was a little surprised at...
  35. Replies
    10
    Views
    846

    Is size of int type correct?

    I've been bashing my head for a bit, and I've discovered something confusing. I have been assuming the int type has a size of 2 bytes and I've discovered that it's 4. is this correct? Here is a...
  36. Replies
    3
    Views
    319

    Thanks el_supremo & Frank B. I was pretty sure...

    Thanks el_supremo & Frank B.
    I was pretty sure it was a charcter string overwrite issue; thanks for confirming my suspicions. Using const char arrays is definitely a better solution than that...
  37. Replies
    3
    Views
    319

    Serial.printf Bug ?

    While playing with the Teensy 3.6, its internal RTC, and TimeLib, I came across something funny. In
    The code below, the first serial.printf prints the month twice, not the weekday and month...
  38. Replies
    12
    Views
    1,034

    I played with the 4004 and 4040 when they were...

    I played with the 4004 and 4040 when they were first released, but It wasn't until the 6800 was released that
    I settled on Motorola. When the RCA6502 was first released I played with it thinking...
  39. Replies
    12
    Views
    1,034

    Hi Frank B My roots go a bit further into the...

    Hi Frank B
    My roots go a bit further into the past. I cut my micro-processor teeth on the Motorola 6800 series. Most of the production stuff was on the Motorola 68705 micro-controller. My career...
  40. Replies
    12
    Views
    1,034

    New Teensy 3.5 & 3.6 User Just Saying Hi

    Hi All.
    After a fruitful few years with the ATmega1284P, I realized it was to time to move on. I have been intrigued with the Teensy platform for some time, and I finally purchased the Teensy 3.5...
Results 1 to 40 of 40