Hi Yasir,

Maybe you could add another RFNoC CHDR port to your block just for
streaming the parameter data. So it would have a dedicated streamer
separate from the one used for ADC data.

Wade

On Fri, Feb 17, 2023 at 2:53 AM Yasir Özçalık <simultaneou...@gmail.com>
wrote:

> Hi everyone,
> I have a problem with DMA. I am trying to build a custom RFNoC block which
> finds pulse parameters (pulse width, pulse repetition interval and
> frequency) and stores them in a block ram. I have built it and it worked in
> simulation. The problem is I wanna read those parameters from the host. If
> I try to read them via registers, it is too slow. Therefore; I thought that
> I must use DMA to do that.
>
> In order to reach that goal, I did the things below;
> I statically connected my 2 ports to endpoints. and in the UHD
> application, I connected the radios (RX) to my block and connected my block
> to the radios (TX) again. In this way, I successfully took all the ADC
> datas to my block in the FPGA and processed them.
>
> The problem is when I processed the data in the FPGA and tried to read
> parameters back in the host, I needed to use the rfnoc_chdr port and it is
> used by radio for ADC datas. Therefore; I thought I needed to disconnect
> the connection from my port to the radio and connect my port to
> rx_streamer. But, it did not work. It gave an error saying that "attempting
> to reconnect the block". Can anyone give me advice to read parameters fast
> that my block produced by processing the ADC datas.
>
> Note: I don't wanna take all the ADC datas to the host, but only the
> parameters which my RFNoC block produced while not blocking the ADC signals
> arriving at my block.
>
> Device : USRP E320
> Host : Ubuntu 20.04 - 1GbE
>
> Kind Regards,
> Yasir.
>
>
> _______________________________________________
> USRP-users mailing list -- usrp-users@lists.ettus.com
> To unsubscribe send an email to usrp-users-le...@lists.ettus.com
>
_______________________________________________
USRP-users mailing list -- usrp-users@lists.ettus.com
To unsubscribe send an email to usrp-users-le...@lists.ettus.com

Reply via email to