Teensy 4.0 Launched for $20 with a Much Faster NXP i.MX RT1062 Arm Cortex-M7 Processor

We last wrote about Teensy boards in 2016 for the launch of Teensy 3.5 & 3.6 boards powered by NXP Kinetis K64/K66 Arm Cortex-M4 microcontroller, and a longer form factor.

Paul Stoffregen has now upped the ante with Teensy 4.0 featuring a much more powerful NXP i.MX RT1062 Cortex-M7 cross-over processor clocked at 600 MHz, and going back to the original, and more compact, form factor of earlier Teensy boards such as Teensy 3.2.

Teensy 4.0Teensy 4.0 hardware specifications:

  • SoC – NXP i.MX RT1062 Arm Cortex-M7processor at 600 MHz with  1024KB RAM (512KB is tightly coupled),  2048KB Flash (64KB reserved for recovery & EEPROM emulation)
  • USB – 1x micro USB port for power and programming
  • Expansion via through-holes and pads
    • USB – 2x USB ports, both 480 MBit/sec
    • Storage – 1x SDIO (4 bit) native SD
    • Audio – 2x I2S Digital Audio, 1x S/PDIF Digital Audio
    • Serial – 7x Serial, all with 4 byte FIFO; 3x CAN Bus (1x with CAN FD)
    • 31x PWM pins
    • 40x digital pins, all interrupt capable
    • 14x analog pins, 2x ADCs on chip
    • 3x SPI, all with 16 word FIFO; 3x I2C, all with 4 byte FIFO
  • Security – Cryptographic Acceleration; Random Number Generator
  • Misc – RTC for date/time, 32x general-purpose DMA channels, Programmable FlexIO, Pixel Processing Pipeline, Peripheral cross triggering, Power On/Off management
  • Power Supply – 5V via micro USB port
  • Power Consumption – ~100 mA @ 600 MHz
  • Dimensions – 3.6 x 1.8 cm
Teensy 4.0 pinout diagram
Teensy 4.0 pinout diagram – Click to Enlarge

The board is programmable with the Arduino IDE using Teensuino add-on, although currently, you’ll need to use the beta version until v1.47 is released.

The forum post linked also have more details, including several benchmarks, pinout list, and more. Talking about benchmarks, Teensy 4.0 is really much more powerful, as shown by CoreMark results tested with this Arduino sketch.

CoreMark Teensy 4.0You should also see significant performance improvement for some operations that use floating-point, as NXP i.MX RT1062’a Arm Cortex-M7 FPU is more advanced and supports 64-bit hardware-floating point, and not only 32-bit like in the Kinetis MCU found in Teensy 3.6. The results below speak for themselves (double = 64-bit (double precision); float = 32-bit (single precision)):


Price is also a nice surprise. Teensy 3.6 was introduced for $28 via a Kickstarter campaign, but Teensy 4.0 was launched for just $19.95, and quickly ran out of stock. It may take a few weeks before it becomes available again. You’ll find more details and pre-order link on the product page.

Support CNX Software - Donate via PayPal or become a Patron on Patreon

16
Leave a Reply

avatar
4 Comment threads
12 Thread replies
2 Followers
 
Most reacted comment
Hottest comment thread
9 Comment authors
dimtassbludgpJean-Luc Aufranc (CNXSoft)dgp Recent comment authors
  Subscribe  
newest oldest most voted
Notify of
TouParish
Guest
TouParish

Who wrote this article? Clearly not someone of technical experience or writing experience. Check your work. For example, paragraph 2 has an incomplete sentence. “Clocked at .” AT WHAT????

Gabriel
Guest
Gabriel

“1024K RAM” is that Kbits or Kbytes?

Name
Guest
Name

The latter.

dgp
Guest
dgp
dgp
Guest
dgp

Interesting that the power consumption is ~100ma. That’s not much better than the single core A7 I’ve been messing with and it has 64MB of DDR2, ethernet etc going. *edit* And the rock pi s is apparently around ~100ma too.

aadoo
Guest
aadoo

Just curious…what A7 chip are you messing with ? 100ma sounds decent !

dgp
Guest
dgp

>Just curious…what A7 chip are you messing with ? 100ma sounds decent !

MStar MSC313E. Board on my desk is 110ma idling. It maxes out at ~140ma when running dhrystone. This is with a lot of clocks that aren’t needed not-gated so potentially it could be a lot better. With all of the analogue bits for the ethernet turned off I think it was around ~90ma idle.

dimtass
Guest
dimtass

The 64-bit FPU is a nice feature as tensorflow is mostly using 64-bit floats under the hood.

Generally, it’s a great mcu and for the price it’s a killer.