USRP
天一涯
希望每天都有新收获~
展开
-
WiKi上关于USRP使用的一些问答(二)
Current Information and UHD DriverThe contents of this page refer to the original RAW Ethernet implementation of the USRP2 firmware and may not accurately reflect currently used configurations. Al原创 2014-01-05 15:55:29 · 2983 阅读 · 0 评论 -
USRP N210实现的整个属性树结构
可以以递归的方式将属性树打印出来:void print_tree(const uhd::fs_path &path, uhd::property_tree::sptr tree){ std::cout << path << std::endl; BOOST_FOREACH(const std::string &name, tree->list(path)){ p原创 2015-12-09 20:54:43 · 1044 阅读 · 1 评论 -
ubuntu 12.04安装zpugcc编译器
1.获取zpugcc二进制文件: 官网:http://opensource.zylin.com/zpudownload.html 或者去网盘下载:http://yunpan.cn/QikshGJwdeCTN 访问密码 1f0a 2.解压,移动到/opt目录下3.更改环境变量 cd /root/ vi .bashrc原创 2015-05-14 11:05:00 · 1063 阅读 · 0 评论 -
usrp的API接口
UHD总共为用户提供了四种API接口,全都继承自boost::noncopyable,比较高级的有Multi-USRP和Multi-USRP-Clock;底层的有C API和device API。参考http://files.ettus.com/manual/page_coding.html原创 2015-12-14 20:58:44 · 2833 阅读 · 3 评论 -
USRP内部的寄存器
usrp_regs.hpp#ifndef INCLUDED_USRP2_REGS_HPP#define INCLUDED_USRP2_REGS_HPP////////////////////////////////////////////////////////////////////////// Define slave bases/////////////////////////原创 2015-07-15 21:51:51 · 1027 阅读 · 0 评论 -
USRP驱动源码分析之子板接口类
射频子板由母板通过“子板接口类”进行管理。“子板接口类”继承自i2c: /*! * The daughter board dboard interface to be subclassed. * A dboard instance interfaces with the mboard though this api. * This interface provides i2c, s...原创 2015-12-09 14:57:12 · 1006 阅读 · 2 评论 -
SBX子板类及update_atr()方法
对于SBX射频子板的管理,最重要的是SBX子板类中的update_atr()方法。SBX子板类如下:/*********************************************************************** * The SBX dboard ********************************************************原创 2015-12-09 15:26:52 · 1090 阅读 · 0 评论 -
USRP驱动分析之GPIO
最新版的uhd/host中提供了对GPIO操作的接口,在multi_usrp.cpp中如下定义: void set_gpio_attr(const std::string &bank, const std::string &attr, const boost::uint32_t value, const boost::uint32_t mask, const size_t...原创 2015-08-06 21:14:09 · 1520 阅读 · 0 评论 -
USRP设备创建过程
要使用USRP,程序中必须包含multi_usrp.hpp头文件,该头文件中的multi_usrp类通过给定的地址返回底层的一个usrp设备对象:static sptr make(const device_addr_t &dev_addr);但看程序可以看到,multi_usrp是一个虚基类,很多函数并没有具体的实现除make()函数以外的所有函数都是纯虚函数。由此,USRP设备对象一原创 2015-12-14 10:55:40 · 2008 阅读 · 1 评论 -
get_gpio_attr()和read_gpio()
get_gpio_attr()和read_gpio()都可以用来对射频板的GPIO进行读取,只不过get_gpio_attr()处于比较顶层的位置,而read_gpio()更靠近底层。get_gpio_attr()在multi_usrp.hpp中声明;read_gpio()在sbx_commom.hpp中声明。要读取GPIO的输出,get_gpio_attr()中提供了两种方式:OUT和REA原创 2015-12-11 10:17:39 · 873 阅读 · 0 评论 -
USRP工作流程及各部分功能
usrp 设备包括母板,和通信子板,USB接口电路(usrp1) / 以太网卡(usrp2) 其功能分别为:子板:实现模拟信号的滤波,下变频,主要时间需要接收的信号转移到基带,模拟基带信号的最大可达44MHz母版:将子板获得的模拟基带信号进行采样,数字滤波,抽取得到上层需带宽和采样率的采样值,封装成数据包,交于接口电路USB接口电路 / 以太网卡:将封装好的采样值数据包传输于PC处原创 2013-12-22 20:49:34 · 5396 阅读 · 0 评论 -
WiKi上关于USRP使用的一些问答(一)
WiKi上关于USRP使用的一些问答,很有意义http://gnuradio.org/redmine/projects/gnuradio/wiki/USRP2GenFAQUp-to-date information on current USRP productsThe contents of this page refer to the original RAW Ethernet i原创 2014-01-05 15:50:04 · 5799 阅读 · 0 评论 -
USRP2 FPGA debugging
USRP2 FPGA debuggingThere's a debug port (MICTOR connector) on the USRP2 (J301) which you can route signals to for debugging. It's connected to the 32-bit wire "debug" in u2_core.v. Just conne原创 2014-08-28 21:15:01 · 932 阅读 · 0 评论 -
USRP中的半带滤波器
I will explain the RX side, the TX side is basically the same.small_hb_dec is the short filter which works at the higher rate. There are 2 of them instantiated, one for I and one for Q. It has 7 tap原创 2014-08-29 11:02:27 · 899 阅读 · 0 评论 -
USRP母板上处理器的作用
The aeMB processor is a fully synthesized CPU that forms the heart of the USRP2 FPGA system-on-a-chip design. It performs configuration and status reporting for all the FPGA peripherals, manages the原创 2014-08-29 11:00:52 · 1406 阅读 · 0 评论 -
关于USRP和gnuradio的数据类型
http://files.ettus.com/manual/page_stream.htmlDevice streamingTable of ContentsIntroduction to StreamingLink Layer EncapsulationData TypesThe host/CPU data typeThe link原创 2014-09-02 16:39:50 · 2709 阅读 · 0 评论 -
USRP pl2303串口转USB
黑GND,白TXD,绿RXD,红悬空。secureCRT:serial-COM3,波特率23400,其他默认。原创 2015-05-14 10:47:17 · 1011 阅读 · 0 评论 -
UHD - USRP2 and N2x0 Series Device Manual
UHD - USRP2 and N2x0 Series Device ManualTable of ContentsComparative features listLoad the Images onto the SD card (USRP2 only)Use the card burner tool (UNIX)Use the car转载 2015-05-14 11:12:16 · 1573 阅读 · 0 评论 -
属性树提供的操作函数
设备的树状结构为设备的管理提供了一个类似文件系统的方式。设备的每一个具体的子设备映射为一个叶子节点,而每一个叶子节点可进行的操作在property_tree API(property_tree.hpp)中给出。可以进行的操作有:1、static sptr make(void); 创建新的、空的属性树2、sptr subtree(const fs_path &path) const =原创 2015-12-09 20:37:37 · 813 阅读 · 0 评论 -
直接操作USRP属性树
在multi_usrp.hpp中以API的方式为用户提供了对USRP的操作方法,用户可以定义usrp指针后直接调用这些方法:即usrp.xxx()。然而,如果如果用户想进行API中没有提供的设置,就需要直接对USRP的属性树进行操作,通过属性树的根节点进入到叶子节点,然后调用叶子节点相应的方法:如usrp->get_device->get_tree()->access("path").get()/原创 2015-12-09 17:54:04 · 1336 阅读 · 2 评论