SmartFusion2 MSS. SPI Configuration

Similar documents
SmartFusion2 MSS. MMUART Configuration

SmartFusion2 MSS. CAN Configuration

SmartFusion2 MSS. I2C Configuration

CoreConfigMaster v2.1. Handbook

SmartDesign MSS. Configurator Overview

CoreSMIP v2.0. Handbook

CoreResetP v7.0. Handbook

SmartFusion2 SoC FPGA Demo: Code Shadowing from SPI Flash to SDR Memory User s Guide

SPI-DirectC v1.1. User s Guide

SmartFusion2 MSS. DDR Memory Simulation

CoreHPDMACtrl v2.1. Handbook

CoreAHBtoAPB3 v3.1. Handbook

VHDL VITAL. Simulation Guide For Libero SoC v11.8

SmartDesign MSS. Cortex TM -M3 Configuration

CoreAPB3 v4.1. Handbook

CoreSDLC Driver User s Guide. Version 2.0

SmartFusion IEEE 1588 Reference Design User s Guide

Digital Mixed Signal Power Manager. Tutorial

SmartFusion2. Two-Port Large SRAM Configuration

SmartDesign MSS. Embedded FlashROM (efrom) Configuration

SmartFusion2 and IGLOO2. High Speed Serial Interface Configuration

SmartFusion2 SoC FPGA Demo: Code Shadowing from SPI Flash to DDR Memory User s Guide

Mixed Signal Power Manager Tutorial

CoreMDIO_APB v2.0. Handbook

Interrupting SmartFusion MSS Using FABINT

Microsemi IP Cores Accelerate the Development Cycle and Lower Development Costs

ZL70550 ADK Release Notes

SmartDesign MSS. ACE Simulation

SmartFusion. Dedicated Fabric Clock Conditioning Circuit with PLL Integration

DSP Flow for SmartFusion2 and IGLOO2 Devices - Libero SoC v11.6 TU0312 Quickstart and Design Tutorial

SmartFusion2. Dual-Port Large SRAM Configuration

CoreGPIO v3.1. Handbook

Military Grade SmartFusion Customizable System-on-Chip (csoc)

UG0648 User Guide Motor Control Libero Project

UG0446 User Guide SmartFusion2 and IGLOO2 FPGA High Speed DDR Interfaces

DG0633 Demo Guide IGLOO2 FPGA CoreTSE MAC 1000 Base-T Loopback Demo - Libero SoC v11.7 SP2

CoreRGMII v2.0. Handbook

Microsemi SmartFusion 2 SoC FPGA and IGLOO 2 FPGA

Network Time Synchronization Why It is Crucial for Regulatory Compliance in Enterprise Applications

SmartFusion: FPGA Fabric Synthesis Guidelines

Accessing External SDRAM through Fabric. Libero SoC Flow Tutorial for the SmartFusion2 SoC FPGA Superseded

Core System Services Lab - How to Use. Revision 4.0

UG0644 User Guide. DDR AXI Arbiter. February 2018

SyncServer S600/S650 Options, Upgrades and Antenna Accessories

ENT-AN0125 Application Note PHY, Integrated PHY-Switch VeriPHY - Cable Diagnostics Feature

SmartFusion2 - Accessing External SDRAM through Fabric - Libero SoC v11.5 TU0311 Tutorial. Superseded

UG0649 User Guide. Display Controller. February 2018

Maximizing Logic Utilization in ex, SX, and SX-A FPGA Devices Using CC Macros

DG0723 Demo Guide SmartFusion2 Imaging and Video Kit MIPI CSI-2

UG0693 User Guide. Image Edge Detection. February 2018

UG0693 User Guide Image Edge Detection

Microsemi Secured Connectivity FPGAs

DG0598 Demo Guide SmartFusion2 Dual-Axis Motor Control Starter Kit

Libero SoC v11.8 Service Pack 2 Release Notes 11/2017

Spatial Debug & Debug without re-programming in Microsemi FPGAs

Enhanced Prediction of Interconnect delays for FPGA Synthesis using MATLAB

Timing Constraints Editor User Guide

DG0849 Demo Guide PolarFire Dual Camera Video Kit

User Guide. PD-IM MH and PD-IM T4H Four 2-Pair Ports and Four 4-Pair Ports Evaluation Boards

AC342 Application Note CQFP to CLGA Adapter Socket

ZL30342 SyncE/SONET/SDH G.8262/Stratum3 & IEEE 1588 Packet G.8261 Synchronizer

Understanding 802.3at. PoE Plus Standard Increases Available Power

Using DDR for Fusion Devices

