I need to add 32 serial ports to an SBC, for my tests I'm using a raspberry CM4, but it could also be a similar SBC.
I'm trying to figure out what solution is best for having 32 serial ports on my system. From a first analysis I understood that the only usable interfaces are USB and PCIe.
The problem is that all USB-Serial or PCI-Serial bridge chips I could find have at most 4 serial ports.
So my idea is to use 8 of these chips, for example 8 x FT4232H chips. Speed isn't critical, definitely a baud rate under 1Mbps, but I can go even slower if needed.
NOTE: Everything should then be done on a single PCB; therefore, the reasoning must be done at the chip level.
The problem now is, how to connect these 8 chips to my system, I came up with these solutions:
8 port USB hub and connect a FT4232 CHIP on each port. But it's not easy to find chips to make 8-port USB hubs.
Chain of USB HUBs, for example a 4-port USB hub and another 2-port hub on each port. And return to a situation similar to the first one.
8-port PCIe hub, but I couldn't find any suitable chip for this. Anyway, then on each PCI port put a PCIe-to-4xUART converter.
Mixed solution, that is, a 2 port PCie hub, then a PCie-to-4xUSB converter on each port, and I go back to having the 8 USB ports of the first solution.
In your opinion, what could be the best solution?
Are there any other solutions that I haven't come up with?