Theremingenieur
Senior Member+
Multiplier is 8 bit -> max val 255 -> max mult 256
Divider is 12 bit -> max val 4095 -> max div 4096
Divider is 12 bit -> max val 4095 -> max div 4096
I would strongly disagree ;-). It entirely depends on your goal.BTW, using the cfft is a natural for processing iq data.
With Teensy 3.6, no need to fiddle with the timer registers. All you need is this:
Code:void setup() { analogWriteFrequency(3, 10000000); analogWrite(3, 128); } void loop() { }
This does depend on F_BUS being a multiple of 20 MHz. On 3.5 & 3.6 it defaults to 60 MHz. At other speeds or on Teensy 3.2 F_BUS is other frequencies like 48 MHz.
Tried it just now on a Teensy 3.6. Here's the waveform (using a short wire and ground lead clip - not the best probing for a high speed signal so you see a little ringning due to the leads, but quick and easy to connect)
View attachment 14706