I need to generate a clock signal on teensy 4.1 what pins are the best for this that will not affect other peripherals? The other peripherals im going to use are SPI,i2c,SERIAL, and the built in SD.
The clocks i need are:
8.192 MHz (max 8.2MHz)
4.096 MHz (max 4.15MHz)
2.048 MHz (max 2.08Mhz)
My requirements needs me to be somewhat accurate and has a maximum frequency that is tolerated?Can anybody help me with creating these clock signals? Im having trouble finding guides on how to do this.
The only thing i can find are using the
analogWriteFrequency(4, 8192000);
analogWriteResolution(2);
This table from the under PWM resolution shows ideal frequencies
but even if i lower the cpu clock im a bit over the limit