On Arduino due PWM frequency

pwm_frequency

Kerry D. Wong writes:

I just got myself a couple of Arduino Due boards. While they were released almost two years ago, I have not really got a chance to look at these until quite recently. Arduino Due is based on Atmel’s ATSAM3x8E 32-bit ARM Cortext-M3 processor. The processor core runs at 84 MHz, which is significantly faster than its 8-bit AVR counterpart ATmega328p which runs at 16 MHz. For an ATmega328p, the highest achievable PWM frequency is 8Mhz (square wave), so we should be able to generate much higher frequency signals on an Arduino Due. But how high can we go? Let’s find out.

Join the Conversation

3 Comments

  1. Ouch. The traces couldn’t make it much above 20MHz, didn’t they? I wonder how would a PIC32 at 80MHz perform. Good visuals for those of us with slow (or no) oscilloscopes…

    At 42MHz, it has become a sine wave. But the p-p seem to be >4V. Is this a voltage regulation issue or a transmission line issue, I wonder? The signal attenuates a lot at higher frequencies, as expected.

    Would be interested to hear opinions of others.

Leave a comment

Your email address will not be published. Required fields are marked *

Notify me of followup comments via e-mail. You can also subscribe without commenting.