2 Replies Latest reply on Jul 18, 2019 7:11 PM by HuYa_4348911

    Seek for code example in KBA218460  FX3 TYPE-C SUPERSPEED EXPLORER KIT

    HuYa_4348911

      KBA218460附件中给出的参考设计FX3 TYPE-C SUPERSPEED EXPLORER KIT

      请问有CCG2 CYPD2122-24QFN的固件包和参考代码么?

       

      另外请问这个参考设计中

      12、13引脚和14、15引脚是否接反了?我在阅读PI3USB302-A的数据手册时看到了不同的引脚功能。

      下图为PI3USB-A数据手册中的引脚图。

        • 1. Re: Seek for code example in KBA218460  FX3 TYPE-C SUPERSPEED EXPLORER KIT
          YiZ_31

          您好,

           

          这个参考设计没有用到CCG2,是用FX3来控制MUX。代码的逻辑如下:

          FX3 needs some firmware implementation in order to switch the mux so that the correct orientation of the Type-C plug is detected. The firmware sequence for USB connect is as under:

          1) After the FX3 device gets connected to a Type-C host, the FX3 device gets powered.

          2) Once powered, the firmware starts running inside FX3.

          3) Configure the GPIO as an output that is used as a MUXSEL line.

          4) Before the USB connect, the USB2.0 PHY is disabled in the firmware.

          5) Then, the firmware attempts a USB 3.0 connection.

          6) If it finds the terminations, it will enumerate as a SuperSpeed device.

          7) If it does not find a termination. It will enable a USB2.0 PHY.

          8) Then the MUXSEL GPIO is toggled by FX3 in order to change the Mux switch position.

          9) Again, the firmware attempts a USB3.0 connection/.

          10) If it is a USB 3.0 device, it will enumerate as a USB 3.0 device or else it will enumerate as a USB 2.0 device.

           

          此外,USB3.0的信号TX+和TX-是可以互换的,同理RX+和RX-也可以互换,USB2.0的信号没有这个特性。

           

          Regards,

          Eddie

          • 2. Re: Seek for code example in KBA218460  FX3 TYPE-C SUPERSPEED EXPLORER KIT
            HuYa_4348911

            Hi Eddie,

            谢谢你的回复,

            我参考了KBA218460附件里的设计

            该设计中采用了FX3和MUX之间挂载CCG2,改变电压电流,CC信号控制的功能。

            想请问这个设计中的CCG2有相关的代码参考或者代码包么?