您好,欢迎光临本网站![请登录][注册会员]  
文件名称: GPIF II Designer Quick Start Guide_001-74526_0.pdf
  所属分类: 嵌入式
  开发工具:
  文件大小: 1mb
  下载次数: 0
  上传时间: 2019-08-24
  提 供 者: gaojie*******
 详细说明:GPIF II Designer Quick Start GuideCYPRESS PERFORM GPIF Il Designer-Quick Start Guide Figure 2. Start Page Showing Cypress Supplied Interfaces 问 Edt view Build Tools Hep e Acton List GPIFMII Designer CYPRESS ync admux GPIFTMII Designer Introduction rface etween =x3 ard ]≠ sync slave_fh etemal e e ca ba Dess Interfaces 1 n generates the necessar ayc fifo 2bit syrc save tito班t 圆 async slave ffo 2bit 面 sync slave fifo2bt Pnojects e async_slava_tto_5bit async_slave_tito_5bit Dyamic he d async admuxcfK E xilinx_progslave cyx 回 syrc sav_ fifo 2bit rests2 L syre save fifo hit ryfr Ba asyNc_slave_fifo_SLiL yfs Address Data. Mutiplexec Interace L syrc save fito 2bit rasds.c rd settings rao\DesktoP Open Exist v//:e tol provies use Cok CAncel mee varous settngs ct the E unit EA Nouce uE The start page provides links to open Cypress supplied Interfaces. The user can click on the Interface to create a copy of the interface project for use. a graphical interface will prompt the iser to enter a folder location of choice to copy the project as shown in Figure 2. Enter a name for the project and the location on disk Once the project is created, the Interface customization window is displayed. This window provides a graphical view of the P-port external interface the left pane shows the available customizations for the Interface opened as shown Figure 3 Document number: 001-74526 ReV * B Page 3 of 8 CYPRESS GPIF II Designer-Quick Start Guide P RM Figure 3. Interface Customization Page Em" Designer [C:\ ide EV View Build Toois Hd H。曲口 Start Hape Intertace Lustomzaton state Nacrne IngLcourenthor F ACDoN Le. IO MErt Corfouratitn KA_Macy GIo.9 Dynam Hep Folwing arameans ef tre proton can b: modifed to su e th: tang et:nvro0nent w嚣。 bscbcted e bus wic.h: Endianness igureendann:ss r.s as L/TleE/ o E of E 0En08? Application processor the Drea n tarne 1 Ful ownEr MEeter i wrong oat Select the aporate aban c setthe Flag User can modify the parameters listed on left pane. Also for some of the signals the GPlo assignment can be modified by clicking on the GPlo label on the FX3 5. Designing a GPIF lI Interface The user can define the required interface on the processor port of FX3 by entering a stat machine. One can start a new project or use one of the example projects and modify. To create a new project, use the "New Project"command from the File menu. Enter a name for the project and select the location of the project to be saved on disk Figure 4. New Project Dialog Box I Designs Interfaces eal GPF Il Design Creates a project for GPIF II Design proje ok Cancel Document Number: 001-74526 ReV *B Page 4 of 8 CYPRESS PERFORM GPIF Il Designer-Quick Start Guide Once the project is created the Interface Definition Window is displayed. Enter the Interface Settings using the left pane menus. Use function key -F1 to popup detailed help Figure 5. Interface Definition Window Iulerdue SelLing I/ o Matrix Contig」ratn here s used UART Interface type ○Mter sF10183E aPI_19.0E 4+ Commurication type P17 Gp100: E Databas Clock settings eNternal GP1029:22 Address Dus Active cock edge POSTE Endianness oi LiHe enda OHg andan ddress BaLd bus usde Data bus width as:○BiO32Bt Number of address pins used: 8 HOECK E Inus: 3 EZ USB⑥R3 Application Processor 4 1 The interface definition window allows users to define the lo level external interface the central pane of this window displays the graphical view of the FX3 P-port interface. All settings related to Interface are arranged with selectable options on the left pane. It is recommended to complete the Interface definition settings before drawing the state machine diagram The graphical view of FX3 external interface displays the input and output signals along with the address data bus based on the selections made by the user on the left pane. The user can double click on the signal line to bring a dialog box to configure the signal settings. Each signal can be assigned with a user defined alpha numeric name string. The tool automatically assigns an available GPlo to each signal. This assignment of a GPlo to a signal can also be modified by double clicking on the signal. The pin(GPlO)assignment to each signal also can be modified by clicking on each the GPIo label provided along with the signal. Note that signals with special functions can be modified After defining the Interface move to the state machine canvas using the tab on top left part of the centre pane. Add states from Add State"command from the menu displayed with the right click of mouse Populate each state with required actions from the menu on the right pane. Draw transitions between states and define the transition equation by double clicking on the transition line Document number: 001-74526 ReV * B Page 5 of 8 CYPRESS GPIF II Designer-Quick Start Guide P RM Figure 6. State Machine Canvas 回可 File =d state Machine Build Ioos Help 日画回10,Nmm!10 Start Page Interface Definiior state Machine Tiring Aaon凵s IN ADDr LD CTRL OOUNT OGIC CA TN 5Dn REAL DONE →scso IFR CP」 CSEPBENDEOL ne state mechine adding o ototo Select Arr state command fmm the menit to add state to the canvas eoErmre a o warnings( Macesgec After defining the interface using the state machine use the Build project" command to generate the code that can be integrated to the FX3 firmware application. Code is generated aC" header file under the project folder. The header file by default is named cytxgpif2contig. h, which can be modified using the"Build Settings"command on the"Build"menu 6. State Machine Simulation to view Timing Diagram GPIF II Designer converts the state machine diagram (along with the interface settings) entered by the user to an Interface implementation of the processor port of FX3. the state machine thus corresponds to a digital signal interface. The relative timing of the signals will be definite and car be represented as a timing diagram. The relative timing of the input and output signals of a state machine implementation can be simulated in the form a timing diagram using the Timing Window Follow these steps to perform timing analysis 1. Complete the Interface settings and state machine diagram. The project should be buildable without errors 2. Select the state machine path to simulate timing and save it as Timing Scenario. The toolbar icon to create Timing scenario is provided on the top strip of the timing window the user can enter a unique name to identify the scenario. a path of the state machine can be traversed by selecting the state names appearing on the menu provided 3. Load a timing scenario from the list. the list of saved timing scenarios is available for load on the top pane of the Timing window. The input and output signals are displayed with the minimum setup and hold time requirements as per the state machine implementation Document Number: 001-74526 ReV *B Page 6 of 8 PERFORM GPIF Il Designer-Quick Start Guide Figure 7. Timing Display Using State Machine Simulator ErIE GDIFMI Docignor [C: leync-Blavo _fifo_ 2bit. cydrnkync-slavo fifo_2bitcyf] File Edt view Timing simulaion Build Tools Help M。函 TiringecenanioeBurctead,②B所512 WaterMark: 0 stat Page Interface Oustomzatim Mach TVE gA T1 1 11111111 111111111111111111lmn11n 111111111111 mn Ill FACA FACE 7. Integrating the Generated Header File The generated header file contains data structures that are compliant with the EZ-USB FX3 firmware framework APl. The user needs to copy the generated header file into the firmware application folder and include it in the source file. the firmware application needs to call appropriate GPif Il APis to load and start the state machine a sample code snippet that configures the gpif ll interface is shown as follows / Load the configuration into the GPIF registers. CyFxGpifConfig is defined in the gpif II designer generatea header file. GpifprojName will be replaced by the name of the users GPIF II Project name * -atus CyU3PGpifLoad (&GpifprojName CyFxGpifConfig) if (status ! CY U3P SUCCESS retu≌ n status / start the operation of the GPIF II state machine. Both GPIFPROUNAME START and gPiffrojname AlPhA start are defined in the header file. */ status CyU3PGpifsMstart (GPIFPROJNAME START GPIFPROJNAME ALPHA START) if (status ! CY U3P SUCCESS) return statusi Document number: 001-74526 ReV * B Page 7 of 8 CYPRESS GPIF II Designer-Quick Start Guide P RM 8. Getting help a comprehensive user manual explaining the usage of the tool is available on".\GP/F/ Designerldocumentation" folder under the installation folder(by default the installation folder is C: Program FilesICypressI) A context sensitive help is available from the tool. The context sensitive help provides information on tool usage as well as on interfacing with the FX3 firmware A help topic corresponding to the window on focus can be launched by pressing the function key [F1]. The help pages launched can be navigated as follows Use the Contents tab to view all of the help topics in a structured table of contents Select Topics from the Help menu to open this help system Use the Index tab to find and view key topics alphabetically Use the search tab to find specific topics by keywords C Cypress Semiconductor Corporation 2012. The information contained herein is subject to change without notice. Cypress semiconductor Corporation assumes no responsibility for the use of any circuitry other than circuitry embodied in a Cypress product. Nor does it convey or imply any icense under patent or other rights. Cypress products are not warranted nor intended to be used for medical, life support, life saving, critical control or safety applications, unless pursuant to an express written agreement with Cypress. Furthermore, Cypress does not authorize its products for use as critical components in life-support systems where a malfunction or failure may reasonably be expected to result in significant injury to the user. The inclusion of Cypress products in life-support systems application implies that the manufacturer assumes all risk of such use and in doing so indemnifies Cypress against all charges GPIF and Ez-USB are trademarks or registered trademarks of Cypress Semiconductor Corporation. All other trademarks or registered trademarks referenced herein are property of the respective corporations Any Source Code(software and/or firmware)is owned by Cypress Semiconductor Corporation(Cypress)and is protected by and subject to worldwide patent protection(United States and foreign), United States copyright laws and international treaty provisions. Cypress hereby grants to licensee a works for the sole purpose of creating custom software and or firmware in support of licensee product to be used only in conjunction with a Cyprestive rsonal, non-exclusive, non-transferable license to copy, use, modify, create derivative works of, and compile the cypress Source Code and derivative integrated circuit as specified in the applicable agreement. Any reproduction, modification, translation, compilation, or representation of this Source Code except as specified above is prohibited without the express written permission of Cypress Disclaimer: CYPRESS MAKES NO WARRANTY OF ANY KIND. EXPRESS OR IMPLIED, WITH REGARD TO THIS MATERIAL INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. Cypress reserves the right to make changes without further notice to the materials described herein. Cypress does not assume any liability arising out of the application or use of any product or circuit described herein. Cypress does not authorize its products for use as critical components in life-support systems where a malfunction or failure may reasonably be expected to result in significant injury to the user. The inclusion of Cypress product in a life-support systems application implies that the manufacturer assumes all risk of such use and in doing so indemnifies Cypress against all charges Use may be limited by and subject to the applicable Cypress software license agreement Document Number: 001-74526 ReV *B Page 8 of 8
(系统自动生成,下载前可以参看下载内容)

下载文件列表

相关说明

  • 本站资源为会员上传分享交流与学习,如有侵犯您的权益,请联系我们删除.
  • 本站是交换下载平台,提供交流渠道,下载内容来自于网络,除下载问题外,其它问题请自行百度
  • 本站已设置防盗链,请勿用迅雷、QQ旋风等多线程下载软件下载资源,下载后用WinRAR最新版进行解压.
  • 如果您发现内容无法下载,请稍后再次尝试;或者到消费记录里找到下载记录反馈给我们.
  • 下载后发现下载的内容跟说明不相乎,请到消费记录里找到下载记录反馈给我们,经确认后退回积分.
  • 如下载前有疑问,可以通过点击"提供者"的名字,查看对方的联系方式,联系对方咨询.
 输入关键字,在本站1000多万海量源码库中尽情搜索: