SparkFun
Teensy 4.0
Teensy 4.0: High Performance in a Compact Form The Teensy 4.0 is a powerful, compact development board measuring just 1.4" × 0.7". It features the blazing-fa...
Get notified when back in stock
Teensy 4.0: High Performance in a Compact Form
The Teensy 4.0 is a powerful, compact development board measuring just 1.4" × 0.7". It features the blazing-fast 600 MHz ARM Cortex-M7 processor, built on the NXP iMXRT1062 chip — currently the fastest microcontroller available.
Maintaining the same size and pin layout as the Teensy 3.2, the Teensy 4.0 ensures broad compatibility with existing projects. At full speed, it draws approximately 100 mA, and supports dynamic clock scaling. Unlike typical microcontrollers, it maintains accurate baud rates, sample rates, and Arduino timing functions (like delay(), millis(), IntervalTimer, and elapsedMillis) even as the CPU speed changes.
Additional features include:
-
Power control: A long press (5s) on an external pushbutton connected to the On/Off pin fully disables the 3.3V supply. A short press turns it back on.
-
Real-time clock (RTC): With a coin cell connected to VBAT, the RTC keeps time even when the board is powered down.
-
Overclocking: Teensy 4.0 can be pushed beyond its rated 600 MHz for even more performance.
Advanced Architecture
The Cortex-M7's dual-issue superscalar architecture allows it to execute two instructions per cycle, greatly improving performance — especially with optimized C++ code. It also features branch prediction, dramatically reducing overhead in loops.
The chip includes Tightly Coupled Memory (TCM):
-
ITCM: 64-bit instruction fetch path
-
DTCM: Dual 32-bit data access paths
Up to 512 KB of TCM enables lightning-fast memory access, while non-TCM memory is optimized for DMA, ensuring smooth operation of peripherals.
Floating Point Unit (FPU)
Unlike previous ARM microcontrollers, the Teensy 4.0 supports both 32-bit (float) and 64-bit (double) floating-point operations in hardware. This enables fast execution of mathematical functions like log(), sin(), and cos() without resorting to slow software emulation.
Note: Headers are not included with the Teensy 4.0 and must be purchased and soldered separately.
Jargon buster
Plain-language definitions for the technical terms used above.
- ARM Cortex-M7
- A family of 32-bit microcontroller processor cores designed for fast embedded applications. Knowing a board uses Cortex-M7 helps indicate it is aimed at more demanding tasks like audio processing, robotics, and high-speed data handling rather than very simple control jobs.
- baud
- Baud is the signalling rate of a serial connection, often used as the speed setting for UART communication. Matching the baud rate matters because both connected devices must use the same setting for readable data.
- branch prediction
- A processor feature that guesses which way a program will go at an if-statement or loop so it can keep working without waiting. It helps improve performance in complex code, which is useful for real-time projects that need quick responses.
- dual-issue superscalar
- A processor design that can start more than one instruction at a time when the code allows it. This matters because it can make programs run faster, especially for calculation-heavy projects, though the speed-up depends on the software.
- Dynamic Clock Scaling
- A feature that lets the processor change its running speed while the program is operating. This can help balance performance, power use, and heat, especially in projects that only need full speed some of the time.
- FPU
- A floating-point unit is hardware inside a processor that speeds up calculations with decimal numbers. This helps when projects use maths-heavy tasks such as motion sensing, filtering sensor readings, or audio processing.
- Headers
- Rows of connector contacts on a fixed pitch (commonly 2.54 mm) used to link a board to a breadboard, jumper wires, or another board. They come as male pin headers and female socket headers; when a module ships with pre-soldered headers it can be used straight away, whereas bare pads require soldering the pins yourself.
- microcontroller
- A microcontroller is a small computer on a single chip that runs a stored program and controls connected inputs and outputs such as buttons, sensors, displays and communication interfaces. In a device built around one, it is the part that executes the code and coordinates the device's behaviour.
- NXP iMXRT1062
- A high-speed microcontroller chip from NXP's i.MX RT1060 family, built around an ARM Cortex-M7 core typically clocked at around 600 MHz. When a board lists this chip as its processor, it indicates the board's processing speed, memory and peripheral set, and which software libraries and pin features are available.
- RTC
- A Real-Time Clock keeps track of time even when the main processor is asleep or powered down, usually with a small backup battery. It matters for data logging and tracking projects that need accurate timestamps.
- tightly coupled memory
- A block of memory connected very directly to the processor for fast, predictable access. It matters for timing-sensitive code such as audio, motor control, or data acquisition where delays from ordinary memory access can cause problems.
- VBAT
- VBAT is a backup battery power pin used to keep a small part of a circuit, such as a real-time clock, running when the main power is off. It matters if your project needs to remember the time while the board is shut down.
Find this product in
Brands
W25Q16JV-DTR Flash Datasheet
Datasheet · 2.0 MB · Click any page to view full size
Supplier page — sparkfun.com
Supplier Description · 1.2 MB · Click any page to view full size
MIMXRT1062 DVL6B Datasheet
Datasheet · 2.6 MB · Click any page to view full size
MIMXRT1062 DVL6B Reference Manual
User Guide · 31.8 MB · Click any page to view full size
Resources & Downloads
Guides, code examples, and more
Related Tutorials
Free guides on learn.littlebird.com.au