How to generate a 12MHz clock?

grstephany
Posts: 2
Joined: Fri Jun 21, 2019 3:51 pm

How to generate a 12MHz clock?

Postby grstephany » Fri Jun 21, 2019 4:47 pm

Hello everyone,
I need to source a continuous clock between 4MHz and 12 MHz from the ESP32-WROOM-32 module and get it out to one of the pins to drive some external circuitry. Any ideas?

The LEDC and other PWM examples can't seem to handle anything that fast.
I can generate the clock with the SPI peripheral, but that is gated with the actual transfer.
I could send a continuous stream of 0x55 out a UART, but even if the peripheral can handle that high of a baud rate there will always be excessive jitter on the output clock.

Is there any way to map a timer or simple divided clock out to one of the pins (preferably via IO_MUX)?

Thanks in advance for your assistance!
Gary


Who is online

Users browsing this forum: No registered users and 89 guests