Hi there! I've been working on my problem recently. I can't use UDP because the final project requires two Bela Mini boards on two separate computers. Since I ideally need to transfer raw, live audio (32 bits * 48kHz = 1.6 Mbps), UART isn't fast enough to handle this speed (I tested it, and there's over 80% transmission error).
The solution I currently have in mind is to use SPI, but that means I'll need to simulate a slave device. To handle this speed, I would also need to use the PRU, which seems quite complex.
So, do you think there's a better solution than SPI with one of the Bela Minis as a simulated slave? If not, I've seen the example on GitHub, SPI-PRU, but the code seems complicated. Is there a specific file in the repository that I could use as a reference? Or do you have any recommendations on this? I've also tried using Linux SPI commands, like IOCTL, but I couldn't get it to work for simulating a slave. Do you think this approach could still work?
Thank you, and have a nice day!