simultaneous transmitting and receiving with python api

Discussions related to embedded firmware, driver, and user mode application software development
Post Reply
mhoncuer
Posts: 1
Joined: Tue Aug 08, 2023 6:22 am

simultaneous transmitting and receiving with python api

Post by mhoncuer »

Hi, I am currently working on a project that require simultaneous transmitting and receiving, and I am using BladeRF for my project. However, I have encountered an issue and would appreciate your help.

I want to transmit and receive data simultaneously, but I discovered that the BladeRF Python API does not support handling two streams at once. What I want to do is send a signal to the BladeRF once and then have it repeatedly transmit that signal internally without needing a continuous transmit stream from the pc, so I can receive data from the ADC stream. Since bladerf has a fpga inside I think it should be possible in theory, but I don't want to customize the hdl part. Is there a shortcut maybe ?
citymolt
Posts: 2
Joined: Wed Jun 19, 2024 8:22 pm

Re: simultaneous transmitting and receiving with python api

Post by citymolt »

mhoncuer wrote: Wed May 22, 2024 10:30 am Hi, I am currently working on a project that require simultaneous transmitting and receiving, and I am using BladeRF for my project. However, I have encountered an issue and would appreciate your help.snow rider

I want to transmit and receive data simultaneously, but I discovered that the BladeRF Python API does not support handling two streams at once. What I want to do is send a signal to the BladeRF once and then have it repeatedly transmit that signal internally without needing a continuous transmit stream from the pc, so I can receive data from the ADC stream. Since bladerf has a fpga inside I think it should be possible in theory, but I don't want to customize the hdl part. Is there a shortcut maybe ?
Handling simultaneous transmission and reception on the BladeRF without continuous streaming from the PC can indeed be challenging if you are constrained by the limitations of the current Python API. However, there are some strategies and workarounds you might consider to achieve your goal without customizing the HDL.
rceiverevered
Posts: 1
Joined: Thu Jun 20, 2024 1:09 am

Re: simultaneous transmitting and receiving with python api

Post by rceiverevered »

citymolt wrote: Wed Jun 19, 2024 8:24 pm
Handling simultaneous transmission and reception on the BladeRF without continuous streaming from the PC can indeed be challenging if you are constrained by the limitations of the current Python API. Howevergeometry dash wave, there are some strategies and workarounds you might consider to achieve your goal without customizing the HDL.
Can you specifically state some solutions and strategies for this project?
adominic
Posts: 2
Joined: Mon Aug 05, 2024 6:10 am

Re: simultaneous transmitting and receiving with python api

Post by adominic »

Hello,
I'm half way through fixing up BladeRF Python API to support simultaneous transmitting and receiving with BladeRF. Much appreciation if anyone has any pointer regarding this feature.
ghbjakef3
Posts: 7
Joined: Fri Dec 01, 2023 11:34 am

Re: simultaneous transmitting and receiving with python api

Post by ghbjakef3 »

mhoncuer wrote: Wed May 22, 2024 10:30 am Hi, I am currently working on a project that require simultaneous transmitting and receiving, and I am using BladeRF for my project. However, I have encountered an issue and would appreciate your help.

I want to transmit and receive data simultaneously, but I discovered that the BladeRF Python API does not support handling two streams at once. What I want to do is send a signal to the BladeRF once and then have it repeatedly transmit that signal internally without needing a continuous transmit stream from the pc, so I can receive data from the ADC stream. Since bladerf has a fpga inside I think it should be possible in theory, but I don't want to customize the hdl part. Is there a shortcut maybe ?
I do not know of anyway to do this without modifying the FPGA/HDL. I wonder though why you can not just simply transmit from the PC continuously? I know you specifically said you don't want to do this. I do it all the time and it works just fine. It doesn't cost much CPU time. I'm just curious what you are working on.
Archibald
Posts: 2
Joined: Fri Nov 08, 2024 12:33 am
Location: United States

Re: simultaneous transmitting and receiving with python api

Post by Archibald »

mhoncuer wrote: Wed May 22, 2024 10:30 am Hi, I am currently working on a project that require simultaneous transmitting and receiving, and I am using BladeRF for my project. However, I have encountered an issue and would appreciate your help.
papa's scooperia
I want to transmit and receive data simultaneously, but I discovered that the BladeRF Python API does not support handling two streams at once. What I want to do is send a signal to the BladeRF once and then have it repeatedly transmit that signal internally without needing a continuous transmit stream from the pc, so I can receive data from the ADC stream. Since bladerf has a fpga inside I think it should be possible in theory, but I don't want to customize the hdl part. Is there a shortcut maybe ?
The BladeRF allows you to set up a continuous transmission mode. You can load your signal into the transmit buffer and then set it to loop. This way, the FPGA will handle the repeated transmission without needing a continuous stream from the PC.
Post Reply