📄 readme.txt
字号:
The purpose of this code is to demonstrate how to get started using the GPIFTool utility in
EZUSB FX2 GPIF applications...
Chapter 10 of the EZUSB FX2 TRM explains the General Programmable Interface (GPIF)...
This example configures FX2 as follows:
01). EP2 512 4x BULK OUT - 8-bit async MANUAL mode
02). EP6 512 4x BULK IN - 8-bit async MANUAL mode
.....from "the user":
01). Initially strap:
- RDY0 to GND
- RDY1 to VCC (through a 10k ohm resistor)
02). Setup Logic Analyzer (similar to *.TIF files)
03). Download "gpiftool.hex"
04). Issue "Get String"
05). Issue "Get Pipes"
06). Issue "Get Conf"
07). Issue "Get Dev"
08). Trigger Logic Analyzer on CTL1 going low
09). BulkTrans EP2 OUT 512 data
10). Examine Logic Analyzer output
- should look similar to "GPIFEX01.TIF" and "GPIFEX02.TIF"
11). Trigger Logic Analyzer on CTL0 going low
12). strap RDY0 to VCC (through a 10k ohm resistor)
13). Examine Logic Analyzer output
- should look similar to "GPIFEX03.TIF", "GPIFEX04.TIF" and
"GPIFEX05.TIF"
14). BulkTrans EP6 IN 512 data
- You may need to do this several times, depending on how long RDY0 was asserted...
- You may see short packets (less than 512) due to unstable RDY0, etc.
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -