Synchronous serial I/O?

tschak909
Posts: 36
Joined: Mon Oct 26, 2020 8:17 pm

Synchronous serial I/O?

Postby tschak909 » Mon Oct 26, 2020 8:22 pm

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

ESP_Sprite
Posts: 9025
Joined: Thu Nov 26, 2015 4:08 am

Re: Synchronous serial I/O?

Postby ESP_Sprite » Tue Oct 27, 2020 6:23 am

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.

Who is online

Users browsing this forum: No registered users and 88 guests