3 Replies Latest reply on Mar 29, 2020 8:09 PM by ShifangZ_26

    SVID

    JoBo_4573796

      I would like to connect a CCG3 CY4531 evaluation kit to a CY4541 evaluation kit via the USB-C port.  I would like the CCG3 development kit to respond to the CY4541 with my own arbitrarily defined SVID messages.  I would be happy if the SVID is sent and just dropped on the floor. I would also like the CCG3 to be the UFP and the CCG4 to be the DFP.  Example of a SVID is shown below.  What else do I have to configure on the CCG3 and CCG4 and what software changes are required?  I have been poking around and trying different things and it seem I have already blown up the input on one p

        • 1. Re: SVID
          ShifangZ_26

          1. The SVID you are using is incorrect. The SVID number of 0xFF01 is for DisplayPort Alt Mode. And all of the Mode is defined in the DisplayPort Alt Mode over Type-C. So that the value in the Mode is not the random value.

           

          2. If you just want to change the mode of SVID, there no need additional firmware changes need in the project of PSoC Creator. Since the Alternate mode support information will be cached by firmware configure table. You just need update the config.c in the firmware or save to HEX file.

           

          3. If you want to add additional SVID, the correct way is:

          a. Select SVID Configuration and Add a node under SVID Configuration.

          b. Edit the SVID and Mode as per your requirements.

          c. And then, you need add the SVID into the project and customize the firmware of Alt mode folder. You could refer all of contents of code define and flow under Macro Define DP_DFP_SUPP or DP_UFP_SUPP to customize your firmware.

           

          Best Regards,

          Lisa

          • 2. Re: SVID
            JoBo_4573796

            The issue I am having is that the UFP device is not sending the SVID that was defined with both the EZ-PD Configuration Utility and the config.c file that was generated from the utility tool.  When the DFP sends a “Discovery Identity” message, the UFP incorrectly sends a SVID of 0xFF00 instead of the desired 0x134A SVID with the mode types defined for that SVID.  What am I doing incorrectly?

             

            UFP Configuration:

             

            UFP Discovery Identity Response:

            • 3. Re: SVID
              ShifangZ_26

              You need change the default firmware (You are using CCG4 as per the screen shot) and refer below blog at first.

              https://community.cypress.com/community/usb/ez-pd-type-c-usb/blog/2018/12/25/config-ccgx-firmware-for-displayport-source-and-sink-role-change

               

               

              And then, add SVID additional -- Select SVID Configuration and click +Add, SVID 0 will be add under SVID Configuration. It means the CCG4 will have SVID 0 and SVID 1. The SVID = 0x19A5. And then, the CCG4 will reply the Discovery Identify with two SVIDs.

               

              Best Regards,

              Lisa