Forum Rule: Always post complete source code & details to reproduce any issue!
Results 1 to 11 of 11

Thread: Teensy 4.1 RTC?

  1. #1
    Junior Member
    Join Date
    May 2018
    Posts
    16

    Teensy 4.1 RTC?

    I don't see a reference to a Real Time Clock on the Teensy 4.1's pinout sheet. Does it have an RTC? If not, then it will not be suitable for any of the projects I thought of using the T4.1 in.

    Jim Sheldon
    Last edited by JimSheldon; 05-12-2020 at 02:42 PM. Reason: spelling

  2. #2
    Senior Member
    Join Date
    Oct 2015
    Location
    Roma (IT, EU)
    Posts
    312
    Most probably VBat is one of the "orthogonal" 5 pins just beside the microSD slot.

    The pinout sheet for the bottom side is not published yet; it's where the 5 pins are usually documented.

  3. #3
    Senior Member+ defragster's Avatar
    Join Date
    Feb 2015
    Posts
    11,490
    The row of 5 pins while SHIFTED from the T_4.0 position - are in the same order with the same Function on the T_4.1.

    TEENSY 4.0 CARD for ref:
    Click image for larger version. 

Name:	teensy40_pinout1.png 
Views:	12 
Size:	218.2 KB 
ID:	20075

  4. #4
    Junior Member
    Join Date
    May 2018
    Posts
    16
    defragster, that did not answer my question. Does the T4.1 have an RTC or does it not? That's all I'm asking, not where the pins are or are not. I know about the T4.0 as I've used a number of them, I need to know about the 4.1 so I can make a decision whether or not to order one or more.

    Jim

  5. #5
    Senior Member+ defragster's Avatar
    Join Date
    Feb 2015
    Posts
    11,490
    Thought "same order with the same Function on the T_4.1." answered that ...

    The same 1062 MCU is in use ( different package size ) - so all T_4.0 features and functions including RTC are present on the T_4.1

    Code:
    Technical Specifications Compared to Teensy 4.0
    Teensy 4.1 & 4.0 use the same IMXRT1062, so most technical specifications are the same.

  6. #6
    Senior Member+ defragster's Avatar
    Join Date
    Feb 2015
    Posts
    11,490
    I added the clarification to assure that @XFer's interposing post didn't create questions on pin order for other readers with the back of the card info missing and not seeing silkscreen.

    Just trying to be clear in the follow up … threads don't typically close and other readers will possibly have the same question and it seemed prior response wasn't clear enough so added more detail.

  7. #7
    Member JaredReabow's Avatar
    Join Date
    May 2020
    Location
    oxford , UK
    Posts
    56
    not having much luck getting the RTC to function on T4.1 with the included timeRTC examples.
    all give the same type of error, reporting an RTC is not found, this is the same of all 3 boards I have.

  8. #8
    Senior Member PaulStoffregen's Avatar
    Join Date
    Nov 2012
    Posts
    21,814
    Maybe you're using the wrong library? Could you be more specific about what example you're running? The Arduino ecosystem is filled with lots of libraries for specific hardware which do not work when run on other hardware. My guess is you're running some library that is designed for specific RTC hardware.

    Or in Arduino, click File > Examples > Time > TimeTeensy3 for an example which is known to work with Teensy 4.1.

  9. #9
    Member JaredReabow's Avatar
    Join Date
    May 2020
    Location
    oxford , UK
    Posts
    56
    okay timeTeensy3 does work, i presumed that the teensyTime3 example was named with 3 to make it clear it was not for the T4.
    Thanks.

  10. #10
    Senior Member+ MichaelMeissner's Avatar
    Join Date
    Nov 2012
    Location
    Ayer Massachussetts
    Posts
    3,674
    Quote Originally Posted by JaredReabow View Post
    okay timeTeensy3 does work, i presumed that the teensyTime3 example was named with 3 to make it clear it was not for the T4.
    Thanks.
    The library was created for the original Teensy 3.0. The Teensy 3.0 was originally released in October 2012. So yes, with the introduction of the Teensy 4, things have gotten messy. Some of the t3 libraries (like the RTC) also work on the t4's, some do not (like t3_i2c), and some are works in progress and/or have significant differences under the hood (i.e. many of the display libraries due to the DMA differences).

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •