Microsemi SmartFusion2 Demo Manual
Microsemi SmartFusion2 Demo Manual

Microsemi SmartFusion2 Demo Manual

Usb otg capabilities - libero soc v11.7
Hide thumbs Also See for SmartFusion2:

Advertisement

SmartFusion2 - USB OTG Capabilities -
Libero SoC v11.7
DG0476 Demo Guide

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the SmartFusion2 and is the answer not in the manual?

Questions and answers

Subscribe to Our Youtube Channel

Summary of Contents for Microsemi SmartFusion2

  • Page 1 SmartFusion2 - USB OTG Capabilities - Libero SoC v11.7 DG0476 Demo Guide...
  • Page 2: Table Of Contents

    2 USB OTG Capabilities of SmartFusion2 ........
  • Page 3 Figure 9. SmartFusion2 USB Device Detection on Host PC/Laptop ....... 13 Figure 10.
  • Page 4 SmartFusion2 Security Evaluation Kit Jumper Settings ....... . . 10...
  • Page 5: Preface

    UG0331: SmartFusion2 Microcontroller Subsystem User Guide • Configuring Serial Terminal Emulation Programs Tutorial • TU0546: SoftConsole v4.0 and Libero SoC v11.7 Tutorial Refer to the following web page for a complete and up-to-date listing of SmartFusion2 device documentation: www.microsemi.com/products/fpga-soc/soc-fpga/sf2docs#documents. Revision 6...
  • Page 6: Usb Otg Capabilities Of Smartfusion2

    USB OTG Capabilities of SmartFusion2 Introduction Microsemi offers a reference design for the SmartFusion2 SoC FPGA devices that demonstrates the USB controller OTG feature and implements the USB mass storage class. The reference design runs on the SmartFusion2 Security Evaluation Kit. The SmartFusion2 SoC FPGA device contains a USB OTG controller as part of the microcontroller subsystem (MSS).
  • Page 7: Demo Design

    USB OTG Capabilities of SmartFusion2 Demo Design 2.3.1 Introduction The demo design files are available for download from the following path in the Microsemi website: http://soc.microsemi.com/download/rsc/?f=m2s_dg0476_liberov11p7_df The demo design files include: • Libero • USB drivers • Stapl programming file •...
  • Page 8: Demo Design Features

    USB host based on the target device and type of plug connected to the USB OTG controller. If the Micro-A end of the cable is plugged into the SmartFusion2 device through the external PHY, the USB controller takes the role of the host and goes into the Host mode. The Host mode flag is set to 1.
  • Page 9: 2.3.3.1 Usb Otg Mode Execution Flow

    Device mode specific events. When the SmartFusion2 device is connected to the host PC with Micro-B to A USB cable, the USB connect interrupt is generated and the Host mode flag is set to 0. The USB controller enters into mass storage class device mode and starts responding to the commands from the host PC.
  • Page 10: Setting Up The Demo Design

    Connect the FlashPro4 programmer to the J5 connector of the SmartFusion2 Security Evaluation Kit board. Connect the host PC to the J18 connector on the SmartFusion2 Security Evaluation Kit board using the USB A to Mini-B cable. Ensure that the USB to UART bridge drivers are automatically detected. Download and install the drivers from www.microsemi.com/soc/documents/CDM_2.08.24_WHQL_Certified.zip.
  • Page 11: Board Setup

    Connect the power supply to the J6 DC jack. 2.4.1 Board Setup Snapshots of the SmartFusion2 Security Evaluation Kit board with the complete set up for both types of connections are given in the following sections: • "Appendix: Board Set up for USB OTG Controller in USB Device Mode" on page 15 •...
  • Page 12: Figure 6. Flashpro Project Configured

    12. Click PROGRAM to start programming the device. Wait until a message is displayed indicating that the program passed. This demo requires the SmartFusion2 device to be preprogrammed with the application code to activate the USB OTG functionality. Therefore, the SmartFusion2 device is preprogrammed with the usb_otg_demo.stp file using the FlashPro software.
  • Page 13: Smartfusion2 Usb Otg Controller Acting As Usb Device

    SmartFusion2 USB OTG Controller Acting as USB Device The following steps describe how to use the SmartFusion2 USB OTG Controller as a USB device: Connect the host PC to the micro AB receptacle (P1 connector) on the SmartFusion2 Security Evaluation Kit board using the Micro-B to A USB cable.
  • Page 14: Smartfusion2 Usb Otg Controller Acting As Usb Host

    Figure 10. Ensure that the mass storage device is preformatted. Connect the Micro-A end of the Micro-A to B USB cable to the P1 connector of the SmartFusion2 Security Evaluation Kit board. The SmartFusion2 USB OTG controller switches to the USB Host mode and detects the connected USB mass storage device to perform transactions as the USB host.
  • Page 15: Appendix: Board Set Up For Usb Otg Controller In Usb Device Mode

    Appendix: Board Set up for USB OTG Controller in USB Device Mode Appendix: Board Set up for USB OTG Controller in USB Device Mode Figure 12 • Setup for USB OTG Controller in USB Device Mode Revision 6...
  • Page 16: Appendix: Board Setup For Usb Otg Controller In Usb Host Mode

    Appendix: Board Setup for USB OTG Controller in USB Host Mode Appendix: Board Setup for USB OTG Controller in USB Host Mode Figure 13 • Setup for USB OTG Controller in USB Host Mode Revision 6...
  • Page 17: Appendix: Jumper Locations

    U24 J28 TP14 CON1 B11 B12 Figure 14 shows the jumper locations in the SmartFusion2 Security Evaluation Kit board. Notes: • Jumpers highlighted in red (J22, J23, J8, J3) are set as default. • Jumpers highlighted in green (J24) need to be set manually.
  • Page 18: Revision History

    Revision History Revision History The following table shows important changes made in this document for each revision. Revision Changes Revision 6 Updated the document for Libero v11.7 software release (SAR 76712). (March 2016) Revision 5 Updated the document for Libero v11.6 software release (SAR 72555). (October 2015) Revision 4 Updated the document for Libero v11.5 software release (SAR 64193).
  • Page 19: Product Support

    So, before you contact us, please visit our online resources. It is very likely we have already answered your questions. Technical Support For Microsemi SoC Products Support, visit http://www.microsemi.com/products/fpga-soc/design-support/fpga-soc-support. Website You can browse a variety of technical and non-technical information on the Microsemi SoC Products Group home page, at http://www.microsemi.com/products/fpga-soc/fpga-and-soc. Contacting the Customer Technical Support Center Highly skilled engineers staff the Technical Support Center.
  • Page 20: Outside The U.s

    For technical support on RH and RT FPGAs that are regulated by International Traffic in Arms Regulations (ITAR), contact us via soc_tech@microsemi.com. Alternatively, within My Cases, select Yes in the ITAR drop-down list. For a complete list of ITAR-regulated Microsemi FPGAs, visit the ITAR web page.
  • Page 21 The information provided by Microsemi hereunder is provided “as is, where is” and with all faults, and the entire © 2016 Microsemi Corporation. All risk associated with such information is entirely with the Buyer.

Table of Contents