Teensy 4.0 is the latest Teensy, offering the fastest microcontroller and powerful peripherals in the Teensy 1.4 by 0.7 inch form factor.
Teensy 4.0 can be programmed using the Arduino IDE with Teensyduino add-on.
Teensy 4.0 features an ARM Cortex-M7 processor at 600 MHz, with a NXP iMXRT1062 chip, the fastest microcontroller available today.
- ARM Cortex-M7 at 600 MHz
- 1024K RAM (512K is tightly coupled)
- 2048K Flash (64K reserved for recovery & EEPROM emulation)
- 2 USB ports, both 480 MBit/sec
- 3 CAN Bus (1 with CAN FD)
- 2 I2S Digital Audio
- 1 S/PDIF Digital Audio
- 1 SDIO (4 bit) native SD
- 3 SPI, all with 16 word FIFO
- 3 I2C, all with 4 byte FIFO
- 7 Serial, all with 4 byte FIFO
- 32 general purpose DMA channels
- 31 PWM pins
- 40 digital pins, all interrrupt capable
- 14 analog pins, 2 ADCs on chip
- Cryptographic Acceleration
- Random Number Generator
- RTC for date/time
- Programmable FlexIO
- Pixel Processing Pipeline
- Peripheral cross triggering
- Power On/Off management
Power Consumption & Management
When running at 600 MHz, Teensy 4.0 consumes approximately 100 mA current.
Teensy 4.0 provides support for dynamic clock scaling. Unlike traditional microcontrollers, where changing the clock speed causes wrong baud rates and other issues, Teensy 4.0 hardware and Teensyduino's software support for Arduino timing functions are designed to allow dynamically speed changes. Serial baud rates, audio streaming sample rates, and Arduino functions like delay() and millis(), and Teensyduino's extensions like IntervalTimer and elapsedMillis, continue to work properly while the CPU changes speed.
Teensy 4.0 also provides a power shut off feature. By connecting a pushbutton to the On/Off pin, the 3.3V power supply can be completely disabled by holding the button for 5 seconds, and turned back on by a brief button press. If a coin cell is connected to VBAT, Teensy 4.0's RTC also continues to keep track of date & time while the power is off.
Teensy 4.0 also can also be overclocked, well beyond 600 MHz!
Cortex-M7 Processor Details
ARM Cortex-M7 brings many powerful CPU features to a true real-time microcontroller platform.
Cortex-M7 is a dual-issue superscaler processor, meaning M7 can execute 2 instructions per clock cycle, at 600 MHz! Of course, executing 2 simultaneously depends upon the compiler ordering instructions and registers. Initial benchmarks have shown C++ code compiled by Arduino tends to achieve 2 instructions about 40% to 50% of the time while performing numerically intensive work using integers and pointers.
Cortex-M7 is the first ARM microcontroller to use branch prediction. On M4, loops and other code which much branch take 3 clock cycles. With M7, after a loop has executed a few times, the branch prediction removes that overhead, allowing the branch instruction to run in only a single clock cycle.
Tightly Coupled Memory is a special feature which allows Cortex-M7 fast single cycle access to memory using a pair of 64 bit wide buses. The ITCM bus provides a 64 bit path to fetch instructions. The DTCM bus is actually a pair of 32 bit paths, allowing M7 to perform up to 2 separate memory accesses in the same cycle. These extremely high speed buses are separate from M7's main AXI bus, which accesses other memory and peripherals. 512K of memory can be accessed as tightly coupled memory. Teensyduino automatically allocates your Arduino sketch code into ITCM and all non-malloc memory use to the fast DTCM, unless you add extra keywords to override the optimized default.
Memory not accessed on the tightly coupled buses is optimized for DMA access by peripherals. Because the bulk of M7's memory access is done on the 2 tightly coupled buses, powerful DMA-based peripherals have excellent access to the non-TCM memory for highly efficient I/O.
Teensy 4.0's Cortex-M7 processor includes a floating point unit (FPU) which supports both 64 bit "double" and 32 bit "float". With M4's FPU on Teensy 3.5 & 36, and also Atmel SAMD51 chips, only 32 bit float is hardware accelerated. Any use of double, double functions like log(), sin(), cos() means slow software implemented math. Teensy 4.0 executes all of these with FPU hardware.
|Part. No. :||TEENSY40|
712767 Teensy Audio BoardThis audio board provides you with an easy-to-use tool to add high quality 16 bit, 44.1 kHz sample rate audio to your Teensy falseExcl. Tax:€14.92Incl. Tax:€18.20
807740 OctoWS2811 Adapter for Teensy 3.1 - Control tons of NeoPixels!This adapter board connects the Teensy 3.1 to up to thousands of WS2811/WS2812 (a.k.a NeoPixel) LEDs using the OctoWS2811 LibfalseExcl. Tax:€10.57Incl. Tax:€12.90
713288 Teensy Arduino Shield AdapterThe Teensy Arduino Shield Adapter allows you to attach your Teensy and utilize your favorite Arduino shields without the requfalseExcl. Tax:€11.55Incl. Tax:€14.09
713311 Teensy 3.1 XBee AdapterThe Teensy 3.1 XBee Adapter allows you to connect your Teensy with the tried and true XBee series to provide you with a greatfalseExcl. Tax:€8.20Incl. Tax:€10.00
808421 Teensy LCThe Teensy is a breadboard-friendly development board with loads of features in a, well, teensy package. The Teensy 3.1 bringfalseExcl. Tax:€12.30Incl. Tax:€15.01
808443 Teensy 3.2The Teensy is a breadboard-friendly development board with loads of features in a, well, teensy package. The Teensy 3.2 bringfalseExcl. Tax:€20.66Incl. Tax:€25.21
808645 Teensy 3.2 - with Header PinsThe Teensy is a breadboard-friendly development board with loads of features in a, well, teensy package. The Teensy 3.2 bringfalseExcl. Tax:€24.75Incl. Tax:€30.20
808647 Prop Shield With Motion SensorsThis shield features 10DOF motion sensors, 2 watt audio amp, high speed 5V buffers for driving APA102 LEDs, and an 8 Mbyte flfalseExcl. Tax:€20.41Incl. Tax:€24.90
808744 WIZ820io & Micro SD Card AdaptorThis adaptor allows you to easily use gigabytes of SD card flash memory and/or a Wiznet WIZ820io ethernet module with Teensy falseExcl. Tax:€6.90Incl. Tax:€8.42
713925 Teensy Header KitThese headers are made to work with the Teensy 3.2 and Teensy LC development boards.Excl. Tax:€1.88Incl. Tax:€2.29
714017 Raspberry Pi GPIO Tall Header - 2x20This 2x20 “tall” header has the same number and spacing of pins as a Raspberry Pi and provides your board with the ability tofalseExcl. Tax:€1.88Incl. Tax:€2.29
809290 Teensy 3.6 with Header PinsVersion 3.6 features a 32 bit 180 MHz ARM Cortex-M4 processor with floating point unit. All digital and analog pins are 3.3 vfalseExcl. Tax:€35.90Incl. Tax:€43.80
809384 Teensy Audio Board Rev. D (Teensy 4.0)This audio board provides you with an easy-to-use tool to add high quality 16 bit, 44.1 kHz sample rate audio to your Teensy falseExcl. Tax:€14.40Incl. Tax:€17.57
809434 Teensy 4.1Il Teensy 4.1 equipaggiato con processore ARM Cortex-M7 a 600MHz e' il microcontrollore piu' veloce disponibile oggi sul mercato.Excl. Tax:€28.30Incl. Tax:€34.53