Hello,
I have a device that needs a square wave signal at 24MHz, for now I am using a 12MHz IC oscillator for my testing. But I would like to simplify by using one of the unused outputs of my Teensy 4.1. I've tried using interrupts, but I don't think that's the right solution (not fast enough). Doing some research, it looks like I could do this using the "hardware" to drive a pin (without using the cpu). Can someone tell me how to do it?
I have a device that needs a square wave signal at 24MHz, for now I am using a 12MHz IC oscillator for my testing. But I would like to simplify by using one of the unused outputs of my Teensy 4.1. I've tried using interrupts, but I don't think that's the right solution (not fast enough). Doing some research, it looks like I could do this using the "hardware" to drive a pin (without using the cpu). Can someone tell me how to do it?