So I wanted to open a topic here to discuss what I have in mind and what I’d like to work on related to https://osmocom.org/issues/5417 .
In short, I’d want a self contained device offering both BRI and FXS port that uplinks to the OCTOI network. You put power and a network connected and it’s up and running.
As such from a hardware point of view, I’d orient myself toward a RPi hat form factor. Why a RPi ? Well they’re common basically and easy to obtain. Yes there are cheaper alternative, but at least from my PoV it doesn’t matter much. The way I see it the time cost investment I’ll make to get it working dwarfs the host device cost.
I’m also going for a full linux host type of thing rather than say some powerful micro controller running NuttX or FreeRTOS or Zephyr or such. Although it would be a more elegant solution, I think it’s also quite a bit more work so I’m going for what I think has the best change to actually achieve something. That issue on the tracker has been opened for 4+ years so I think it’s fair to say we’re all short on time.
For the interfacing to the RPi, the first plan is to try to go with everything going over the SPI port of the RPi. Possible alternative plan are to use SPI for control and somehow coerce the I2S interface to work for the PCM data or to have some other microcontroller or FPGA on-board and use USB but then it’s not really a “hat” anymore and you have one more piece of code to develop …
As mentioned above I’d like to have BRI ports, probably 2 of them and then two slots to put those S110M module for FXS port. Why mix BRI and FXS ? To put it simply the S110M module need the voice data to go through a PCM interface and the XHFC-2SU can be used as SPI → PCM bridge so it’s convenient to do both at once … As to why bother with FXS at all, well I’m more into analog modems than ISDN ![]()
It’s possible not all ports will be usable at once ( bandwidth restriction ) but that’s fine for me.
On the software side, all the ports would show up as DAHDI device and
there probably would be a yate or asterisk or something running. This would handle dealing with FXS stuff and the uplink to OCTOI.
How is the uplink done ? Well I’ll open another topic to discuss this since it’s a bit orthogonal to the “hardware” side of things.