UG0725 User Guide PolarFire FPGA Device Power-Up and Resets

UG0812 User Guide. T-Format Interface. February 2018

ProASIC PLUS SSO and Pin Placement Guidelines

+Denotes lead-free/rohs-compliant. J5 1 J10 J13 4 J17 1 L1 1 L2 1 L4 L7 4

MAICMMC40X120 Application Note Power Core Module Mounting and Thermal Interface

AC400 Application Note SmartFusion2 SoC FPGA Flash*Freeze Entry and Exit - Libero SoC v11.8

Time Synchronization Trends for Critical Infrastructure. Randy Brudzinski Vice President Microsemi

0912GN-120E/EL/EP Datasheet E-Series GaN Transistor

MIPI CSI-2 Receiver Decoder for PolarFire

1214GN-50E/EL/EP Datasheet E-Series GaN Transistor Driver

Libero SoC v11.9 SP2 Release Notes 11/2018

0912GN-50LE/LEL/LEP Datasheets E-Series GaN Transistor Driver

ZL DPLL0/NCO0 Select Loop band., Phase slope limit. DPLL1/NCO1 Select Loop band., Phase slope limit. Configuration and Status GPIO SPI / I 2 C

Series 8 (12 Gbps) and Series 7 (6 Gbps) Technical Brief Flexible Configuration Options for Microsemi Adaptec SAS/SATA RAID Adapters

UG0850 User Guide PolarFire FPGA Video Solution

PoE Midspans Harness Universal Power for Your Network. White Paper

Total Ionizing Dose Test Report. No. 17T-RT3PE3000L-CG484-QMPWN

AC412 Application Note IGLOO2 FPGA Flash*Freeze Entry and Exit - Libero SoC v11.8

MML4400 Series Datasheet RoHS-Compliant Fast Surface Mount MRI Protection Diodes

PowerDsine Products Catalog

S Fully Assembled and Tested S On-Board 25MHz Crystal S Switches for Selecting Modes of Operation S SMA Connectors and AC-Coupled Clock I/Os

Power Matters. TM. Why Embedded Die? Piers Tremlett Microsemi 22/9/ Microsemi Corporation. Company Proprietary 1

Microsemi Corporation: CN18002

Looking for a Swiss knife for storage ecosystem management? A comparative study of SMI-S, Redfish and Swordfish

Microsemi Adaptec Trusted Storage Solutions. A complete portfolio of 12 Gbps Host Bus Adapters, RAID Adapters, SAS Expander and Cables

SmartFusion2, IGLOO2, and RTG4 Designing with Blocks for Libero SoC v11.8 in the Enhanced Constraint Flow User Guide

Power Modules with Phase-Change Material

MPS4101-6LP Datasheet 50 MHz 25 GHz RoHS-Compliant Control Device QFN SPST PIN

MMS006AA Datasheet DC 20 GHz GaAs MMIC SP2T Non-Reflective Switch

SmartFusion2, IGLOO2, and RTG4 Block Designing with Blocks for Libero SoC v11.8 in the Classic Constraint Flow User Guide

Power Matters. Antifuse Product Information Brochure

ZL ZL30260-ZL30267 and ZL40250-ZL30253 Evaluation Software User Manual. November 2015

MMA044AA Datasheet 6 GHz 18 GHz GaAs phemt MMIC Wideband Low-Noise Amplifier

CoreCORDIC v4.0. Handbook

Ultrafast Soft Recovery Rectifier Diode

2731GN-120V Datasheet Class-AB GaN-on-SiC HEMT Transistor

Schottky Surface Mount Limiting Diode Driver RoHS Compliant

Transcription:

SmartFusion2 MSS SPI Configuration

SmartFusion2 MSS SPI Configuration Table of Contents Introduction...................................................................... 3 1 Configuration Options............................................................... 4 2 Peripheral Signals Assignment Table.................................................. 5 3 Connectivity Preview............................................................... 6 4 Resource Conflicts................................................................. 7 Error Example............................................................................. 8 Warning Example........................................................................... 9 Information Example....................................................................... 10 5 Port Description.................................................................. 11 A Product Support.................................................................. 12 Customer Service......................................................................... 12 Customer Technical Support Center........................................................... 12 Technical Support......................................................................... 12 Website................................................................................. 12 Contacting the Customer Technical Support Center............................................... 12 ITAR Technical Support..................................................................... 13 2

