Forum Rule: Always post complete source code & details to reproduce any issue!
Page 3 of 7 FirstFirst 1 2 3 4 5 ... LastLast
Results 51 to 75 of 162

Thread: Teensy 4.0 Release

  1. #51
    Senior Member+ defragster's Avatar
    Join Date
    Feb 2015
    Posts
    9,739
    The 1060 was first rev of 1062 - so 1060 is the same device as 1062. 1064 AFAIK is the same with the exception of added inbuilt FLASH, but ref docs should all be 1062 or 1060. Paul should have them on PJRC.com with other RM's soon if not now

  2. #52
    I just ordered my 4.0! I'm very excited. You can't beat this for price and performance. Your move, Arduino.

    I built an 80186 PC emulator with the 3.6, and what was holding back the performance was not the clock speed, but the fact that RAM was limited and I had to implement SPI SRAM access for a full 640 KB. If I limited to available native RAM, it was very fast, but not enough memory was there for the most interesting DOS programs like games.

    With 1 MB in the 4.0 AND a much higher clock speed plus going from an M4 to an M7, this thing is going to absolutely scream! Can't wait to start tinkering with this one.

    Thanks, Paul! You just blew away the rest of the market.
    Last edited by Mike Chambers; 08-08-2019 at 06:26 PM.

  3. #53
    Member ETMoody3's Avatar
    Join Date
    Mar 2014
    Location
    New Ulm, Mn
    Posts
    79
    Quote Originally Posted by bigpilot View Post
    I was wondering: do we really need a Teensy that's 300 times (!) faster than the original? You could run a complete Linux kernel on this, providing it has sufficient RAM and Flash.
    Tsk tsk. Need is such a needy word.

    Need it buy it store it, right along with all the other stuff no one needs.

    Use one, buy two replacements, right? Doesnít everyone?

    Uhm ...Right?

  4. #54
    Senior Member+ MichaelMeissner's Avatar
    Join Date
    Nov 2012
    Location
    Ayer Massachussetts
    Posts
    3,259
    Quote Originally Posted by Mrchadwickusa View Post
    Very Cool Stuff. Is there a specific data sheet for the 1062, or is the 1060 or 1064 the same except for flash size? Any thoughts on making an extended version with more of the peripherals broken out? Ethernet, LCD drive, camera etc?
    I imagine for the immediate future Paul, Robin, and any others at PJRC need to take a breather, and celebrate a job well done. But I dimly recall that Paul did speculate about having a larger T4 with more pins.

  5. #55
    Senior Member+ MichaelMeissner's Avatar
    Join Date
    Nov 2012
    Location
    Ayer Massachussetts
    Posts
    3,259

    Cool

    Quote Originally Posted by defragster View Post
    The 1060 was first rev of 1062 - so 1060 is the same device as 1062. 1064 AFAIK is the same with the exception of added inbuilt FLASH, but ref docs should all be 1062 or 1060. Paul should have them on PJRC.com with other RM's soon if not now
    Unfortunately to get the document from NXP, you have to give them an email address (and answer some questions as to what role you are using the i.MXRT1060 processor). So I suspect Paul can't put the document on PJRC.COM. From the beta thread, the address to get the document is:


  6. #56
    Junior Member
    Join Date
    Aug 2019
    Posts
    4
    Any idea when the website is going to get updated for teensy 4.0, for example the PWM page? https://www.pjrc.com/teensy/td_pulse.html

  7. #57
    Senior Member+ MichaelMeissner's Avatar
    Join Date
    Nov 2012
    Location
    Ayer Massachussetts
    Posts
    3,259
    Quote Originally Posted by bigpilot View Post
    I was wondering: do we really need a Teensy that's 300 times (!) faster than the original? You could run a complete Linux kernel on this, providing it has sufficient RAM and Flash.
    Well it is only 330 times faster if you are measuring against the Arduino Mega (and presumably Uno). If you figure that the Teensy 3.0 is the 'original' Teensy to compare it against, it is only 10 times faster for integer code (roughly, Paul didn't list the Teensy 3.0, but as I recall it runs the same clock rate as the Teensy 3.1/3.2). Now for floating point code, it is much, much faster.

    There are things that need as much floating point speed as they can get (gps processing, advanced audio processing, etc.).

  8. #58
    Junior Member
    Join Date
    Aug 2019
    Posts
    4
    Quote Originally Posted by MichaelMeissner View Post
    Well it is only 330 times faster if you are measuring against the Arduino Mega (and presumably Uno). If you figure that the Teensy 3.0 is the 'original' Teensy to compare it against, it is only 10 times faster for integer code (roughly, Paul didn't list the Teensy 3.0, but as I recall it runs the same clock rate as the Teensy 3.1/3.2). Now for floating point code, it is much, much faster.

    There are things that need as much floating point speed as they can get (gps processing, advanced audio processing, etc.).
    Why do you think the Teensy 3.0 is the original teensy? It is obviously the third generation of Teensy
    But to go further on your point there are many cases where high speed is absolutely needed. For example with object recognition and other AI workloads.
    It would be fun to see how it performs on AI tasks compared to the kendryte k210.

  9. #59
    Senior Member PaulStoffregen's Avatar
    Join Date
    Nov 2012
    Posts
    20,580
    FWIW, Teensy 3.1 & 3.2 are significantly faster than Teensy 3.0 was, even at the same clock speed. The wide path to flash and better cache in the flash controller makes a pretty substantial difference.

    Likewise, Teensy 3.6 usually performs about 80% to 90% faster than Teensy 3.5, even though the clock speed is only 50% faster. The memory system makes a huge difference.

  10. #60
    Senior Member+ MichaelMeissner's Avatar
    Join Date
    Nov 2012
    Location
    Ayer Massachussetts
    Posts
    3,259

    Talking

    Quote Originally Posted by PaulStoffregen View Post
    FWIW, Teensy 3.1 & 3.2 are significantly faster than Teensy 3.0 was, even at the same clock speed. The wide path to flash and better cache in the flash controller makes a pretty substantial difference.

    Likewise, Teensy 3.6 usually performs about 80% to 90% faster than Teensy 3.5, even though the clock speed is only 50% faster. The memory system makes a huge difference.
    Yeah, tell me about it, all sorts of things matter in terms of benchmarking. Yeah, I could have expanded more, but I didn't really have the data other than what was on the teensy 4 page.

    We have had spec benchmarks in the past that can vary by about 10% depending on where the critical loop is aligned (i.e. change some code elsewhere, and it can speed up or slow down the benchmark). Others that until we started being real careful about locking down certain OS options, the exact same binary would have a slew of a couple of percent differences when you did multiple runs.

  11. #61
    Senior Member
    Join Date
    May 2015
    Posts
    381
    It would be nice if some version of Python would pop up for it. I have seen there is a version for 3.2 etc. Iím guessing the new boot loader chip nixes that possibility. Btw extra LED and reset option is A+.

  12. #62
    Senior Member
    Join Date
    May 2015
    Posts
    381
    Do you need to run a beta version of Teensydunio with the 4?

  13. #63
    Junior Member
    Join Date
    Nov 2015
    Posts
    9

    T4 Audio board bodges

    I've read that the existing audio board won't work as is on the T4. I checked the on line schematic for the AB and it didn't show the mentioned 100 ohm resistor on MCLK. Is that a series resistor between the Teensy and the board? Also can someone describe the required wiring between the boards? I'd like to use the T4 in an SDR project.
    Also will the audio lib support the UDA1334A i2s headphone amp (https://www.adafruit.com/product/3678)? Porting Rockbox to T4 is another project idea in my head.

  14. #64
    Senior Member+ KurtE's Avatar
    Join Date
    Jan 2014
    Posts
    5,424
    So far, but my guess is Paul will soon release a non-beta version. There were a few minor things that probably needed to be addressed from the last beta, so hopefully very soon.

  15. #65
    Senior Member+ defragster's Avatar
    Join Date
    Feb 2015
    Posts
    9,739
    It was suggested the release version of TeensyDuino 1.47 might be out Friday … by the weekend … until then :: Latest beta test software: 1.47-beta5

  16. #66
    Senior Member+ defragster's Avatar
    Join Date
    Feb 2015
    Posts
    9,739
    Quote Originally Posted by scharkalvin View Post
    I've read that the existing audio board won't work as is on the T4. I checked the on line schematic for the AB and it didn't show the mentioned 100 ohm resistor on MCLK. Is that a series resistor between the Teensy and the board? Also can someone describe the required wiring between the boards? I'd like to use the T4 in an SDR project.
    Also will the audio lib support the UDA1334A i2s headphone amp (https://www.adafruit.com/product/3678)? Porting Rockbox to T4 is another project idea in my head.
    That is correct - there are moved pins for needed function and that 100 Ohm resistor goes inline with the MCLK signal.
    Last edited by defragster; 08-08-2019 at 11:29 PM.

  17. #67
    Senior Member
    Join Date
    Dec 2013
    Posts
    225
    I can't wait to get my hands on Teensy 4.0, 600MHz 2048K Flash (64K recovery and EEPROM) and 1024K RAM (512K tightly coupled).
    Time has come for well deserved thank you to Paul, Robin and the beta team.

  18. #68
    Quote Originally Posted by MichaelMeissner View Post
    I have a google spreadsheet that I try to keep the pin assignments between the various Teensy 3.x/LC/4.0 processors. I believe I have the updates in place for 4.0:

    Maybe I don't know how to read it, but it does not appear to list/track the FlexTimer Module pins?

    https://www.pjrc.com/teensy/td_libs_PulsePosition.html

    I am trying to figure out what the future of PulsePosition input capture would be on T4 (and maybe on a larger T4.x down the road), mapping to the new Quad Timer QTIMER, and I can't even figure out how many T4 pins are actually QTIMER-capable.

    See my attempt to find references in the existing T4 threads here. I'd appreciate any clarification/references.

    https://forum.pjrc.com/threads/57127...e-capabilities

  19. #69
    Senior Member+ defragster's Avatar
    Join Date
    Feb 2015
    Posts
    9,739
    Quote Originally Posted by MichaelMeissner View Post
    Unfortunately to get the document from NXP, you have to give them an email address (and answer some questions as to what role you are using the i.MXRT1060 processor). So I suspect Paul can't put the document on PJRC.COM. From the beta thread, the address to get the document is:

    Quite right @MMeissner - that doc is still behind password entry and the link there has this name :: i.MX RT1060 Processor Reference Manual

    So a shareable copy may be some time away … ?

  20. #70
    Senior Member+ MichaelMeissner's Avatar
    Join Date
    Nov 2012
    Location
    Ayer Massachussetts
    Posts
    3,259
    Not terribly surprising there seems to be a rush on getting Teensy 4.0's.

    Yesterday, I noticed that Adafruit had them, and I debated ordering immediately, but I waited until the evening to order mine. Yesterday, they didn't mention the amount in stock (they don't list the stock level until the stock level drops below 100). As I'm posting (Thursday August 8th, 7:45pm EST), they are now down to 64 Teensy 4.0's. By 8:00pm, it was down to 57.

    Right now, Sparkfun has 163 T4's. I didn't think to check the stock level yesterday. Sparkfun does limit orders to 5/person.

    When I checked it, PJRC still had stock, but now they list it as low availability.

    Digikey don't yet show it. I've noticed it is usually a few weeks after Adafruit or Sparkfun announces something that it shows up in stock (and both Sparkfun and Adafruit provides different Teensys that Digikey resells). I don't normally use Mouser but from the other Teensys they have, it looks like Digikey where they buy them from Adafruit or Sparkfun, so I imagine there will be some time before they have it.

    I haven't seen it on Amazon or Ebay yet. But like with Digikey and Mouser, I would expect them to get the primary supply from Adafruit and/or Sparkfun.

    I also checked Microcenter, and they haven't seen it yet, but Microcenter has not really been reliable in stocking Teensys.

    I tend to order from Adafruit, since as a NY company, it gets to me quicker, particularly if I order it after 8:00pm on Wednesdays and use the 10% off code in Ask an Engineer, it almost always gets to me on Friday morning (I live in Massachusetts). If I don't use the code, it usually takes another day or two to process the order.

  21. #71
    Senior Member+ defragster's Avatar
    Join Date
    Feb 2015
    Posts
    9,739
    Quote Originally Posted by MichaelMeissner View Post
    ...
    Right now, Sparkfun has 163 T4's. I didn't think to check the stock level yesterday. Sparkfun does limit orders to 5/person.
    ...
    First check yesterday after email they were no show on AdaF and SFun - as noted no count on AdaF - but then SparkFun showed " 250+ " - at first then 242 and :: 213 items in stock and dropping at 2:08 AM - 15 hours ago to 163 now.
    Last edited by defragster; 08-09-2019 at 01:13 AM.

  22. #72
    Member
    Join Date
    Jun 2016
    Location
    rural West Virginia
    Posts
    61
    Yes, that thing. I have built two of them and have them working with a T3.4 and a T3.6. The end use will be in a music synthesizer that's part digital and part analog.

  23. #73
    Hi Guys,

    Is there a way of getting these in Europe?

    Other than buying from America that is.

    Cheers

    Andy

  24. #74
    Senior Member+ defragster's Avatar
    Join Date
    Feb 2015
    Posts
    9,739
    Yes, distrubutors being stocked -- Paul's post here ...https://forum.pjrc.com/threads/57112-Teensy-4-0-Release

  25. #75
    Senior Member+ MichaelMeissner's Avatar
    Join Date
    Nov 2012
    Location
    Ayer Massachussetts
    Posts
    3,259
    Quote Originally Posted by AndyCap View Post
    Hi Guys,

    Is there a way of getting these in Europe?

    Other than buying from America that is.

    Cheers

    Andy
    Earlier in the thread, PaulS mentioned that Teensy 4's were mailed to some non-USA distributors. So I imagine you need to wait for the distributors to get their stock and have it clear customs:


    <edit>
    The list of official distributors is at:


    And it looks like Antratek.de has stock (at least when I wrote this article):

Posting Permissions

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