Product description
Teensy 4.0 is based on an advanced ARM Cortex-M7 processor running at 600 MHz. The processor has access to 2 MB of Flash memory and 1 MB (1024K) of RAM. In addition to the high-performance processor, the board also has a a multitude of peripherals, for nearly limitless connectivity.
- This version comes with pin headers assembled.
Some features of the Teensy 4.0 processor:
The processor in Teensy 4.0 is the NXP MIMXRT1062DVL6B, a so-called "crossover MCU" which combines microcontroller functionality with application processor performance.
- The processor can execute two instructions per clock cycle at 600 MHz. Tests have shown that C++ code compiled in the Arduino environment achieves this about 40–50% of the time, which provides significantly higher performance for numerically heavy calculations.
- The Cortex-M7 is the first ARM microcontroller with branch prediction. Where previous cores (e.g. M4) waste three clock cycles in loops, the M7 core's branch predictor learns the loop pattern and can execute jump instructions in a single clock cycle.
- The built-in floating-point unit handles both 64-bit (double) and 32-bit (float) calculations directly in hardware. Functions such as log(), sin() and cos() are thus executed at full speed without software emulation.
Memory architecture:
- To feed the 600 MHz processor with data, TCM (Tightly Coupled Memory) is used, where 512 KB of the total 1024 KB of RAM is directly connected to the processor via two high-speed buses (one for instructions and one for data).
- The Teensyduino development environment automatically places program code in this fast memory. At the same time, other components with DMA support can access the rest of the memory via the AXI bus without bottlenecks.
Power management:
- Despite its powerful performance, the Teensy 4.0 only draws about 100 mA at full power (600 MHz).
- The processor frequency can be changed during operation without affecting serial communication, audio streaming or Arduino functions such as delay() and millis().
- For battery-powered projects, the board can be completely turned off via a dedicated On/Off pin. A five-second button press turns off the 3.3 V supply, a short press restarts the system.
- The Teensy 4.0 has a built-in RTC with a dedicated battery input. By connecting a coin cell battery to the VBAT pin, the date and time are maintained even when the main power is off.
- The processor can be overclocked and run above 600 MHz for those who want to maximize performance.
Specifications:
- ARM Cortex-M7 @ 600 MHz
- 1024 K RAM (512 K tightly coupled)
- 2048K MB (64 K reserved for recovery & EEPROM emulation)
- 2 USB Host Ports
- 40 Total I/O Pins
- 3 CAN Buses (1 with CAN FD)
- 2 I2S Digital Audio Interfaces
- 1 S/PDIF Digital Audio Interface
- 1 SDIO (4-bit) native SD
- 3 SPI Interfaces (all with 16-word FIFO)
- 7 Serial Ports
- 32 General-Purpose DMA Channels
- 31 PWM Pins
- 14 Analog Inputs
- 2 ADCs
- Cryptographic Acceleration
- Random Number Generator
- RTC for Date/Time
- Programmable FlexIO
- Pixel Processing Pipeline