Introduction The SmartFusion2 Microcontroller Subsystem (MSS) provides two SPI hard peripherals (APB_0 and APB_1 sub busses) with optional slave select ports extension. On the MSS canvas, you must enable (default) or disable each SPI instance based on whether it is being used in your current application. Disabled SPI instances are held in reset (lowest power state). By default, ports of enabled SPI instances are configured to connect to the device Multi Standard I/Os (MSIOs). Note that MSIOs allocated to a SPI instance are shared with other MSS peripherals. These shared I/Os are available to connect to MSS GPIOs and other peripherals when the SPI instance is disabled or if the SPI instance ports are connected to the FPGA fabric. The functional behavior of each SPI instance must be defined at the application level using the SmartFusion2 MSS SPI Driver provided by Microsemi. In this document, we describe how you to configure the MSS SPI instances and define how the peripheral signals are connected. For more details about the MSS SPI hard peripherals, please refer to the SmartFusion2 User Guide. 3

1 Configuration Options Slave Select Extension - You may drive up to eight slave select signals for each of the SPI instances as master. Figure 1-1 SPI Configuration Options 4

2 Peripheral Signals Assignment Table The SmartFusion2 architecture provides a very flexible schema for connecting peripherals signals to either MSIOs or the FPGA fabric. Use the signal assignment configuration table to define what your peripheral is connected to in your application. This assignment table has the following columns (Figure 2-1): MSIO - Identifies the peripheral signal name configured in a given row. Main Connection - Use the drop-down list to select whether the signal is connected to an MSIO or the FPGA fabric. Direction - Indicates if the signal direction is IN, OUT or INOUT. Package Pin - Shows the package pin associated with the MSIO when the signal is connected to an MSIO. Extra Connections - Use the Advanced Options check-box to view the extra connection options: Check the Fabric option to observe into the FPGA fabric a signal that is connected to an MSIO. Check the GPIO option to observe an input direction signal - from either the FPGA fabric or an MSIO - using an MSS GPIO. Figure 2-1 SPI Peripheral Signals Assignment Table 5

3 Connectivity Preview The Connectivity Preview panel in the MSS SPI Configurator dialog shows a graphical view of the current connections for the highlighted signal row (Figure 3-1). Figure 3-1 SPI Connectivity Preview 6

4 Resource Conflicts Because MSS peripherals (MMUART, I2C, SPI, CAN, GPIO, USB, Ethernet MAC) share MSIO and FPGA fabric access resources, the configuration of any of these peripherals may result in a resource conflict when you configure an instance of the current peripheral. Peripheral configurators provide clear indicators when such a conflict arises. Resources used by a previously configured peripheral result in three types of feedback in the current peripheral configurator: Information - If a resource used by another peripheral does not conflict with the current configuration, an information icon appears in the connectivity preview panel, on that resource. A tooltip on the icon provides details about which peripheral uses that resource. Warning/Error - If a resource used by another peripheral conflicts with the current configuration, a warning or error icon appears in the connectivity preview panel, on that resource. A tooltip on the icon provides details about which peripheral uses that resource. When errors are displayed you will not be able to commit the current configuration. You can either resolve the conflict by using a different configuration or cancel the current configuration using the Cancel button. When warnings are displayed (and there are no errors), you can commit the current configuration. However, you cannot generate the overall MSS; you will see generation errors in the Libero SoC log window. You must resolve the conflict that you created when you committed the configuration by reconfiguring either of the peripherals causing the conflict. The peripheral configurators implement the following rules to determine if a conflict should be reported as an error or a warning. 1. If the peripheral being configured is the GPIO peripheral then all conflicts are errors. 2. If the peripheral being configured is not the GPIO peripheral then all conflicts are errors unless the conflict is with a GPIO resource in which case conflicts will be treated as warnings. 7

Error Example The USB peripheral is used and uses the device PAD bounded to package pin Y30. Configuring the SPI_0 peripheral such that the DI port is connected to an MSIO results in an error. Figure 4-1 shows the error icon displayed in the Connectivity Assignment table for the DI port. Figure 4-1 Error Displayed in the Connectivity Assignment Table Figure 4-2 shows the error icon displayed in the Preview panel on the PAD resource for the DI port. Figure 4-2 Error in the Preview Panel 8

Warning Example The GPIO peripheral is used and uses the device PAD bounded to package pin Y30(GPIO_5). Configuring the SPI_0 peripheral such that the DI port is connected to an MSIO results in a warning. Figure 4-3 shows the warning icon displayed in the Connectivity Assignment table for the DI port. Figure 4-3 Warning Displayed in the Connectivity Assignment Table Figure 4-4 shows the warning icon displayed in the preview panel on the PAD resource for the DI port. Figure 4-4 Warning in the Preview Panel 9

