Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

osomcom source/sink blocks gnuradio delayed buffers, skipping.... #37

Open
o8ko8k opened this issue Apr 9, 2022 · 0 comments
Open

osomcom source/sink blocks gnuradio delayed buffers, skipping.... #37

o8ko8k opened this issue Apr 9, 2022 · 0 comments

Comments

@o8ko8k
Copy link

o8ko8k commented Apr 9, 2022

When compiling libxtrx and grosmocom from source, (using DragonOS pre-compiled GNU_radio)
running the osmocom sink block w/ XTRX gives lots of errors like so:

14:19:56.946493 ERROR: [XTRX] PCI:/dev/xtrx0: TX DMA Current skip due to TO buffers: 12682, prev: 12681 TS:137833808 STPS:137836832
14:19:57.308728 ERROR: [XTRX] PCI:/dev/xtrx0: TX DMA Current delayed buffers: 12695, prev: 12682 TS:137981696
14:19:57.318501 ERROR: [XTRX] PCI:/dev/xtrx0: TX DMA Current skip due to TO buffers: 12695, prev: 12695 TS:137993453 STPS:137998080
14:19:57.405521 INFO: [BPCI] PCI:/dev/xtrx0: RX DMA SKIP MIMO (BLK:0 TS:0); TX DMA STOP MIMO @0.0
14:19:57.405697 INFO: [LSM7] PCI:/dev/xtrx0: 0x0124[02, 10]
14:19:57.405805 INFO: [BPCI] PCI:/dev/xtrx0: RX DMA SKIP MIMO (BLK:0 TS:0); TX DMA STOP MIMO @0.0

Any help would be appreciated.

There are also some gotchas as far as what device args to use what the antenna names are, and what the clocks settings do: Not sure if i have the right stuff here.

image
image

static const std::map<std::string, xtrx_antenna_t> s_ant_map = boost::assign::map_list_of
("AUTO", XTRX_TX_AUTO)
("B1", XTRX_TX_H)
("B2", XTRX_TX_W)
("TXH", XTRX_TX_H)
("TXW", XTRX_TX_W)
;
static const std::map<xtrx_antenna_t, std::string> s_ant_map_r = boost::assign::map_list_of
(XTRX_TX_H, "TXH")
(XTRX_TX_W, "TXW")
(XTRX_TX_AUTO, "AUTO")
;

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant