Page 1 of 1

Phoenix Air - WiFi for the H5 Phoenix

Posted: 29 Nov 2026 11:50
by exxos
ST_WIFI_3A_3D_iso.png
ST_WIFI_3A_3D_iso.png (551.33 KiB) Viewed 64 times

I have been working on a new board for the H5 Phoenix, and it now has a name, Phoenix Air. It is a WiFi board for the Atari, designed with TLS support from the start, so things like HTTPS and secure mail are possible without a PC doing the hard work in the background.

It plugs into one of the 68k IO sockets on the Phoenix. Those sockets are copies of the 68000 CPU socket, so the board sits right on the full 16-bit bus. It does not use the cartridge port at all, so cartridges can still be plugged in and used at the same time.

The hardware is fairly simple. Two ATF1502 CPLDs handle the address decoding and the data side, and talk to an ESP32-S3 module over SPI. The module is the WROOM-1U version with 16MB of flash and 8MB of PSRAM, which gives TLS enough room to work in. It has a u.FL socket rather than an antenna on the module, so an external antenna on a short lead is needed. All the parts are on the top side, and the whole board fits inside the outline of the 68000 DIP64 footprint, about 81 x 25mm, on a 4 layer PCB.

On the software side, the ESP firmware is my own, and so is the network driver on the Atari. The driver will be STiNG and STiK compatible, the aim being that existing network programs work without any changes. The ESP does all the TCP/IP and TLS work, and the Atari just moves the data in and out, which keeps the load off the 68000.

As for speed, on paper the bus side works out at around 1.1 to 1.3MB/s in each direction on an 8MHz machine, and the limit there is the 68000 copy loop rather than the board itself. That is a calculated figure, not a measured one, so I will post real numbers once the boards are running.

Test boards have been ordered from JLC. The CPLD logic, the ESP firmware and the driver are all still to be written, so there is a fair bit of work to do yet. I will post updates as it comes together.

Re: Phoenix Air - WiFi for the H5 Phoenix

Posted: 29 Nov 2026 12:17
by PhilC
Added to my want list :dualthumbup:

Re: Phoenix Air - WiFi for the H5 Phoenix

Posted: 29 Nov 2026 13:41
by JezC
Me too - and I might even get an H4/H5 board to the point where it is ready to use it! :lol: :roll:

Re: Phoenix Air - WiFi for the H5 Phoenix

Posted: 30 Nov 2026 16:02
by exxos
I see soldering and firmware in my future...

wifi.jpg
wifi.jpg (122.88 KiB) Viewed 16 times

Re: Phoenix Air - WiFi for the H5 Phoenix

Posted: 30 Nov 2026 20:20
by exxos
Both ATF1502s showed up on the JTAG chain first time, which is always a relief. Getting the firmware to actually fit was another matter. The address decode chip went in without a fuss, but the data/SPI chip took four attempts before the fitter would place it. The logic was fine, it just ran out of routing inside the chip, so it needed a bit of rearranging until everything had a path. It now fits and passes the full simulation.

I then ran a small test program on the ST to check the CPLD side without any ESP firmware. It checks the control register, switches the ESP chip select on and off, does a load of data reads and writes to make sure every access gets DTACK back, and then times raw transfers.

Everything passes, including from a cold boot. The raw speeds in a tight loop came out at about 1190KB/s for writes and 1365KB/s for reads. That is just the bus side in an unrolled loop, so real copy loops and the network side will be slower, but it shows the hardware interface is doing its job.

Screenshot of the test results and some pictures of the board attached.

Next up is the ESP32 firmware. Of course some dumbass forgot to put a USB socket on the PCB to actually program the WiFi module. There are pads on the bottom to solder to, so I have had to order a USB breakout board to hack it together. Once the first firmware is on it, it should be able to update itself over WiFi, so with any luck that is a one-off.

I have also ordered an antenna, as the module uses an external one on a U.FL connector. Hopefully both turn up tomorrow and I can get some actual WiFi traffic going.

IMG_5527.JPG
IMG_5527.JPG (295.69 KiB) Viewed 1 time
IMG_5528.JPG
IMG_5528.JPG (70.51 KiB) Viewed 1 time