Skip to content

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

@o8ko8k

Description

@o8ko8k

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")
;

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions