Giter Site home page Giter Site logo

synopsys-usb-otg's Introduction

crates.io crates.io Build Status

synopsys-usb-otg

usb-device implementation for Synopsys USB OTG IP cores.

This project is a successor to the great work started by @mvirkkunen.

Supported microcontrollers

  • STM32F429xx (OTG_FS and OTG_HS in FS mode)
  • STM32F401xx
  • STM32F446xx (OTG_FS and OTG_HS in FS mode)
  • STM32F723xx (OTG_FS and OTG_HS with internal HS PHY)
  • STM32H7xxxx (OTG1_HS and OTG2_HS in FS mode, and OTG1_HS with external HS PHY)
  • And others...

Usage

This driver is intended for use through a device hal library. Such hal library should implement UsbPeripheral for the corresponding USB peripheral object. This trait declares all the peripheral properties that may vary from one device family to the other. Additionally, hal should pass fs of hs feature to the synopsys-usb-otg library to define a peripheral type:

  • fs - for FullSpeed peripherals
  • hs - for HighSpeed peripherals

Only one peripheral type can be selected at the moment.

ULPI Transciever Delay

Some ULPI PHYs like the Microchip USB334x series require a delay between the ULPI register write that initiates the HS Chirp and the subsequent transmit command, otherwise the HS Chirp does not get executed and the deivce enumerates in FS mode. Some USB Link IP like those in the STM32H7 series support adding this delay to work with the affected PHYs. Enable the xcvrdly feature to add this delay.

Examples

See the usb-otg-workspace repo for different device-specific examples.

synopsys-usb-otg's People

Contributors

dfrankland avatar dimpolo avatar disasm avatar fooker avatar jrobsonchase avatar lichtfeind avatar mattico avatar mvirkkunen avatar richardeoin avatar texitoi avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.