1 Reply Latest reply on May 30, 2012 12:30 AM by gaya

    different function pin of CY7C68013

    lee.matin

        Is it possible to set PA0 and PA1 as interrupt input while using PA4 and PA5 as fifoaddr at the same time ??

        • 1. Re: different function pin of CY7C68013
          gaya

          Hi George,

             

           

             

          In Slave FIFO mode, PA4 and PA5 by default act as FIFOADR lines. Thus, in order to use PA4 & PA5 as FIFOADR lines, you just need to configure FX2LP in Slave FIFO mode. Once in Slave FIFO mode, you can select between the functions of PA0/1 pins. It can either be used as GPIO or INT pins. In order to use them as INT pins set PORTACFG.0/PORTACFG.1 accordingly.

             

          i.e. It is possible to use PA0/1 as INT pins, and PA4/5 as FIFOADR lines. For that the settings should be as follows:

             

          IFCONFIG[0:1] = 11

             

          PORTACFG[0] = 1

             

          PORTACFG[1] = 1

             

           

             

          Regards,

             

          Gayathri