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

Thread: upper limits of analogWriteFrequency on 4.0, and LC? (aiming for 10-15MHZ)

  1. #1

    upper limits of analogWriteFrequency on 4.0, and LC? (aiming for 10-15MHZ)

    working on a video signal generator project, and since my scope doesn't read that high, I don't know if I'm outputting the signals I'm aiming for. That being said, is there an upper limit for analogWriteFrequency on the 4.0 and the LC? I figured id get a better chance with the 600mhz 4.0 than i would with the LC that I have. but I don't know and I can't test. thanks folks!

  2. #2

  3. #3
    Senior Member+ manitou's Avatar
    Join Date
    Jan 2013
    Posts
    2,663
    max PWM:
    LC 24 mhz
    Teensy3* F_BUS/2, e.g., 30 mhz (T3.6 pins 16, 17, TPM@16mhz. PWM 8mhz)
    Teensy4 IPG clock/2 150mhz/2 = 75 mhz
    Last edited by manitou; 11-18-2021 at 05:12 PM.

  4. #4
    so where does the pwm drop from a max of 255 to 127? I see the 585937.5 and 1171875 but I would think that those frequencies are in the middle of their respective ranges not at top and bottom. is that correct?

Posting Permissions

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