Anonymous
Not applicable
May 29, 2012
09:12 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
May 29, 2012
09:12 AM
Is it possible to set PA0 and PA1 as interrupt input while using PA4 and PA5 as fifoaddr at the same time ??
1 Reply
Anonymous
Not applicable
May 30, 2012
12:30 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
May 30, 2012
12:30 AM
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