usrp-users@lists.ettus.com

Discussion and technical support related to USRP, UHD, RFNoC

View all threads

RFNoC Asynchronous Messages

BP
Brian Padalino
Tue, Jul 8, 2025 6:25 PM

With a custom RFNoC block, are there any examples of what is required to
receive and process asynchronous messages from the custom RFNoC block in
the controller class?

For example, in my FPGA I have some status information I want to print out
every second. I don't want to poll it, and I'd prefer to have the FPGA just
automatically send it off through the control port to be received
asynchronously by my controller block.

So far whenever I've tried it, I get a bad function call message printed
out from UHD.

Thanks,
Brian

With a custom RFNoC block, are there any examples of what is required to receive and process asynchronous messages from the custom RFNoC block in the controller class? For example, in my FPGA I have some status information I want to print out every second. I don't want to poll it, and I'd prefer to have the FPGA just automatically send it off through the control port to be received asynchronously by my controller block. So far whenever I've tried it, I get a bad function call message printed out from UHD. Thanks, Brian
MB
Martin Braun
Thu, Jul 10, 2025 8:02 AM

This is how the radio block handles async messages (underruns, overruns,
late data):
https://github.com/EttusResearch/uhd/blob/master/host/lib/rfnoc/radio_control_impl.cpp#L263-L305

On Tue, Jul 8, 2025 at 8:27 PM Brian Padalino bpadalino@gmail.com wrote:

With a custom RFNoC block, are there any examples of what is required to
receive and process asynchronous messages from the custom RFNoC block in
the controller class?

For example, in my FPGA I have some status information I want to print out
every second. I don't want to poll it, and I'd prefer to have the FPGA just
automatically send it off through the control port to be received
asynchronously by my controller block.

So far whenever I've tried it, I get a bad function call message printed
out from UHD.

Thanks,
Brian


USRP-users mailing list -- usrp-users@lists.ettus.com
To unsubscribe send an email to usrp-users-leave@lists.ettus.com

This is how the radio block handles async messages (underruns, overruns, late data): https://github.com/EttusResearch/uhd/blob/master/host/lib/rfnoc/radio_control_impl.cpp#L263-L305 On Tue, Jul 8, 2025 at 8:27 PM Brian Padalino <bpadalino@gmail.com> wrote: > With a custom RFNoC block, are there any examples of what is required to > receive and process asynchronous messages from the custom RFNoC block in > the controller class? > > For example, in my FPGA I have some status information I want to print out > every second. I don't want to poll it, and I'd prefer to have the FPGA just > automatically send it off through the control port to be received > asynchronously by my controller block. > > So far whenever I've tried it, I get a bad function call message printed > out from UHD. > > Thanks, > Brian > _______________________________________________ > USRP-users mailing list -- usrp-users@lists.ettus.com > To unsubscribe send an email to usrp-users-leave@lists.ettus.com >