Teensy 3.1

The PJRC Teensy 3.1 operates at CPU frequency of 96MHz. The powerful ARM-M4 Freescale MK20DX256VLH7 MCU has 256 kB of flash memory, 64 kB of RAM memory. This platform is used in conjunction with the Teensy Loader program to download the mbed generated .HEX program code.

Overview

With a 28 pin DIP, small footprint, powerful M4 core and 256k Flash, the Teensy3.1 is an ideal platform for MCU 'drop-in' applications that require larger program sizes and speed. The mounting pins are standard .1" (2.54mm) spacing which make it easy for bread boarding or mounting on a development PCB. Teensy3.1 mbed library utilizes the same pin definitions as the Freescale FRDM platforms making it simple to transport existing programs. Adding a 32KHz crystal and back up cell, the RTC is fully functional during power down states.

Using USBSerial from the mbed USBDevice library will enable connection to your PC terminal and other devices.


Top View

/media/uploads/star297/teens3.1-main.jpg

Bottom View

/media/uploads/star297/teens3.1-rear.jpg

Features

Processor MK20DX256VLH7


Instructions to use Teensy 3.1 on mbed. (Windows)

The mbed compiled output will be in .HEX format and will need the Teensy Loader program to transfer the file to the Teensy.

/media/uploads/star297/teensy_loader.png (Image shows a different board, but the process is the same)

Download the Teensy Loader from PJRC:

https://www.pjrc.com/teensy/loader_vista.html

(Further details on how to install and use are also available there.)

Compile and save the .HEX output file to the desktop or any other preferred folder on your PC. The complied .HEX output will appear large, however the build details will show the correct Flash/Ram values. With the Teensy 3.1 connected to your PC, start the Teensy Loader program. Select 'File - Open HEX File' or click the Open HEX File icon. This will bring up the 'Open File' dialog box. Select the mbed output .HEX file you just saved. Press the 'Bootloader Mode Button' on the Teensy 3.1 The Teensy Loader icons will change from greyed out to active. Select 'Operation - Program' or click the program icon. The file will transfer (quickly) to the Teensy 3.1

To run your downloaded program, either click the 'Reboot' icon or power cycle the Teensy 3.1

Important: The switch button on the Teensy 3.1 is for program download mode only, it will not reset and/or start your program. If you press it at any time the Teensy 3.1 will go into program mode and remain there until the board is power cycled or the 'Reboot' is selected on the Teensy Loader (if connected to your PC). For external hardware reset, a connection will need to be made to the pad marked 'R' on the underside of the board.


Schematic

/media/uploads/star297/teensy3.1_schematic.gif


Further Information

For further detailed hardware information, see the Teensy 3.1 page at PJRC:

https://www.pjrc.com/teensy/teensy31.html

Warning

mbed will only support original PJRC Teensy 3.1 boards, counterfeit or clones will not work. All questions regarding the use of Teensy 3.1 on mbed must be directed to the Community Contributors or the mbed forum.

 Buy Now


Please log in to start a discussion or ask a question.

Questions

See more related questions