Some bullets for you: - If you do peek32(), then you cannot skip ack, because the ack contains the read-response (i.e., your peek result). - For poke, if you don't set ack, then yes, it can still timeout. UHD will always wait for acks if it thinks the FIFO is full. If it didn't, you would lose the command, or clog the crossbar, something bad. - There's no API to check the FIFO fullness. That said, we could potentially add that. What's your use case?
--M On Mon, Feb 17, 2025 at 12:18 AM <[email protected]> wrote: > If I am calling poke32 or peek32 without setting the time and ack > arguments (just sending the address and data), where they default to: > > uhd::time_spec_t time = uhd::time_spec_t::ASAP > > and > > bool ack = false > > Would you expect the timeout exceptions to occur? In the code comment it > says if ACK is requested. > > Is there a way to check the fifo status? > > > Also, is there an example that shows the use of the timespan and ack with > poke32/peek32? > > > Thank you > > Marino > > > > _______________________________________________ > USRP-users mailing list -- [email protected] > To unsubscribe send an email to [email protected] >
_______________________________________________ USRP-users mailing list -- [email protected] To unsubscribe send an email to [email protected]
