cariboulabs / cariboulite

CaribouLite turns any 40-pin Raspberry-Pi into a Tx/Rx 6GHz SDR
1.1k stars 104 forks source link

simultaneous transmission dont work? #199

Open User25514 opened 8 months ago

User25514 commented 8 months ago

So I've written a python script that sends binary on both transmitters, S1G and HIFI, but each transmitter can transmit binary one by one. The issue I'm currently facing is that if I want to multi-thread, and use both transmitters at the same time, then I get the error: 03-17 21:08:23.353 1135 1139 E CARIBOULITE Radio cariboulite_radio_activate_channel@cariboulite_radio.c:1077 PLL didn't lock ``03-17 21:08:23.618 1135 1138 E CARIBOULITE Radio cariboulite_radio_activate_channel@cariboulite_radio.c:1077 PLL didn't lock

How do I fix this issue so I can transmit simultaneously.

matteoserva commented 8 months ago

The radio chip in use, at86rf215, supports arbitrary waveforms only when sending the same data to both transmitters. This is a hardware limitation and can't be changed. Alternatively you can set one or both transmitters in baseband mode. In that mode you can only use one of the supported modulation schemes (FSK, OFDM...) but the two transceivers are completely independent.

On the software side I think there is still no support for baseband mode, so you have to write some code to enable it.