Page 1 of 1

Synchronous serial I/O?

Posted: Mon Oct 26, 2020 8:22 pm
by tschak909
I am part of a successful project that turns the ESP32 into a super-peripheral for the Atari 8-bit systems, called #FujiNet.

http://fujinet.online/

Thus far, we've been using one of the UARTs to communicate with the Atari asynchronously, with POKEY providing its own clock.

We are able to use the LEDC to emit a clock signal at the desired target clock rate (approximately 200kHz), but the result isn't synchronized to the output of the serial port, so there are of course synchronization issues.

Is there a way to synchronize the output of the serial port to the LEDC pulse being emitted?

-Thom

Re: Synchronous serial I/O?

Posted: Tue Oct 27, 2020 6:23 am
by ESP_Sprite
Not that I'm aware of... the thing is called an uArt for a reason. You could instead try to use one of the actually synchronous peripherals instead (SPI or I2S, for example) but obviously you would have to implement the lower-level framing etc in software then.