Cypress技术论坛
直播中

蔡彦壁

8年用户 248经验值
私信 关注
[问答]

如何通过在FX2LP GPIF中设置寄存器将GPIF设置为空闲状态?

如何通过在FX2LP GPIF中设置寄存器将GPIF设置为空闲状态?
在gpIFIDels寄存器…
IDLIDRV位等于0——数据总线的三态
DRDRV位等于1——驱动数据总线
通过清除IDLRDV位到0,可以将GPIF置于空闲状态吗?

我能用GPIFABLT寄存器把GPIF放在空闲状态吗?
帮助我

以上来自于百度翻译


     以下为原文
  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

回帖(5)

张超

2018-10-26 16:10:24
嗨,Geetha,
您可以将0xFF写入gpIFabt寄存器,以立即中止GPIF事务并转换为空闲状态。
当做,
血竭

以上来自于百度翻译


     以下为原文
  Hi Geetha,
 
You can write 0xFF to GPIFABORT register to immediately abort a GPIF transaction and transition to the Idle State.
 
Regards,
Hemanth
举报

蔡彦壁

2018-10-26 16:30:12
引用: xianhaizhe 发表于 2018-10-26 07:27
嗨,Geetha,
您可以将0xFF写入gpIFabt寄存器,以立即中止GPIF事务并转换为空闲状态。
当做,

谢谢,但是我需要把GPIF放在过渡状态……我怎么做呢?

以上来自于百度翻译


     以下为原文
  thank you,but again i need to put gpif in transition state...how can i do this?
举报

张超

2018-10-26 16:42:32
引用: 报纸弟弟麦花 发表于 2018-10-26 07:47
谢谢,但是我需要把GPIF放在过渡状态……我怎么做呢?

以上来自于百度翻译

你好,
如果您的意思是您需要在中止之后重新启动GPIF,那么您需要使用GPIFTIG再次触发波形。
如果这不是你的要求,请提到确切的情况。
当做,
血竭

以上来自于百度翻译


     以下为原文
  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
举报

蔡彦壁

2018-10-26 16:49:32
引用: xianhaizhe 发表于 2018-10-26 07:59
你好,
如果您的意思是您需要在中止之后重新启动GPIF,那么您需要使用GPIFTIG再次触发波形。
如果这不是你的要求,请提到确切的情况。

嗨,海曼思,
图像传感器与FX2LP接口,
当我不需要的时候,我想停止来自图像传感器的数据,这样我就会放弃GPIF。
当我需要数据时,我会触发GPIF。
这是可能的吗?
谢谢您。。。

以上来自于百度翻译


     以下为原文
  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...
举报

更多回帖

发帖
×
20
完善资料,
赚取积分