Cypress技术论坛
直播中

李明烨

7年用户 201经验值
私信 关注
[问答]

请问FX2的不同版本之间有什么特别的区别?

你好,
我正在研究一个项目,我们用一个外部时钟源在GPIF模式中把AptiNA光学传感器连接到FX2。
我们连接
RealIX有效到RDY0,
框架对RDY1有效
到IFCK的像素时钟
像素数据总线到D0—D7
FX2的引脚。
它在CY3681-开发工具包上工作得很好,带有128个引脚的FX2的一个相当旧的修订。
然而,在另一块板上,有了56个引脚的新FX2LP,当我从外部时钟源(传感器生成的像素时钟)发出GPIF时,GPIF波一旦启动,就永远不会完成。
当我实验切换GPIF时钟源到内部时钟,波将完成。在这种情况下,数据是无意义的(因为GPIF没有同步到像素时钟),但是我可以看到,我的决定状态(等待帧的开始和行的开始)工作…
在两个板上,我已经将逻辑分析仪连接到FX2的各个引脚,并且可以看到来自传感器的信号是相同的。在开发板上,我看到波浪的状态也在变化。我不能用FX2的56针版本在另一个板上进行验证。
谁能给我一些提示,我应该去哪里看呢?
FX2的不同版本之间有什么特别的区别,这可能会导致这样的问题吗?
非常感谢您的帮助。

以上来自于百度翻译


     以下为原文
  Hi,
    I'm working on a project, where we connected an Aptina optical sensor to the FX2 in GPIF-mode with external clock-source.
    We connected
    the LINE_VALID to RDY0,
    the FRAME_VALID to RDY1
    the pixel-clock to the IFCLK
    and the pixel-data bus to D0-D7
    pins of the FX2.
    It works really well on the CY3681 developmen-kit with an rather old revision of the FX2 with 128-pins.
    However on other board, with rather new FX2LP with 56-pins, the GPIF-wave once started will never get done, when I source the GPIF from the external clock-source (sensor generated pixel-clock).
    When I experimentally switch the GPIF clock-source to internal clock, the wave will get done. In this case, the data are nonsense (because the GPIF is not synchronized to the pixel-clock) but I can see that my decision states (waiting for the start of the frame and start of the line) works...
    On both boards I have connected the logic analyzer to the respective pins of the FX2 and can see that the signals from the sensor are the same. On the development-board, I see the states of the wave changing too. This I can't verify on the other board with the 56-pin version of FX2.
    Can anybody please give me any hint, where else I should look?
    Are there any specific differences between the different versions of the FX2, that might cause such a problem?
    Any help is greatly appreciated.

回帖(10)

h1654155275.5814

2019-6-11 09:15:10
你好,
如果您使用的是来自外部源的接口时钟(在您的情况下是图像传感器),那么在配置IFCONFIG.7之前,它应该是可用的。在固件集IFCONFIG 7=0之前必须存在外部IFCK源。
请检查你是否符合这个条件。
谢谢,
Sai Krishna。

以上来自于百度翻译


     以下为原文
  Hi,
    If you are using interface clock from external source (image sensor in your case) then it should be available before you configure IFCONFIG.7. The external IFCLK source must be present before the firmware sets IFCONFIG.7 = 0
    Please check whether you are meeting this condition or not.
    Thanks,
    Sai Krishna.
举报

李明烨

2019-6-11 09:25:31
你好,
谢谢你的快速回复。
在此期间,我一直在寻找自己的两个版本的FX2(128针对56针)和两个板的差异。
设置之间有一个显著的区别:128引脚开发板(工作)是总线供电,56针(不工作)板是自供电的。这可能解释GPIIFITIE()在像素时钟稳定之前被调用…我来查一下。
还有一件事引起了我的注意,我正在检查GPIF设计器中波形的配置。
我的波使用TCXPIER/RDY5信号。在启动波之前,我正在设置期望的转换计数,并且在波中,我正在检查TCXPIR信号以再次切换到空闲状态。但是,当我将GPIF设计器中的部分设置更改为56引脚的FX2时,该信号在框图中不再可用。
我没有发现任何具体的信息在TRM,你能告诉我,如果TCXPiar信号是可用的FX2LP与56针?
谢谢你的任何帮助。

以上来自于百度翻译


     以下为原文
  Hi,
    thanks for the quick reply.
    In the meantime, I've been searching myself for the differences of the two versions of the FX2 (128-pin vs. 56-pin) and the two boards.
    There is one significant difference between the setups: the 128-pin development-board (working) is bus-powered and the 56-pin (not working) board is self-powered. That would maybe explain that the GpifInit() would get called before the pixel-clock gets stable... I will check that.
    There is one other thing, that caught my attention, while I was checking the configuration of the wave in the GPIF-Designer.
    My wave uses the TCxpire/RDY5 signal. Before I start the wave, I'm setting the desired transation count and within the wave I'm checking the TCxpire signal to switch to the idle-state again. However, when I change the part-setting in the GPIF-Designer to the FX2 with 56-pin, this signal is not available anymore in the block-diagram.
    I didn't find any specific information in the TRM, can you please tell me, if the TCxpire signal is available on an FX2LP with 56-pins?
    Thanks for any help in advance.
举报

傅姁妮

2019-6-11 09:34:40
你好,
RDY5/TCExpRE信号在FX2LP的56引脚封装中不可用。
当做,
加亚特里

以上来自于百度翻译


     以下为原文
   Hi,
     
    RDY5/ TCExpire signal is not available in 56 pin package of FX2LP.
     
    Regards,
    Gayathri
举报

李明烨

2019-6-11 09:55:19
你好,
因此,基本上,取决于传输计数(内部TCXPIR)机制的任何波将用FX2的变体进行NoCH工作。
我说的对吗?
当做,
Pavol。

以上来自于百度翻译


     以下为原文
  Hi,
    so basically, any wave depending on the transmission count (internal TCxpire) mechanism will noch work with that variant of FX2.
    Am I right?
    Regards,
    Pavol.
举报

更多回帖

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