PROGRAMMING THE CYPRESS CY3671 FOR GPIF ACCESS
Applies to: C51 C Compiler
Information in this article applies to:
When using the Cypress EZ-USB FX CY3671, how can I read and write
to the GPIF configuration registers to access the general purpose
FIFO's (memory from X:0x7800-0x7B3F). In particular, I am trying to
write and read to the AINPF register.
Follow these steps to write or read the AINPF register:
Make sure you are in the slave FIFO mode (IFCONFIG is set to
Make sure that you are not using the memory window to change
the variable value at the location (AINPF in this case). The
registers at address locations 0x7800 and greater are not general
purpose RAM in the CY3671. Reading certain registers have some
triggering effect on values of other registers.
Use the "Watch and Call Stack" window and add the specific
watch variable (ANPIF) in the watch#1 window. Then you may change
(write to) the ANPIF or read from (watch) the ANPIF.
Refer to Application Note
162 which shows how to program and debug applications with the
Cypress EZ-USB Board and the Keil development tools.
Article last edited on: 2005-07-09 09:49:47
Rate this article
Disagree? Move your mouse over the bar and click