Inventra HDRC USB Controller

Mentor USB Controller系列之寄存器解析 要想深入理解并灵活运行mentor提供的这套controller,需要我们对里面的每个寄存器都深入理解。本文详细解释了每个寄存器以及使用方法和注意事项。提示:以下是本篇文章正文内容,下面案例可供参考以上内容对寄存器做了详细的解析,并对一些关键的寄存器bit做了备注,在实际使用过程中需要软件特别的注意。寄存器的定义对应了每个功能,只有详细了解每个寄存器的物理含义以及使用说明,才能更好的实现相关的功能。 阅读详情

http://processors.wiki.ti.com/index.php/Inventra_HDRC_USB_Controller




Inventra HDRC USB Controller

Translate this page to 
  •  
  •  
  •  
  •  
  •     
  • MAINTENANCE ALERT: 05 MAY 2012 
    The Embedded Processors Wiki is scheduled to undergo routine maintenance and updates between the hours of 8:00 AM and 12:00 PM (GMT -5) on Saturday, May 5, 2012. 
    During this period, the wiki content may be unavailable for short periods of time and will not be editable. Please plan accordingly.

    The Inventra HDRC USB Controller (HDRC = Highspeed Dual Role Controller) is a member of an ASIC design family that is used by TI and several other vendors for implementing USB functionalities. Modes of the unit are master (host, A device; with high, full and low speed) and slave (gadget, B device; high and full speed). Some variants might only support 4 fully flexible endpoints in slave mode at the same time. In master mode some variants of this units might only drive one slave or endpoint at a time plus one hub in between. Due to the sufficiently smart switching ability between those modes the USB On-The-Go (OTG) standard is implemented by this unit.

    Contents

      [hide]

    TI semiconductors equipped with this unit

    This unit is used in these TI devices:

    • DaVinci (DM355, DM365, DM644x, DM6467)
    • OMAP (OMAP 243x, OMAP 3; DA830/OMAP-L137)
    • TUSB 6010

    Linux drivers

    This unit is supported by the Linux kernel by the musb code and module. For using it it needs to be enabled whilst configuring the kernel included desired sub options and maybe the more general Linux USB OTG capability.

    The TI data sheet for the OMAP35x (dated July 2008) lists this features:

    • Host mode driver
      • Mass Storage Class (MSC) Host
      • Hub Class.
      • Human Interface Devices (HID)
      • Isochronous Devices(ISO)
    • Slave mode driver
      • Mass Storage Class (MSC) Slave.
      • Communication Device Class (CDC) Slave support
      • Remote Network Driver Interface Specification (RNDIS) Slave support.

    For that specific processor at that time OTG was mentioned as not-supported by the described version of the drivers.

    The LSP 1.20 documentation (April 2008) for the DaVinci family states this:

    The USB peripheral provides support for USB 2.0 including HID, HDD, CD and mass storage classes. [...] The USB driver is implemented as a communication driver. EDMA is used for both host and device operations. USB host and slave drivers are described in the following sections.

    And later provides this more detailed listing on the drivers maturity state:

    • Supports data transfer in both PIO and DMA mode for all kernel preemption modes
    • Supports host and slave operations
    • Supports class driver for HID and Mass storage.
    • Supports USB ISO Class
    • Supports partial USB OTG for HNP and SRP. (HNP=Host Negotiation Protocol, SRP=Session Request Protocol)
      • USB OTG functionality has been tested on the DM355 devices by connecting two EVMs back to back using a mini-AB USB cable.
      • OTG functionality is currently operated/invoked by providing inputs to the proc entry.

    With the publicly available preliminary documentation for LSP 2.10 dealing with the "DaVinci Linux Device Drivers" there comes a rich set of USB bandwidth benchmarks for a variety of processors and the following listing of featured USB drivers:

    • Data transfer in both PIO and DMA mode for all preemption modes
    • Internal CPPI DMA is used for both host and device operations.
    • Interrupt Endpoint scheduling feature to overcome the limitations of availability of number of Interrupt endpoints.
    • Provision to reserve bulk or Isochronous endpoints according to the necessity.
    • MSC Host and Slave support
    • USB HID Host support with hiddev and evdev interfaces
    • CDC Slave support (see e.g. this page at usb-software.org)
    • RNDIS Slave support
    • USB-ISO Audio/Video Host support

    The software driver stack is divided in at least two functional layers. The base is the musb_hdrc module that knows about and controls the ASIC unit. The upper layers are formed by a set of gadget drivers for the various functionalities. These will, depending on system configuration, load and then plug in to the musb_hdrc module. They will get activated after the USB connection has successfully completed its configuration cycle using the Session Request Protocol (SRP) and finished this in the matching mode (host/gadget). The driver further takes care for the right voltage detection state as provided by the hardware unit. The hardware unit provides voltage level indicators matching the A mode (AVALID) and B mode (general VALID indicator) requirements, thus correct external wiring of all related pins of the SOC is necessary for proper operation.

    Other Family members

    Another naming related to a variant of this unit in the Linux kernel driver source is:

    Inventra (Multidrop) Highspeed Dual-Role Controllers: (M)HDRC

    Other variants out there in the wild are known as:

    Mentor Graphics Inventra USB Full-Speed Dual-Role Controller (MUSBFDRC)

    Web Links

    Technology Related Press Releases

    Leave a Comment

    Mentor USB Controller EDA仿真系列之Bulk In传输 本文主要介绍Mentor USB Controller传输Bulk In包的整个流程,包括前期phy上电、控制器上电以及内部相关状态机运作情况,以及host和device两种情况下的软件配置。并重点介绍了该包传输的整体flow。文章最后对仿真过程中遇到的问题做了介绍并给出了解决该问题的一种方法。提示:以下是本篇文章正文内容,下面案例可供参考1. 首先保证phy能正常输出xclk,该clk是接给controller使用的,要想phy能正确产生xclk,则phy的driver必须正确。 阅读详情

    相关推荐

    Mentor USB Controller EDA仿真系列之Bulk Out传输

    本文主要介绍Mentor USB Controller传输Bulk Out包的整个流程,包括前期phy上电、控制器上电以及内部相关状态机运作情况,以及host和device两种情况下的软件配置。并重点介绍了该包传输的整体flow。文章最后对仿真过程中遇到的问题做了介绍并给出了解决该问题的一种方法。

    luyil的博客 430

    wifi驱动移植

    8188EUS移植 1、 内核配置 硬件上将USB的ID引脚接地 内核将DM365的USB配置成USB HOST工作模式 [*] USB_SUPPORT ---> Inventra Highspeed Dual Role Controller (TI,ADI,...)         *****Platform Glue Layer      Davinci

    2150

    嵌入式UART/USB寄存器配置详解:从低功耗唤醒到DMA优化

    在嵌入式系统开发中,串行通信是连接传感器、外设与主控的核心技术。其底层原理依赖于对硬件寄存器的精准配置,而非仅仅调用高级API。通过理解UART的波特率生成、中断与唤醒机制,以及USB的端点管理、FIFO缓冲和DMA传输原理,开发者能够从根源上优化通信的可靠性、实时性与功耗。这些知识对于实现稳定的数据采集、低功耗物联网设备唤醒以及高速批量数据传输等场景至关重要。本文聚焦于UART的唤醒使能寄存器(WER)和USB的CPPI DMA等关键寄存器,深入解析其配置逻辑与常见陷阱,为构建高效、可靠的嵌入式通信链路提

    weixin_29168813的博客 305

    USB实现(1)-Ti AM335x系列CPU

    本文参照了Ti AM335x的技术手册。 AM335x处理器提供了两个USB2.0 模块。每个USB控制器都是围绕Mentor USB OTG控制器(musbmhdrc)和TI PHY构建的。每个USB 控制器具有用户可配置的32K字节的端点FIFO。两个USB模块共享CPPI DMA控制器和相应的队列管理器中断步态器,电源管理模块和PHY / UTMI时钟。 下图是AM335x的U

    hahachenchen789的博客 3800

    MUSBHSFC原理及其驱动.pdf

    关于MUSBHSFC的详细原理解释及其驱动,全中文版,助你理解usb,用好usb外设。共十余个章节,1、usb体系结构;2、系统设置;3、usb协议分析;4、musbhsfc;5、编程方案;6、ep0处理;7、ep0服务例程;8、usb数据传输类型;9、批量传输in;10、批量传输out;11、linux模拟u盘代码分析

    musbhsfc_pg.pdf

    一款USB芯片手册,内有使用该芯片的完整说明和代码

    MUSB (3) --- OMAP2430 USB OTG Controller(device)

    MUSB (3) --- OMAP2430 USB OTG Controller(device) 2013-12-13 17:19:52 分类: Android平台 1. Makefile fudan_abc在他的《Linux那些事儿之我是USB》中反复提到了Makefile.作为整个软件架构分析的map. 这里拾人牙慧也按照这种方式来描述MUSB的软件架构. 红色部

    metuu的专栏 2038

    DataGridView 右键菜单复制(公共)

    dataGridView1.CellMouseClick += new DataGridViewCellMouseEventHandler( (sender1, e1) => { if (e1.Button == MouseButtons.Right) {

    沁心渃水 2834

    am335x usb linux配置,AM335X Usb 配置设备 RNDIS

    首先:打开linux 内核配置菜单:$ make CROSS_COMPILE=arm-arago-linux-gnueabi- ARCH=arm menuconfig在主菜单选择Device Drivers......Power management options --->[ ] Networking support --->Device Drivers --->File s...

    weixin_29802189的博客 239

    Qwen3-Embedding选型指南:0.6B/4B/8B三版本性能对比与场景匹配建议

    本文深入解析阿里开源的Qwen3-Embedding系列模型(0.6B/4B/8B)的性能差异与适用场景,提供从边缘计算到云端部署的实战选型建议。通过实测数据对比响应延迟、内存占用和多语言精度等核心指标,帮助技术团队根据业务需求选择最优模型版本,并分享边缘设备优化与云端成本测算策略。

    qsc901234567的博客 895

    学Simulink——基于风力发电系统的建模与仿真场景:基于自适应控制的风力发电系统输出功率调节

    本文详细介绍了使用Simulink搭建风力发电系统自适应控制模型的完整流程。首先阐述了风速波动对电网的影响及自适应控制的优势,然后逐步指导创建Simulink项目、搭建系统结构(包括风速源、风轮机、发电机等模块),重点讲解了模型参考自适应控制器(MRAC)的设计步骤和参数设置方法。通过仿真分析验证了系统在风速变化时仍能保持输出功率稳定,展示了自适应控制的响应速度和鲁棒性。最后提出了引入深度学习预测、多变量控制等优化方向,为新能源领域工程师提供了实用的建模与仿真指导。

    amy_mhd的博客 220

    musb_core.c 是usb_general.c 调用进musb模块的核心函数,

    musb_core.c 是usb_general.c 调用进musb模块的核心函数, 里面有usb,musb,dma,platform模块等内容。 1. musb_init(): 查看文本打印? /* make us init after usbcore and i2c (transceivers, regulators, etc)   * and

    metuu的专栏 4576

    银行监管报送系统介绍(十五):金融审计平台

    金审平台主要包括基础、财务、结算、信贷和中间业务五大板块,主要服务于审计署对中国银行的各项审计任务,同时也可为行内审计、稽核检查、数据分析、总分行提供基础数据服务,为实现基础数据共享提供了有力的数据保障。2019年1月某全国性股份制商业银行收到审计署2019-23号文,文中指出为进一步提高审计数据质量,审计署审计组派员前往9家重点商业银行,就完善标准化数据的相关情况与各银行有关部门进行讨论协商。关于数据报送频率及报送内容:数据从2019年4月开始,按月报送,即于每月25日之前报送上月数据;

    银行信息系统应用架构详解 2062

    Universal Serial Bus (USB)

    Controller Area Network (CAN)

    weixin_39296862的博客 1867

    Oracle11g下载与安装(windows)

    一、Oracle11g下载 二、安装准备 三、执行安装步骤 四、测试连接 附:Oracle11g服务说明

    欢迎订阅我的“JAVA全栈开发笔记(全)”专栏,价格优惠,仅需19.9元。 2万+

    INFFUS 2025 | DDBFusion:基于双重分解和贝塞尔曲线的统一图像分解与融合框架

    现有的图像融合算法大多集中于网络架构和损失函数的设计,采用统一的特征提取策略,却忽略了冗余信息和有效信息的划分。然而,对于互补信息而言,统一的特征提取器可能并不适用。因此,本文提出了一种基于贝塞尔曲线图像增强和分层分解的统一图像融合算法,并构建了一个自监督学习任务来学习有意义的信息。其中,贝塞尔曲线旨在模拟不同的图像特征,并构建特殊的自监督学习样本,因此作者的方法不需要特定任务的数据,并且可以在公共自然图像数据集上轻松进行训练。同时,作者的双重分解自监督训练方法可以为模型赋予冗余信息过滤能力。

    小白学视觉 308

    基于ARM Linux下3G模块的通用驱动编写总结

    写在之前:本文档无意对前人的相关抄袭,只是在前人的基础上进行补充,在此特别感谢前人的文档支持,有关疑惑点都加以备注,希望对需要的朋友已帮助。 本文介绍在嵌入式Linux中,实现3G联网的基本方法。包括驱动配置,和联网的过程。  硬件:3G USB模块(华为E261)+sim卡(联通) 开发板:x210 Linux kernel:2.6.28.10 注:此方法不针对任何开发板,但内

    脱水的a鱼 1344

    我写了一个自动识别火车车厢位置的算法【lidar点云识别】

    我写了一个自动识别火车车厢位置的算法【lidar点云识别】

    qq_43212290的博客 805

    MUSB(4) --- OMAP2430 USB OTG Controller (Driver)

    MUSB(4) --- OMAP2430 USB OTG Controller (Driver) 2013-12-17 15:42:18 分类: Android平台 在上一个章节中,我们分析了MUSB device部分的内容.这些其实是比较死板僵硬的.按照SPEC一步步来就行了. 1. resources (1) 在CPU上的registers的物理地址 (2

    metuu的专栏 1489

    uniapp(vue3)- 详解安装/使用pinia报错reportJSException >>>> exception function:createInstanceContext, excepti

    uniapp vue3 pinia报错reportJSException >>>> exception function:createInstanceContext, exception:white screen cause create instanceContext failed,check js stack -> at useStore,H5网页,微信小程序,安卓App,苹果App,nvue,uniapp安装使用pinia出现报错at useStore,uniapp+vue3+ts 使用pinia报

    🏆 前端领域优质创作者 4049

    计算机控制技术及应用

    《计算机控制技术及应用》通过总结作者的科研成果和吸收国内外的先进理论、方法和技术,以计算机控制系统的网络化、开放化、智能化和集成化发展趋势为主线索,主要介绍计算机控制系统的基本概念和计算机控制系统的典型形式,计算机控制系统的数学描述与基本分析方法,以及数字PID控制器、最少拍控制系统、达林算法、状态变量设计法等设计方法及其各种改进算法。重点突出计算机控制系统输入输出通道接口的设计方法和典型控制系统的设计案例与实现方法等。

    USB OTG学习笔记

    仅仅看了半天SPEC写的笔记,有些乱,等调试完毕再次整理,思路不是很成熟,推测成分较多,可能有不对的地方,欢迎拍砖交流指正。   1. 概要 OTG设备使用插头中的ID引脚来区分A/B Device,ID接地被称作为A-Device,为连接时候的USB Host,A-Device始终为总线提供电力,ID悬空被称作为B-Device,为连接时候的USB Device,设备的USB Host/U

    ljzcom的专栏 3009

    霍尼韦尔SoftMaster使用说明

    霍尼韦尔SoftMaster使用说明

    Linux USB Configuration

    Linux USB Configuration Linux PSP USB Driver Contents  [hide] 1 Introduction 1.1 Linux USB Stack Architecture 2 Driver configuration 2.1 To configure the USB Dr

    metuu的专栏 5745

    VB摄像头监控

    该VB模块可对摄像头捕获的画面进行录像等,可在创建的窗口进行控制

    efm32 入门.pdf

    本PDF共计22页,介绍的是操作驱动API,下载与否自己斟酌。

    usb的设置

    背景设置usb0为host模式,支持u盘的热插拔。设置usb1为otg模式,支持设备作为u盘连接到电脑。 我对usb没有研究,但是linux内核对usb的支持非常强大,不需要修改代码,只需配置就可以实现。设备树首先,查看并设置usb的设备树 其中具体设置在am33xx.dtsi中usb: usb@47400000 { compatible = "ti,am33xx-usb

    donglicaiju76152的专栏 3706

    BeagleBoard Black A5C boot log

    U-Boot SPL 2013.04-dirty (Jun 19 2013 - 09:57:14) musb-hdrc: ConfigData=0xde (UTMI-8, dyn FIFOs, HB-ISO Rx, HB-ISO Tx, SoftConn) musb-hdrc: MHDRC RTL version 2.0  musb-hdrc: setup fifo_mode 4 musb

    2406

    STM32的 USB传输(双缓冲)

    以下内容载自网络 前天测试自己编写的USB驱动程序时候发现从主机到STM32的OUT传输(主机到设备)速率竟然只有最高33KB/S,实在是晕死了。经过研究后发现是驱动程序中设置的PIPE MaxTransferSize参数的关系,原先设置64只能33KB/S,后参考其他USB设备驱动程序的值,设置成了65535,再测试USB OUT的速度,达到了500KB/S,终于解决了驱动程序的瓶颈。

    Yasin Lee 7764
    上一篇: STM32的 USB传输(双缓冲)
    下一篇: USB协议浅析和USB设备设计简介
    YasinLeeX
    博客等级 码龄19年 380粉丝 310原创
    评论
    成就一亿技术人!
    拼手气红包6.0元
    还能输入1000个字符
     
     条评论被折叠 查看
    添加红包

    请填写红包祝福语或标题

    个

    红包个数最小为10个

    元

    红包金额最低5元

    当前余额3.43元 前往充值 >
    需支付:10.00元
    成就一亿技术人!
    领取后你会自动成为博主和红包主的粉丝 规则
    hope_wisdom
    发出的红包

    打赏作者

    YasinLeeX

    再来一杯西湖龙井。

    ¥1 ¥2 ¥4 ¥6 ¥10 ¥20
    扫码支付:¥1
    获取中
    扫码支付

    您的余额不足,请更换扫码支付或充值

    打赏作者

    实付元
    使用余额支付
    点击重新获取
    扫码支付
    钱包余额 0

    抵扣说明:

    1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
    2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

    余额充值