Accessing Serial Flash Memory Using SPI Interface Su pe rs ed ed Libero SoC v11.5 and SoftConsole Flow Tutorial for SmartFusion2 SoC FPGA TU0546 Accessing Serial Flash Memory Using SPI Interface - Libero SoC v11.5 Table of Contents Accessing Serial Flash Memory using SPI Interface- Libero SoC v11.5 . . . . . . . . . . . . . . . . . . . . . . . . . . 3 rs ed ed Introduction . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3 Design Requirements . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4 Associated Project Files . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4 Target Board . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4 Design Overview . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5 Step 1: Creating a Libero SoC Project . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6 Launching Libero SoC . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6 Connecting Components in SPI_Flash SmartDesign . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 13 Step 2: Generating the Program File . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 14 Step 3: Programming the SmartFusion2 Board Using FlashPro . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 14 Step 4: Configuring and Generating Firmware . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 16 Step 5: Building the Software Application using SoftConsole . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 17 Step 6: Configuring Serial Terminal Emulation Program . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 24 Step 7: Debugging the Application Project using SoftConsole . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 25 Conclusion . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 31 Appendix A - Board Setup for Running the Tutorial . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 33 Appendix B - SmartFusion2 Security Evaluation Kit Board Jumper Locations . . . . . . . . . . . . . . . . . . . . . 34 List of Changes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 35 Product Support . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 37 Su pe Customer Service . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Customer Technical Support Center . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Technical Support . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Website . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Contacting the Customer Technical Support Center . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Email . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . My Cases . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Outside the U.S. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . ITAR Technical Support . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Revision 3 37 37 37 37 37 37 38 38 38 2 Accessing Serial Flash Memory using SPI Interface- Libero SoC v11.5 Introduction ed The Libero® System-on-Chip (SoC) software generates firmware projects using SoftConsole, IAR, and Keil tools. This tutorial describes the process to build a SoftConsole application that can be implemented and validated using the SmartFusion®2 SoC field programmable gate array (FPGA) Security Evaluation Kit. The same firmware project can be built using IAR and Keil tools. Refer to the respective tutorials: • Accessing Serial Flash Memory using SPI Interface - Libero SoC and IAR Embedded Workbench Flow Tutorial for SmartFusion2 SoC FPGA • Accessing Serial Flash Memory Using SPI Interface - Libero SoC and Keil uVision Flow Tutorial for SmartFusion2 SoC FPGA rs ed After completing this tutorial, you will be able to perform the following tasks: • Create a Libero SoC project using System Builder • Generate the programming file to program the SmartFusion2 device Open the project in SoftConsole from Libero SoC • Compile application code • Debug and run code using SoftConsole Su pe • Revision 3 3 Accessing Serial Flash Memory using SPI Interface- Libero SoC v11.5 Design Requirements Table 1 • Design Requirements Design Requirements Description Hardware Requirements SmartFusion2 Security Evaluation Kit Rev D or later FlashPro4 programmer • USB A to Mini-B cable • 12 V adapter Host PC or Laptop Any 64-bit Windows Operating System Software Requirements ed • v11.5 SoftConsole v3.4SP1 FlashPro programming software v11.5 USB to UART drivers - One of the following serial terminal emulation programs: - • HyperTerminal • TeraTerm • PuTTY rs ed Libero SoC Associated Project Files Download the associated project files for this tutorial from the Microsemi® website: http://soc.microsemi.com/download/rsc/?f=m2s_tu0546_liberov11p5_df The demo design files include: LiberoProject • Programmingfile • Source Files • SPI_Flash_Drivers • Readme file pe • Su Refer to the Readme.txt file provided in the design files for the complete directory structure. Target Board SmartFusion2 Security Evaluation Kit board (SF2_EVAL_KIT) Rev D (or later). 4 R e vi s i o n 3 Design Overview Design Overview This design example demonstrates the execution of basic read and write operations on the SPI flash present on the SmartFusion2 Security Evaluation Kit board. This kit has a built-in winbond SPI flash memory W25Q64FVSSIG, which is connected to the SmartFusion2 microcontroller subsystem (MSS) through dedicated MSS SPI_0 interface. Read and write data information is displayed using HyperTerminal which communicates to the SmartFusion2 MSS using the MMUART_1 interface. For more information on SPI, refer to the SmartFusion2 Microcontroller Subsystem User Guide. Figure 1 shows interfacing the external SPI flash to MSS SPI_0. 066 WH[W 63,BB&/. 63,BB662 63,BB', 6, 6&. &6 rs ed 008$57BB5;' 63,B +\SHU7HUPLQDO 63,BB'2 008$57B +RVW3& 008$57BB7;' ed 6PDUW)XVLRQ 62 ([WHUQDO)ODVK 0HPRU\ )DEULF Su pe Figure 1 • SPI Flash Interfacing Block Diagram Revision 3 5 Accessing Serial Flash Memory using SPI Interface- Libero SoC v11.5 Step 1: Creating a Libero SoC Project The following steps describe how to create a Libero SoC project: Launching Libero SoC 1. Click Start > Programs > Microsemi Libero SoC v11.5 > Libero SoC v11.5, or click the shortcut on desktop to open the Libero SoC v11.5 Project Manager. pe rs ed ed 2. Create a new project by selecting New on the Start Page tab (highlighted in Figure 2), or by clicking Project > New Project from the Libero SoC menu. Figure 2 • Libero SoC Project Manager Su 3. In the Project Details window, enter the information as displayed in Figure 3. 6 – Project Name: SPI_Flash – Project Location: Select an appropriate location (for example, D:/Microsemi_prj) – Preferred HDL type: Verilog – Enable Block Creation: Unchecked R e vi s i o n 3 rs ed ed Step 1: Creating a Libero SoC Project Figure 3 • Project Details Window 4. Click Next. In the Device Selection window, select the information displayed in Figure 4. In the Part Filter (select the following values using the drop-down list) Family: SmartFusion2 – Die: M2S090TS – Package: 484 FBGA – Speed: -1 – Core Voltage: 1.2 – Range COM Su pe – Revision 3 7 rs ed ed Accessing Serial Flash Memory using SPI Interface- Libero SoC v11.5 Figure 4 • Device Selection Window 5. Click Next. The Device Settings window is displayed. Retain the default values. Su pe 6. Click Next. In the Design Template page, select the select Create a System Builder base design under the Design Templates and Creators. 8 R e vi s i o n 3 rs ed ed Step 1: Creating a Libero SoC Project Figure 5 • Design Template Window 7. Click Finish. A System Builder dialog box is displayed. pe Note: System Builder is a graphical design wizard. It creates a design based on high-level design specifications by taking the user through a set of high-level questions that will define the intended system. Su 8. Enter SPI_Flash as the name of the system and click OK, as shown in Figure 6. Figure 6 • System Builder Dialog Box Revision 3 9 Accessing Serial Flash Memory using SPI Interface- Libero SoC v11.5 rs ed ed 9. System Builder – Device Features page is displayed, as shown in Figure 7. Su pe Figure 7 • System Builder – Device Features Page 10 R e visio n 3 Step 1: Creating a Libero SoC Project pe rs ed ed 10. Click Next, the System Builder – Peripherals page is displayed. Under the MSS Peripherals section, Clear all the check boxes except MM_UART_1 and MSS_SPI_0, as shown in Figure 8. Figure 8 • System Builder Configurator – Select Peripherals Page Su 11. Click Next, the System Builder – ClocksSettings page is displayed, as shown in Figure 9. Select System Clock source as On-chip 25/50 MHz RC Oscillator. The M3_CLK is configured to 100 MHz by default. Revision 3 11 rs ed ed Accessing Serial Flash Memory using SPI Interface- Libero SoC v11.5 Figure 9 • System Builder Configurator – Clock Settings Page pe 12. Click Next, the System Builder – Microcontroller Options page is displayed. – Retain the default values. 13. Click Next, the System Builder – SECDED Options page is displayed. – Retain the default values. 14. Click Next, the System Builder – Security Options page is displayed. Retain the default values. Su – 15. Click Next, the System Builder – InterruptsOptions page is displayed. – Retain the default values. 16. Click Next, the System Builder – Memory MapOptions page is displayed. – Retain the default values. 17. Click Finish. The System Builder generates the system based on the selected options. 12 R e visio n 3 Step 1: Creating a Libero SoC Project ed The System Builder block is created and added to the Libero SoC project, as shown in Figure 10. Figure 10 • System Builder Generated System Connecting Components in SPI_Flash SmartDesign 1. Connect the pins as follows: Tie the FAB_RESET_N to high by right-clicking and selecting Tie High. – Mark the output port POWER_ON_RESET_N as unused by right-clicking and selecting Mark Unused. rs ed – – Mark the output port MSS_READY as unused by right-clicking and selecting Mark Unused. – Expand INIT_PINS, right-click INIT_DONE and select Mark Unused. – Expand FAB_CCC_PINS, right-click FAB_CCC_GL0 and select Mark Unused. – Right-click FAB_CCC_LOCK and select Mark Unused. Su pe 2. Click File > Save. The SPI_Flash design is displayed as shown in Figure 11. Figure 11 • SPI_Flash Design Revision 3 13 Accessing Serial Flash Memory using SPI Interface- Libero SoC v11.5 3. Generate the SPI_Flash Smart Design by clicking SmartDesign > Generate Component or by clicking Generate Component on the SmartDesign toolbar. Figure 12 • Generate Component Figure 13 • Log Window rs ed ed After successful generation of the system, the message ’info: SPI_Flash’ was successfully generated is displayed on the Libero SoC Log window as shown in Figure 13. Step 2: Generating the Program File pe Click Generate Bitstream as shown in Figure 14 to generate the programming file. Su Figure 14 • Generate Bitstream Step 3: Programming the SmartFusion2 Board Using FlashPro 1. Connect the FlashPro4 programmer to the J5 connector of the SmartFusion2 Security Evaluation Kit. 2. Connect the jumpers on the SmartFusion2 Security Evaluation Kit board as listed in Table 2 on page 15. For more information on jumper locations, refer Appendix B - SmartFusion2 Security Evaluation Kit Board Jumper Locations. 14 R e visio n 3 Step 3: Programming the SmartFusion2 Board Using FlashPro CAUTION: While making the jumper connections, the SW7 power supply switch on the board must be in OFF position. Table 2 • SmartFusion2 Security Evaluation Kit Jumper Settings Jumper Number Pin (from) Pin (to) Comments 1 2 These are the default jumper settings of the SmartFusion2 Security Evaluation Kit board. Make sure these jumpers are set properly. J22, J23, J24,J8, J3 3. Connect the power supply to the J6 connector. ed 4. Switch ON the SW7 power supply switch. Refer to Appendix A - Board Setup for Running the Tutorial for information on board setup for running the tutorial. Su pe rs ed 5. To program the SmartFusion2 device, double-click Run PROGRAM Action in the Design Flow window as shown in Figure 15. Figure 15 • Run Programming Action Revision 3 15 Accessing Serial Flash Memory using SPI Interface- Libero SoC v11.5 Step 4: Configuring and Generating Firmware The Design Firmware window displays compatible firmware drivers based on peripherals configured in the design. Following drivers are used in this tutorial: • CMSIS • MMUART • SPI To generate the required drivers, 1. Double-click Configure Firmware Cores in Handoff design for Firmware Development in design flow window. Clear all the drivers’ check boxes, except CMSIS, MMUART, and SPI as shown in Figure 16. rs ed ed Note:Select the latest version of the drivers. Figure 16 • Configuring Firmware 2. Double-click on Export Firmware in Handoff design for Firmware Development in design flow window. Su pe 3. Export Firmware dialog box is displayed as shown in Figure 17. Figure 17 • Export Firmware Dialog 4. Select SoftConsole3.4 from the drop down list. 5. Select Create project for selected Software Tool Chain. 6. Click OK. An information message like "Firmware project was successfully exported to <drive:\>Microsemi_prj\SPI_Flash" is displayed. 16 R e visio n 3 Step 5: Building the Software Application using SoftConsole . Figure 18 • Firmware Project Confirmation Dialog ed 7. Click OK. Step 5: Building the Software Application using SoftConsole 1. Click Start > Programs > Microsemi SoftConsole v3.4 > Microsemi SoftConsole v3.4.0.5 to open SoftConsole IDE. Su pe rs ed 2. SoftConsole Workspace Launcher window is displayed. Browse to the SoftConsole Project in the Libero Project folder as shown in Figure 19. Figure 19 • Invoking SoftConsole Revision 3 17 Accessing Serial Flash Memory using SPI Interface- Libero SoC v11.5 rs ed ed The SoftConsole workspace is displayed, as shown in Figure 20. Figure 20 • SoftConsole Workspace pe 3. Browse to the main.c file location in the design files folder: <download_folder>\SF2_SPI_Flash_SC_Tutorial_DF\Source Files. Su 4. Copy the main.c file and replace the existing main.c file under SPI_Flash_sb_MSS_CM3_app project in the SoftConsole workspace. 18 R e visio n 3 Step 5: Building the Software Application using SoftConsole rs ed ed The SoftConsole window displays the main.c file, as shown in Figure 21. Figure 21 • SoftConsole Workspace main.c file Su pe 5. winbondflash SPI flash drivers are not included in the Libero generated SoftConsole workspace. To include the drivers in the SoftConsole workspace, browse to the location of the winbondflash drivers in the design files folder: <download_folder>\SF2_SPI_Flash_SC_Tutorial_DF\SPI_Flash_Drivers. Revision 3 19 Accessing Serial Flash Memory using SPI Interface- Libero SoC v11.5 rs ed ed 6. Copy the winbondflash folder to the drivers folder of SPI_Flash_sb_MSS_CM3_hw_platform project in the SoftConsole workspace, as shown in Figure 22. pe Figure 22 • Project Explorer window Su This tutorial uses printf statements to display memory read data. Redirection of the output of printf() to a UART is enabled by adding the MICROSEMI_STDIO_THRU_UART symbol. 20 R e visio n 3 Step 5: Building the Software Application using SoftConsole Su pe rs ed ed 7. Right-click the SPI_Flash_sb_MSS_CM3_hw_platform in Project Explorer window of SoftConsole project and select Properties as shown in Figure 23. Figure 23 • Project Explorer window - Properties 8. In Properties window, select Settings under C/C ++ Build. 9. Select Symbols under GNU C Compiler. Revision 3 21 Accessing Serial Flash Memory using SPI Interface- Libero SoC v11.5 pe rs ed ed 10. To add a symbol, click Add and enter MICROSEMI_STDIO_THRU_UART in the Add Symbol dialog box and click OK. Figure 24 • SPI_Flash_sb_MSS_CM3_HW_Platform Properties window Su 11. Click Apply to save the changes made and click OK to close the Properties window. 22 R e visio n 3 Step 5: Building the Software Application using SoftConsole rs ed ed 12. Perform a build by selecting Project > Clean. Leave the default settings in the Clean dialog box and click OK, as shown in Figure 25. pe Figure 25 • Settings for a clean build Su Note: Ensure that there are no errors. Revision 3 23 Accessing Serial Flash Memory using SPI Interface- Libero SoC v11.5 Step 6: Configuring Serial Terminal Emulation Program 1. Install the USB driver. For serial terminal communication through the FTDI mini USB cable, install the FTDI D2XX driver. Download the drivers and the installation guide from: www.microsemi.com/soc/documents/CDM_2.08.24_WHQL_Certified.zip. pe rs ed ed 2. Connect the host PC to the J18 connector using the USB Mini-B cable. The USB to UART bridge drivers are automatically detected. Of the four COM ports, select the one with Location as on USB Serial Converter D. Figure 26 shows an example Device Manager window. Su Figure 26 • Device Manager Window 3. Start the HyperTerminal session. If the HyperTerminal program is not available in the computer, any free serial terminal emulation program such as PuTTY or TeraTerm can be used. Refer to the Configuring Serial Terminal Emulation Programs Tutorial for configuring the HyperTerminal, TeraTerm, or PuTTY. The HyperTerminal settings are as follows: – 24 115200 baud rate – 8 data bits – 1 stop bit – No parity – No flow control R e visio n 3 Step 7: Debugging the Application Project using SoftConsole Step 7: Debugging the Application Project using SoftConsole rs ed ed 1. Select Debug Configurations from the Run menu of the SoftConsole. The Debug Configurations dialog box is displayed. Double-click Microsemi Cortex-M3 Target to view the configurations, as shown in Figure 27. Figure 27 • Debug Configurations 2. Ensure that the following values are filled in the corresponding fields: Name: SPI_Flash_sb_MSS_CM3_app Debug – Project (optional): SPI_Flash_sb_MSS_CM3_app pe – – C/C++ Application: Debug\SPI_Flash_sb_MSS_CM3_app 3. Click Debug. Su 4. On the Confirm Perspective Switch window, click Yes, as shown in Figure 28. Figure 28 • Confirm Perspective Switch Revision 3 25 Accessing Serial Flash Memory using SPI Interface- Libero SoC v11.5 rs ed ed 5. The SoftConsole Debugger Perspective window is displayed, as shown in Figure 29. Figure 29 • SoftConsole Debugger Perspective Su pe 6. Run the application by clicking Run > Resume. A greeting message on the HyperTerminal is displayed as shown in Figure 30. Figure 30 • HyperTerminal Window 26 R e visio n 3 Step 7: Debugging the Application Project using SoftConsole rs ed ed 7. Select option 1 and enter values to write to the SPI flash memory as shown in Figure 31. Figure 31 • HyperTerminal Window - Option 1 Su pe 8. Select option 2 to read data from SPI flash memory as shown in Figure 32. Figure 32 • HyperTerminal Window - Option 2 9. Terminate execution of the code by choosing Run > Terminate. 10. Launch the debug session: Revision 3 27 Accessing Serial Flash Memory using SPI Interface- Libero SoC v11.5 – By selecting Debug Configurations from the Run menu of SoftConsole. – By selecting the Debug Configurations using Debug Button as shown in Figure 33. ed or Figure 33 • Debug Configurations Option Su pe rs ed 11. Click the Registers tab to view the values of the ARM® Cortex®-M3 processor internal registers, as shown in Figure 34. Figure 34 • Values of Cortex-M3 Internal Registers 28 R e visio n 3 Step 7: Debugging the Application Project using SoftConsole Su pe rs ed Figure 35 • Values of the Variables in the Source Code ed 12. Click the Variables tab to view the values of variables in the source code, as shown in Figure 35. Revision 3 29 Accessing Serial Flash Memory using SPI Interface- Libero SoC v11.5 Su pe rs ed ed 13. In the Debug window, select Window > Show View > Disassembly to display the assembly level instructions. The Disassembly window with assembly instructions is displayed on the right-side of the Debug perspective, as shown in Figure 36. Figure 36 • Assembly Level Instructions 14. Source code can be single-stepped by choosing Run > Step Into or Run > Step Over. Observe the changes in the source code window and Disassembly view. Performing a Step Over provides an option for stepping over functions. The entire function is run but there is no need to single-step through each instruction contained in the function. 15. Click Instruction Stepping ( ) and perform Step Into operations. Observe that Step Into executes a single line of assembly code. 30 R e visio n 3 Conclusion 16. Click Instruction Stepping to exit the instruction stepping mode. Single-step through the application and observe the instruction sequence in the source code window of the Debug perspective, and the values of the variables and registers. 17. Add breakpoints in the application to force the code to halt, then single-step and observe the instruction sequence. 18. When debug process is finished, terminate execution of the code by choosing Run > Terminate. 19. Close Debug Perspective by selecting Close Perspective from the Window menu. 20. Close SoftConsole using File > Exit. 21. Close the HyperTerminal using File > Exit. Conclusion Su pe rs ed ed This tutorial provides steps to create a Libero SoC design using the System Builder. It describes the procedure to build, debug, and run a SoftConsole application. It also provides a simple design to access SPI flash. Revision 3 31 Su pe rs ed ed Accessing Serial Flash Memory using SPI Interface- Libero SoC v11.5 32 R e visio n 3 Appendix A - Board Setup for Running the Tutorial Su pe rs ed ed Figure 1 shows the board setup for running the tutorial on the SmartFusion2 Security Evaluation Kit board. Figure 1 • SmartFusion2 Security Evaluation Kit Setup Revision 3 33 Appendix B - SmartFusion2 Security Evaluation Kit Board Jumper Locations U12 ed RVI/IAR 1 19 A B J18 4 SW2 1 3 TXD2P 19 1 U5 1H1 I2C1_SDA 4 2 I2C0_SCL 1 13 J10 J8 M2GL_M2S-EVAL-KIT DVP-102-000402-001 2 4 Rev D 20 J15 1 A H J9 2 TXD2N A1 Trace DBG 1 K20 A SW5 SW4 16 TP5 GND Y3 L2 I2C0_SDA 2 1 L6 SW1 L20 C103 U26 B1 J25 J26 CON1 L0 B11 B12 J16 TC18 TC19 1P2V_CUR_SENSE TP16 1P2V TP17 CUR_PLL_L23 2P5V_LDO TP10 GND U21 J27 1 3 C79 XTAL CUR_PLL_L01 2P5V_LDO U23 TP18 TP19 1P8V 1P8V_CUR_SENSE 1 A TP7 GND 4 TP11 GND SW3 J20 J23 OSC SERDES_REFCLK1 U22 SMA 1 Y5 Y4 pe U25 J21 Active CLK_EN HZ 2 TP15 1 3 L7 U24 J28 1 4 1 1 J30 PROBE A GND PROBE B TP14 1 TP9 U20 A1 U18 J22 P1 U19 SERDES_REFCLK1N J17 RXD2N U16 CUR_VDDA_PLL CR4 J4 U15 SPI CR2 GND 1 CR3 9 PROG Header B1 DEVRST SW6 K16 JTAG_SEL 3 SERDES_REFCLK1P X1 CR1 K21 L18 U9 GND TP1 20 2 L5 U11 TP6 J24 10 RXD2P 1 Y1 J2 FTDI-GPIO B7 B6 B5 A7 A6 A5 A4 1 L L19 RMT 1 2 3 4 U1 U14 SF2-GPIO J1 G H5 H6 J6 H7 G7 F3 F4 E1 A TC9 TC10 TC6 L3 A1 TP8 USB C2 Y2 J14 17 C3 G 10 5 G 2 U7 LED2 DPR1 5 C5 C4 20 10 rs ed U10 1 FTDI C7 C6 G J5 J7 1 ON 20 J13 5 D2 TP3 J11 100MBPS LINK J12 LPDDR 1 D4 D3 L3 TC7 TC8 4 J18 D5 U6 L2 TP4 GND SW7 3 ETH PHY-SGMII G L1 3 2 D9 30 15 G U8 1 SWT J6 1 12V I/P 2 G 40 20 G D7 D6 TP2 J3 U4 TC5 TC4 50 G G GND TC3 12V U2 RMT 60 GND I2C1_SCL G TC2 TC1 3 1 C7 1GMBPS LINK 3.3V C10 D8 5V 1 U13 Figure 1 shows the jumper locations on the SmartFusion2 Security Evaluation Kit board. J29 B18 Su Figure 1 • SmartFusion2 Security Evaluation Kit Board Jumper Locations Notes: • Jumpers highlighted in red are set by default. • Jumpers highlighted in green must be set manually. • The locations of the jumpers in Figure 1 are searchable. Revision 3 34 List of Changes The following table shows important changes made in this document for each revision. Revision* Changes Page Revision 3 (March 2015) Updated the document for Libero SoC v11.5 software release (SAR 64190). N/A Revision 2 (October 2014) Updated the document for Libero SoC v11.4 software release (SAR 61627). N/A Revision 1 (April 2014) Initial release. N/A Su pe rs ed ed Note: *The revision number is located in the part number after the hyphen. The part number is displayed at the bottom of the last page of the document. The digits following the slash indicate the month and year of publication. Revision 3 35 ed rs ed pe Su 36 R e visio n 3 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 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 ed Contact Customer Service for non-technical product support, such as product pricing, product upgrades, update information, order status, and authorization. rs ed 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 For Microsemi SoC Products Support, visit pe http://www.microsemi.com/products/fpga-soc/designsupport/fpga-soc-support Website Su 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 [email protected]. Revision 3 37 Product Support 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 ([email protected]) or contact a local sales office. Sales office listings can be found at www.microsemi.com/soc/company/contact/default.aspx. ITAR Technical Support Su pe rs ed ed For technical support on RH and RT FPGAs that are regulated by International Traffic in Arms Regulations (ITAR), contact us via [email protected]. 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. 38 R e visio n 3 ed rs ed pe Su Microsemi Corporation (Nasdaq: MSCC) offers a comprehensive portfolio of semiconductor and system solutions for communications, defense & security, aerospace and industrial markets. Products include high-performance and radiation-hardened analog mixed-signal integrated circuits, FPGAs, SoCs and ASICs; power management products; timing and synchronization devices and precise time solutions, setting the world’s standard for time; voice processing devices; RF solutions; discrete components; security technologies and scalable anti-tamper products; Power-over-Ethernet ICs and midspans; as well as custom design capabilities and services. Microsemi is headquartered in Aliso Viejo, Calif., and has approximately 3,400 employees globally. Learn more at www.microsemi.com. Microsemi Corporate Headquarters One Enterprise, Aliso Viejo, CA 92656 USA Within the USA: +1 (800) 713-4113 Outside the USA: +1 (949) 380-6100 Sales: +1 (949) 380-6136 Fax: +1 (949) 215-4996 E-mail: [email protected] © 2015 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. Microsemi makes no warranty, representation, or guarantee regarding the information contained herein or the suitability of its products and services for any particular purpose, nor does Microsemi assume any liability whatsoever arising out of the application or use of any product or circuit. The products sold hereunder and any other products sold by Microsemi have been subject to limited testing and should not be used in conjunction with mission-critical equipment or applications. Any performance specifications are believed to be reliable but are not verified, and Buyer must conduct and complete all performance and other testing of the products, alone and together with, or installed in, any end-products. Buyer shall not rely on any data and performance specifications or parameters provided by Microsemi. It is the Buyer's responsibility to independently determine suitability of any products and to test and verify the same. The information provided by Microsemi hereunder is provided "as is, where is" and with all faults, and the entire risk associated with such information is entirely with the Buyer. Microsemi does not grant, explicitly or implicitly, to any party any patent rights, licenses, or any other IP rights, whether with regard to such information itself or anything described by such information. Information provided in this document is proprietary to Microsemi, and Microsemi reserves the right to make any changes to the information in this document or to any products and services at any time without notice. 50200546-3/03.15