Page 2
Within the USA: +1 (800) 713-4113 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...
Revision History Revision History The revision history describes the changes that were implemented in the document. The changes are listed by revision, starting with the current publication. Revision 7.0 In revision 7.0, the document is updated for Libero v11.8 SP1 software release. Revision 6.0 Updated the document for Libero v11.7 software release.
The SmartFusion 2 SoC FPGA devices integrate a fourth generation flash-based FPGA fabric and an ARM Cortex-M3 processor. The SmartFusion2 SoC FPGA fabric includes embedded mathblocks, which are optimized specifically for digital signal processing (DSP) applications such as, finite impulse response (FIR) filters, infinite impulse response (IIR) filters, and fast fourier transform (FFT) functions.
SmartFusion2 SoC FPGA - Adaptive FIR Filter Demo signal. The algorithm iterates over each coefficient in the filter, moving it in the direction of the approximated gradient. After reaching the optimal filter coefficients, the error signal e(n) consists of the wideband signal.
SmartFusion2 SoC FPGA - Adaptive FIR Filter Demo e(n)= d(n)- y(n) EQ 1 where, e(n) is the error signal d(n) is desired signal The filter weights/coefficients are updated using the following equation: h(n+1)=h(n)+µ*e(n)*x(n-) EQ 2 where, h(n+1) indicates the estimated filter weights h(n) is present filter weights µ...
• GUI executable • Readme file The following figure shows the top-level structure of the SmartFusion2 Starter kit design files. For further details, refer to the readme.txt file. Figure 5 • SmartFusion2 Starter Kit Demo Design Files Top-Level Structure <download_folder>...
Page 12
SmartFusion2 SoC FPGA - Adaptive FIR Filter Demo 2.4.1.1 MSS Block The MSS block sends and receives the data between the Host PC (GUI interface) and FPGA fabric logic. The MMUART interface is used to communicate with the Host PC. FIC_0 interface (advanced peripheral bus (APB) master) is used to communicate with the fabric user logic.
1-3 Open, 2-4 Close Use the mini-USB port as the power source. Connect the FlashPro4 programmer to the P5 connector of the SmartFusion2 Starter kit board. Connect the Host PC USB port to the P1 Mini USB connector on the SmartFusion2 Starter kit board using the USB Mini-B cable.
SmartFusion2 SoC FPGA - Adaptive FIR Filter Demo Figure 9 • USB to UART Bridge Drivers for SmartFusion2 Starter Kit If USB to UART bridge drivers are not installed, download and install the drivers from www.microsemi.com/soc/documents/CDM_2.08.24_WHQL_Certified.zip DG0441 Demo Guide Revision 7.0...
Connect the FlashPro4 programmer to the J5 connector of the SmartFusion2 Security Evaluation kit board. Connect the Host PC USB port to the P1 Mini USB connector on the SmartFusion2 Security Evaluation kit board using the USB Mini-B cable. The following figure shows the board setup for running the DSP Adaptive FIR filter demo on the SmartFusion2 Security Evaluation kit.
SmartFusion2 SoC FPGA - Adaptive FIR Filter Demo Figure 10 • SmartFusion2 Security Evaluation Kit Setup Switch ON the SW7 power supply switch. Ensure that the USB to UART bridge drivers are automatically detected. This can be verified in the Device Manager of the Host PC.
SmartFusion2 SoC FPGA - Adaptive FIR Filter Demo Figure 11 • USB to UART Bridge Drivers for SmartFusion2 Security Evaluation Kit If USB to UART bridge drivers are not installed, download and install the drivers from www.microsemi.com/soc/documents/CDM_2.08.24_WHQL_Certified.zip. Programming the Demo Design...
SmartFusion2 SoC FPGA - Adaptive FIR Filter Demo Figure 12 • FlashPro - New Project Click Browse and navigate to the location where you want to save the project. Select Single device as the Programming mode. Click OK to save the project.
SmartFusion2 SoC FPGA - Adaptive FIR Filter Demo 2.6.2 Programming the Device Figure 13 • FlashPro Project Configuration Click PROGRAM to start programming the device. Wait until programmer status is changed to RUN PASSED as shown in the following figure.
The Adaptive FIR filter demo is provided with a user-friendly GUI that runs on the Host PC and communicates with the SmartFusion2 Starter kit. The UART is used as the underlying communication protocol between the Host PC and SmartFusion2 Starter kit or SmartFusion2 Security Evaluation kit.
SmartFusion2 SoC FPGA - Adaptive FIR Filter Demo Figure 15 • Adaptive FIR Filter Demo GUI The Adaptive FIR filter demo window consists of the following tabs: • Input Parameters: Configures the serial COM port, filter generation, and signal generation.
SmartFusion2 SoC FPGA - Adaptive FIR Filter Demo The Adaptive FIR filter Demo window is displayed, refer to the following figure. Figure 16 • Serial Port Configuration Serial Port Configuration: The COM port number is automatically detected and baud rate is fixed at 115200.
Wideband), FFT spectrum. Refer to the following figure. Figure 18 • Signal Generation Click Start to load the input data (1K samples) to the SmartFusion2 device for processing the filtering operation, refer to the following figure. Figure 19 • Adaptive FIR Filter Demo - Start After completing the filter operation, the GUI receives the error data and its FFT data from the Smart- Fusion2 device and plots as shown in the following figure.
SmartFusion2 SoC FPGA - Adaptive FIR Filter Demo Figure 20 • Error Signal: Time and Frequency Plot The narrowband signal component is suppressed gradually in the Error signal frequency spectrum. This can be observed in the Error signal FFT plot as shown in the following figure.
SmartFusion2 SoC FPGA - Adaptive FIR Filter Demo Figure 22 • Compare Error Signal: Time and Frequency Plot A window displaying the comparison between the input wide band and output wide band is dis- played, refer to the following figure.
SmartFusion2 SoC FPGA - Adaptive FIR Filter Demo The plot can be zoomed in for comparison, refer to the following figure. Figure 24 • Input Wide Band vs Output Wide Band Compare the Error signal (Output wide band signal) with the input wide band signal, refer to the following figure.
SmartFusion2 SoC FPGA - Adaptive FIR Filter Demo Page setup, print, show point values, Zoom, and set scale to default are other options for signal analysis. Figure 27 • Error Signal - GUI Options 10. The input signal and error signal values can be viewed in the Text Viewer tab. Click the Text Viewer tab and then click the corresponding View shown in the following figure.
SmartFusion2 SoC FPGA - Adaptive FIR Filter Demo The following figure shows the Text Viewer tab showing the Input Signal values. Figure 29 • Text Viewer: Input Signal Values 11. To save the Input Signal as a text file, right-click the Input Signal window. The Input Signal window displays different options as shown in the following figure.
Figure 31 • Exit Demo Conclusion This demo provides information about the features of the SmartFusion2 device including mathblocks and how to use Microsemi IPs (CoreFIR and CoreFFT) or narrow band interference cancellation application using adaptive filters. This Adaptive FIR filter based-demo is easy to use and provides several options to understand and implement digital signal processing (DSP) filters on the SmartFusion2 device.
Appendix: SmartDesign Implementation Appendix: SmartDesign Implementation Adaptive FIR filter SmartDesign is shown in the following figure. Figure 32 • Adaptive FIR Filter SmartDesign SmartDesign LMS_FIR_TOP is shown in the following figure. Figure 33 • LMS_FIR_TOP Smart Design DG0441 Demo Guide Revision 7.0...
Adaptive_FIR FIR_FILTER_0 is a System Builder generated component, in which MMUART is configured to handle the communication between the host PC and fabric logic. To generate a System Builder component, refer to the SmartFusion2 System Builder User Guide. DATAHANDLE_FSM Control logic to send/receive the data between MSS and data buffers...
Need help?
Do you have a question about the SmartFusion2 and is the answer not in the manual?
Questions and answers