Forum Rule: Always post complete source code & details to reproduce any issue!
Results 1 to 3 of 3

Thread: How can I control the clock speed of Teensy 3.2?

  1. #1
    Junior Member
    Join Date
    Mar 2019
    Posts
    4

    How can I control the clock speed of Teensy 3.2?

    I have a few questions about the clock speed of the teensy 3.2

    1. What is the default speed?
    2. Can the clock speed be increased?
    3. Is there a code example on how to do this?

    Thanks,
    JimmyT

  2. #2
    Senior Member+ Theremingenieur's Avatar
    Join Date
    Feb 2014
    Location
    Colmar, France
    Posts
    2,385
    The clock speed is set during compile time, using the corresponding clock speed option in the tools menu of the Arduino IDE. There you select a clock speed between 4MHz and 96MHz. Editing the corresponding boards.txt file which comes with the Teensyduino installation, you’ll find a few over locking options to uncomment.

  3. #3
    Senior Member PaulStoffregen's Avatar
    Join Date
    Nov 2012
    Posts
    19,929
    Quote Originally Posted by JimmyT View Post
    3. Is there a code example on how to do this?
    It's so easy. In Arduino, click Tools > CPU Speed.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •