cariboulabs / cariboulite

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

SMI Write Timeout when transmitting IQ via SoapySDR API #164

Open Paulo-D2000 opened 7 months ago

Paulo-D2000 commented 7 months ago

After ''enabling'' the TX support with Soapysdr I noticed that the IQ transmission doesn't start and the TX led never lights up!

Upon Furher investigation and debugging I've found the 2 possible causes: 1 - cariboulite_radio_set_modem_state(radio, cariboulite_radio_state_cmd_tx); doesn't get called on IQ mode after line 118 2 - The function caribou_smi_write which calls caribou_smi_timeout_write returning 0 (timeout) as the result of caribou_smi_poll

Paulo-D2000 commented 7 months ago

Additional notes: After adding cariboulite_radio_set_modem_state(radio, cariboulite_radio_state_cmd_tx); after line 118 the TX led blinks when you start the transmission but turns off immediately, the modem state also gets set to TX for a short period of time before reverting back to TX_PREP...