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...
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).
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 •...
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.
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.
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.
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 •...
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.
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.
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.
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...
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...
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.
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).
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.
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.
Need help?
Do you have a question about the SmartFusion2 and is the answer not in the manual?
Questions and answers