{"product_id":"teensy-4-0-development-board","title":"Teensy 4.0 Development Board","description":"\u003cp\u003eTeensy 4.0 is the latest Teensy, offering the fastest microcontroller and powerful peripherals in the Teensy 1.4 by 0.7 inch form factor.\u003c\/p\u003e\n\u003cp\u003eTeensy 4.0 can be programmed using the Arduino IDE with \u003ca href=\"https:\/\/www.pjrc.com\/teensy\/td_download.html\" target=\"_blank\" rel=\"noopener noreferrer\"\u003eTeensyduino add-on\u003c\/a\u003e.\u003c\/p\u003e\n\u003ch2\u003eProcessor\u003c\/h2\u003e\n\u003cp\u003eTeensy 4.0 features an ARM Cortex-M7 processor at 600 MHz, with a NXP iMXRT1062 chip, the fastest microcontroller available today.\u003c\/p\u003e\n\u003cp\u003e\u003cimg src=\"\/\/cdn.shopify.com\/s\/files\/1\/0174\/1800\/files\/coremark_barchart_large.png?v=1565253974\" alt=\"\"\u003e\u003c\/p\u003e\n\u003cp\u003eBenchmark results measured with \u003ca href=\"https:\/\/github.com\/PaulStoffregen\/CoreMark\" target=\"_blank\" rel=\"noopener noreferrer\"\u003eCoreMark as an Arduino sketch\u003c\/a\u003e. For an alterative to synthetic benchmarking, see this \u003ca href=\"https:\/\/github.com\/PaulStoffregen\/RSA_signature_speed\" target=\"_blank\" rel=\"noopener noreferrer\"\u003eDigital Signature Speed Test\u003c\/a\u003e.\u003c\/p\u003e\n\u003ch2\u003eTechnical Specifications\u003c\/h2\u003e\n\u003cul\u003e\n\u003cli\u003eARM Cortex-M7 at 600 MHz\u003c\/li\u003e\n\u003cli\u003e1024K RAM (512K is tightly coupled)\u003c\/li\u003e\n\u003cli\u003e2048K Flash (64K reserved for recovery \u0026amp; EEPROM emulation)\u003c\/li\u003e\n\u003cli\u003e2 USB ports, both 480 MBit\/sec\u003c\/li\u003e\n\u003cli\u003e3 CAN Bus (1 with CAN FD)\u003c\/li\u003e\n\u003cli\u003e2 I2S Digital Audio\u003c\/li\u003e\n\u003cli\u003e1 S\/PDIF Digital Audio\u003c\/li\u003e\n\u003cli\u003e1 SDIO (4 bit) native SD\u003c\/li\u003e\n\u003cli\u003e3 SPI, all with 16 word FIFO\u003c\/li\u003e\n\u003cli\u003e3 I2C, all with 4 byte FIFO\u003c\/li\u003e\n\u003cli\u003e7 Serial, all with 4 byte FIFO\u003c\/li\u003e\n\u003cli\u003e32 general purpose DMA channels\u003c\/li\u003e\n\u003cli\u003e31 PWM pins\u003c\/li\u003e\n\u003cli\u003e40 digital pins, all interrrupt capable\u003c\/li\u003e\n\u003cli\u003e14 analog pins, 2 ADCs on chip\u003c\/li\u003e\n\u003cli\u003eCryptographic Acceleration\u003c\/li\u003e\n\u003cli\u003eRandom Number Generator\u003c\/li\u003e\n\u003cli\u003eRTC for date\/time\u003c\/li\u003e\n\u003cli\u003eProgrammable FlexIO\u003c\/li\u003e\n\u003cli\u003ePixel Processing Pipeline\u003c\/li\u003e\n\u003cli\u003ePeripheral cross triggering\u003c\/li\u003e\n\u003cli\u003ePower On\/Off management\u003c\/li\u003e\n\u003c\/ul\u003e\n\u003ch2\u003ePinouts\u003c\/h2\u003e\n\u003cp\u003eTeensy 4.0 is the same size and shape as Teensy 3.2, and retains compatibility with most of the pin functions on Teensy 3.2.\u003c\/p\u003e\n\u003ch2\u003ePower Consumption \u0026amp; Management\u003c\/h2\u003e\n\u003cp\u003eWhen running at 600 MHz, Teensy 4.0 consumes approximately 100 mA current.\u003c\/p\u003e\n\u003cp\u003eTeensy 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.\u003c\/p\u003e\n\u003cp\u003eTeensy 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 \u0026amp; time while the power is off.\u003c\/p\u003e\n\u003cp\u003eTeensy 4.0 also can also be overclocked, well beyond 600 MHz!\u003c\/p\u003e\n\u003ch2\u003eCortex-M7 Processor Details\u003c\/h2\u003e\n\u003cp\u003eARM Cortex-M7 brings many powerful CPU features to a true real-time microcontroller platform.\u003c\/p\u003e\n\u003cp\u003eCortex-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.\u003c\/p\u003e\n\u003cp\u003eCortex-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.\u003c\/p\u003e\n\u003cp\u003eTightly 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.\u003c\/p\u003e\n\u003cp\u003eMemory 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.\u003c\/p\u003e\n\u003cp\u003eTeensy 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 \u0026amp; 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.\u003c\/p\u003e","brand":"PJRC","offers":[{"title":"Default Title","offer_id":29443577217107,"sku":"TEENSY40","price":21.95,"currency_code":"EUR","in_stock":false}],"thumbnail_url":"\/\/cdn.shopify.com\/s\/files\/1\/0174\/1800\/products\/Teensy_4.0_1_of_3.JPG?v=1570443531","url":"https:\/\/shop.pimoroni.com\/en-eu\/products\/teensy-4-0-development-board","provider":"Pimoroni Ltd","version":"1.0","type":"link"}