how to set gpif to its idle state by setting register in fx2lp gpif?
in GPIFIDLECS register...
IDLEDRV bit is equal to 0 -->tristate the data bus
DLEDRV bit is equal to 1-->drive the data bus
by clearing the IDLEDRV bit to 0,can i put gpif in idle state?
or
can i use GPIFABORT register to put the gpif in idle state?
help me
Solved! Go to Solution.
Hi Geetha,
You can write 0xFF to GPIFABORT register to immediately abort a GPIF transaction and transition to the Idle State.
Regards,
Hemanth
Hi Geetha,
You can write 0xFF to GPIFABORT register to immediately abort a GPIF transaction and transition to the Idle State.
Regards,
Hemanth
thank you,but again i need to put gpif in transition state...how can i do this?
Hi,
If you mean you need to restart the GPIF after aborting then you need to use GPIFTRIG to again trigger the waveform.
If this is not your requirement please mention exact scenario.
Regards,
Hemanth
Hi hemanth,
An image sensor is interfaced to fx2lp,
i wanted to stop data coming from an image sensor when i dont need,so that time i will abort gpif
when i need data ,i will trigger gpif
is that possible?
thank you...
Yes, it is possible. You can trigger the waveform in the firmware using GPIFTRIG whenever necessary.
Regards,
Hemanth