cancel
Showing results for 
Search instead for 
Did you mean: 

USB Superspeed Peripherals

Anonymous
Not applicable

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

0 Likes
Reply
1 Solution
Moderator
Moderator

Hi Geetha,

You can write 0xFF to GPIFABORT register to immediately abort a GPIF transaction and transition to the Idle State.

Regards,

Hemanth

Hemanth

View solution in original post

5 Replies
Moderator
Moderator

Hi Geetha,

You can write 0xFF to GPIFABORT register to immediately abort a GPIF transaction and transition to the Idle State.

Regards,

Hemanth

Hemanth

View solution in original post

Anonymous
Not applicable

thank you,but again i need to put gpif in transition state...how can i do this?

0 Likes
Reply
Moderator
Moderator

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

Hemanth
Anonymous
Not applicable

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...

0 Likes
Reply
Moderator
Moderator

Yes, it is possible. You can trigger the waveform in the firmware using GPIFTRIG whenever necessary.

Regards,

Hemanth

Hemanth