没有合适的资源?快使用搜索试试~ 我知道了~
资源推荐
资源详情
资源评论
Copyrights
2 Document No. 001-75664 Rev. *C GPIF II Designer 1.0
Copyrights
© Cypress Semiconductor Corporation, 2012-2013. 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 license 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.
Trademarks
PSoC Designer™, Programmable System-on-Chip™, PSoC Creator™, and SmartSense™ are trademarks and PSoC
®
and
CapSense
®
are registered trademarks of Cypress Semiconductor Corp. All other trademarks or registered trademarks
referenced herein are property of the respective corporations.
Source Code
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 personal, non-exclusive, non-transferable license to copy, use,
modify, create derivative works of, and compile the Cypress Source Code and derivative 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 Cypress
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.
GPIF II Designer 1.0 Document No. 001-75664 Rev. *C 3
Contents
GPIF II Designer 1.0 ............................................................................................................................................................... 1
Contents ................................................................................................................................................................................. 3
1. Introduction .................................................................................................................................................................... 5
1.1 Welcome ............................................................................................................................................................... 5
1.2 About Help ............................................................................................................................................................. 5
1.3 Technical Support .................................................................................................................................................. 6
1.4 Document Revision History ................................................................................................................................... 6
2. Getting Started ............................................................................................................................................................... 7
2.1 Creating a GPIF II Project ..................................................................................................................................... 8
2.2 Designing a GPIF II Interface ................................................................................................................................ 9
2.3 Integrating GPIF II Configuration ........................................................................................................................... 9
2.4 Analyzing Signal Timings of the Interface ............................................................................................................ 10
3. Understanding GPIF II Designer ................................................................................................................................. 11
3.1 Concepts ............................................................................................................................................................. 11
3.1.1 Cypress Supplied Interfaces ................................................................................................................... 11
3.1.2 Interface Concepts.................................................................................................................................. 12
3.1.3 FX3 DMA Architecture ............................................................................................................................ 13
3.1.4 GPIF II State Machine Concepts ............................................................................................................ 14
3.1.5 Timing Simulation Concepts ................................................................................................................... 14
3.2 User Interface ...................................................................................................................................................... 15
3.2.1 Start Page ............................................................................................................................................... 15
3.2.2 Interface Definition .................................................................................................................................. 15
3.2.3 Interface Customization .......................................................................................................................... 18
3.2.4 State Machine Canvas ............................................................................................................................ 18
3.2.5 Timing ..................................................................................................................................................... 20
3.2.6 Output Window and Notice List Window ................................................................................................. 22
3.2.7 Documentation and Context Help ........................................................................................................... 22
3.3 Tabs, Menus, and Shortcuts ................................................................................................................................ 23
3.3.1 Application Toolbar ................................................................................................................................. 23
3.3.2 File Menu ................................................................................................................................................ 23
3.3.3 View Menu .............................................................................................................................................. 24
3.3.4 Build Menu .............................................................................................................................................. 24
3.3.5 Timing Simulation ................................................................................................................................... 24
Contents
4 Document No. 001-75664 Rev. *C GPIF II Designer 1.0
3.3.6 Help Menu .............................................................................................................................................. 24
3.3.7 Shortcut Keys ......................................................................................................................................... 25
4. Programming GPIF II State Machine .......................................................................................................................... 26
4.1 GPIF II Overview ................................................................................................................................................. 26
4.2 GPIF II State Machine ......................................................................................................................................... 27
4.3 GPIF II Actions .................................................................................................................................................... 27
4.3.1 Action - IN_ADDR ................................................................................................................................... 32
4.3.2 Action - IN_DATA ................................................................................................................................... 32
4.3.3 Action - DR_DATA .................................................................................................................................. 33
4.3.4 Action - DR_ADDR ................................................................................................................................. 34
4.3.5 Action - COMMIT .................................................................................................................................... 34
4.3.6 Action - DR_GPIO .................................................................................................................................. 35
4.3.7 Action - LD_ADDR_COUNT ................................................................................................................... 36
4.3.8 Action - LD_DATA_COUNT .................................................................................................................... 37
4.3.9 Action - LD_CTRL_COUNT .................................................................................................................... 38
4.3.10 Action - COUNT_ADDR .......................................................................................................................... 38
4.3.11 Action - COUNT_DATA .......................................................................................................................... 38
4.3.12 Action - COUNT_CTRL .......................................................................................................................... 38
4.3.13 Action - CMP_ADDR .............................................................................................................................. 38
4.3.14 Action - CMP_DATA ............................................................................................................................... 39
4.3.15 Action - CMP_CTRL ............................................................................................................................... 40
4.3.16 Action - INTR_CPU ................................................................................................................................. 40
4.3.17 Action - INTR_HOST .............................................................................................................................. 40
4.3.18 Action - DR_DRQ ................................................................................................................................... 41
4.4 GPIF II Transition Equations and Triggers .......................................................................................................... 42
4.5 GPIF II Constraints .............................................................................................................................................. 43
4.5.1 Mirror States ........................................................................................................................................... 43
4.5.2 Intermediate States ................................................................................................................................. 47
4.6 Designing a GPIF II State Machine ..................................................................................................................... 47
4.6.1 Illustration of Implementing Asynchronous SRAM Interface ................................................................... 48
4.6.2 Analyzing Timing .................................................................................................................................... 56
4.7 GPIF II firmware API ............................................................................................................................................ 57
GPIF II Designer 1.0 Document No. 001-75664 Rev. *C 5
1. Introduction
1.1 Welcome
Welcome to GPIF™ II Designer - a software tool that configures the GPIF II port of EZ-USB
®
FX3 to connect to any
external device. This application generates programmable register values in the form of a C header file that you can
readily integrate with the firmware application code using the firmware API framework.
Figure 1-1. FX3 System Overview
The graphical user interface (GUI) provided by the application allows you to define the interface in the form of a state
machine diagram. The application generates warnings and error messages to guide you and prevent possible
erroneous input. The design that you enter is processed to generate a C program header file.
GPIF II Designer also provides a set of readily usable designs of standard and popular interfaces. Detailed
documentation of such interfaces describing the protocol definition along with timing diagrams are available when you
open the Cypress supplied interface project using GPIF II Designer. You can modify a few parameters of such
designs to customize the design to suit your target environment.
GPIF II Designer is part of the FX3 Software Development Kit.
1.2 About Help
GPIF II Designer Help provides information about tool usage and interfacing with the FX3 firmware. You can launch a
help topic corresponding to the current window by pressing the function key [F1]. Navigate the help pages launched
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.
剩余57页未读,继续阅读
资源评论
- ziduvince2018-03-05下来试试看
- qjyacmilan2015-06-02可以,很不错
- caiyulei20122014-12-10不错,讲的挺详细
- aa17499793752015-11-25很好 讲的够详细
huhong12345
- 粉丝: 0
- 资源: 3
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
最新资源
- (源码)基于HiEasyX库的学习工具系统.zip
- (源码)基于JSP+Servlet+JDBC的学生宿舍管理系统.zip
- (源码)基于Arduino和Raspberry Pi的自动化花园系统.zip
- (源码)基于JSP和Servlet的数据库管理系统.zip
- (源码)基于Python的文本相似度计算系统.zip
- (源码)基于Spring Boot和Redis的高并发秒杀系统.zip
- (源码)基于Java的Web汽车销售管理系统.zip
- (源码)基于Python的智能家居系统.zip
- (源码)基于Python和CPM模型的中文文本生成系统.zip
- (源码)基于Java Swing和MySQL的教务管理系统.zip
资源上传下载、课程学习等过程中有任何疑问或建议,欢迎提出宝贵意见哦~我们会及时处理!
点击此处反馈
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功