Information Example The USB peripheral is used and uses the device PAD bounded to package pin Y30. Configuring the SPI_0 peripheral such that the DI port is connected to the FPGA fabric does not result in a conflict. However, to indicate that he PAD associated with the DI port (but not used in this case), the Information icon is displayed in the Preview panel (Figure 4-5). A tooltip associated with the icon provides a description of how the resource is used (USB in this case). Figure 4-5 Information Displayed in the Preview Panel 10

5 Port Description Table 5-1 Port Name Port Group Direction Description DI SPI_<n>_PADS SPI_<n>_FABRIC In Shift data in (master or slave) DO SPI_<n>_PADS SPI_<n>_FABRIC Out Serial data out (generated by SPI as master) CLK SPI_<n>_PADS SPI_<n>_FABRIC Inout Shift clock out (generated by SPI as master) SS0 SPI_<n>_PADS SPI_<n>_FABRIC Inout Dedicated slave select port (generated by SPI as master) SS<1:7> SPI_<n>_SS_PADS SPI_<n> _SS_FABRIC Out Optional slave select ports (generated by SPI as master) Note: Port names have the name of the SPI instance as a prefix, e.g. SPI_<n>_DI. Fabric main connection input ports names have "F2M" as a suffix, e.g. SPI _<n>_di_f2m. Fabric extra connection input ports names have "I2F" as a suffix, e.g. SPI_<n>_DI_I2F. Fabric output and output-enable ports names have "M2F" and "M2F_OE" as a suffix, e.g. SPI_<n>_DI_M2F and SPI_<n>_ DI_M2F_OE. PAD ports are automatically promoted to top throughout the design hierarchy. 11

A Product Support Microsemi SoC Products Group backs its products with various support services, including Customer Service, Customer Technical Support Center, a website, electronic mail, and worldwide sales offices. This appendix contains information about contacting Microsemi SoC Products Group and using these support services. Customer Service Contact Customer Service for non-technical product support, such as product pricing, product upgrades, update information, order status, and authorization. From North America, call 800.262.1060 From the rest of the world, call 650.318.4460 Fax, from anywhere in the world, 408.643.6913 Customer Technical Support Center Microsemi SoC Products Group staffs its Customer Technical Support Center with highly skilled engineers who can help answer your hardware, software, and design questions about Microsemi SoC Products. The Customer Technical Support Center spends a great deal of time creating application notes, answers to common design cycle questions, documentation of known issues, and various FAQs. So, before you contact us, please visit our online resources. It is very likely we have already answered your questions. Technical Support Website Visit the Customer Support website (www.microsemi.com/soc/support/search/default.aspx) for more information and support. Many answers available on the searchable web resource include diagrams, illustrations, and links to other resources on the website. You can browse a variety of technical and non-technical information on the SoC home page, at www.microsemi.com/soc. Contacting the Customer Technical Support Center Highly skilled engineers staff the Technical Support Center. The Technical Support Center can be contacted by email or through the Microsemi SoC Products Group website. Email You can communicate your technical questions to our email address and receive answers back by email, fax, or phone. Also, if you have design problems, you can email your design files to receive assistance. We constantly monitor the email account throughout the day. When sending your request to us, please be sure to include your full name, company name, and your contact information for efficient processing of your request. The technical support email address is soc_tech@microsemi.com. 12

My Cases Microsemi SoC Products Group customers may submit and track technical cases online by going to My Cases. Outside the U.S. Customers needing assistance outside the US time zones can either contact technical support via email (soc_tech@microsemi.com) or contact a local sales office. Sales office listings can be found at www.microsemi.com/soc/company/contact/default.aspx. ITAR Technical Support For technical support on RH and RT FPGAs that are regulated by International Traffic in Arms Regulations (ITAR), contact us via soc_tech_itar@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. Microsemi Corporation (NASDAQ: MSCC) offers a comprehensive portfolio of semiconductor solutions for: aerospace, defense and security; enterprise and communications; and industrial and alternative energy markets. Products include high-performance, high-reliability analog and RF devices, mixed signal and RF integrated circuits, customizable SoCs, FPGAs, and complete subsystems. Microsemi is headquartered in Aliso Viejo, Calif. Learn more at www.microsemi.com. Microsemi Corporate Headquarters One Enterprise, Aliso Viejo CA 92656 USA Within the USA: +1 (949) 380-6100 Sales: +1 (949) 380-6136 Fax: +1 (949) 215-4996 2012 Microsemi Corporation. All rights reserved. Microsemi and the Microsemi logo are trademarks of Microsemi Corporation. All other trademarks and service marks are the property of their respective owners. 5-02-00339-0/03.12