5 Replies Latest reply on Sep 12, 2019 2:51 AM by RajathB_01

    CCG2 Dead battery condition when Sink voltage is set to 12V and 15V in notebook application.

    RaHR_2937151

      Hi all,

           We are using CYPD2122 in notebook Application and power adapter application. In power adapter we have set profiles to 5V/3A, 9V/3A, 12V/3A and 15V/3A. When the Notebook application is powered (Same profile is set in notebook application), the VBUS is 5V and after few ms the voltage is increased to 15V, but after few ms the board is switching off. This will continue till we disconnect the Type C cable. This is happening with 12v and 15V profile, but when the profile is set to 9V the notebook application is not resetting.

       

      Another observation is if we power the notebook board by applying external power and then plug the Type C cable, the VBUS voltage will be 15V (15V profile set in both notebook and power adapter) and even if we switch off the external power the VBUS voltage will be 15V and the board will not reset.

       

      We would like to know how we can solve this issue.

       

      Thanks,

      Rashmi

        • 1. Re: CCG2 Dead battery condition when Sink voltage is set to 12V and 15V in notebook application.
          RajathB_01

          Hi Rashmi,

           

          1) In the first case (continuous reset) is the notebook board powered externally?

           

          2) In the second case (stable 15V contract) when you mention you plug in the Type-C cable, what is there on the other end, is it the power adapter board?

           

          3) Lastly, we can debug this if we can have CC logs. Please use a CC/PD analyzer like this one here to capture PD traffic so that we can see what is happening. It is important to understand who is trying to be source and if timing specifications are being met. Without logs it will be very difficult to debug.

           

          Regards,

          Rajath

          • 2. Re: CCG2 Dead battery condition when Sink voltage is set to 12V and 15V in notebook application.
            RaHR_2937151

            Hi Rajath,

             

            Thanks for your response. In the first case we are not applying external power to the notebook board. In the other end of the notebook we are using the power adapter board. We are not using any development kit or the PD analyzer. Previously our team verified this condition and it was working but now we are facing this issue only with 12 and 15V profiles.

             

            Regards,

            Rashmi

            • 3. Re: CCG2 Dead battery condition when Sink voltage is set to 12V and 15V in notebook application.
              RajathB_01

              Rashmi,

               

              Is it possible to share your board schematics?

              Also please share the configuration (.xml or .cyacd)

               

              Regards,

              Rajath

              • 4. Re: CCG2 Dead battery condition when Sink voltage is set to 12V and 15V in notebook application.
                RaHR_2937151

                Hi Rajath,

                     I have attached the notebook and the power adapter configuration files, I have also attached the schematic of notebook and power adapter for your reference. The board is same for both notebook and power adapter.

                 

                Power adapter: In the power adapter board the resistor (R234) from RD1 to CC1 pin is removed and we have also added 68K resistor between CC2_VCONN_CTRL,  CC1_VCONN_CTRL and Q201 gate pins. Please note some of the FB resistors values are not same in schematics and hardware. However, we have verified the output voltage in the actual power adapter hardware. When 9V is set the output voltage is 8.89V, for 12V the output voltage is 11.84V and for 15V the output voltage is 14.7V.

                 

                To set 9V and 15V we have added additional pull down circuit (MOSFET and additional FB resistor) from FB pin (IC201). The pull down circuit is connected to CCG2_I2C_INT without the external pull up resistor and is configured as output pin (VSEL2) in the Topdesign.cysch file. In the firmware also we have added the VSEL2 pin in the psource.c file. Below is the code,

                 

                switch (volt_50mV)

                    {

                        case V_SAFE_5V:

                            VSEL0_Write(0);

                            VSEL1_Write(0);

                            VSEL2_Write(0);

                            break;

                       case VBUS_9V:   

                            VSEL0_Write(1);

                            VSEL1_Write(0);

                            VSEL2_Write(0);

                            break;

                        case VBUS_12V:   

                            VSEL0_Write(1);

                            VSEL1_Write(1);

                            VSEL2_Write(0);

                            break;

                        case VBUS_15V:

                            VSEL0_Write(0);

                            VSEL1_Write(0);

                            VSEL2_Write(1);

                            break;

                }

                 

                Notebook: In the Notebook board the 68K resistor is connected between between CC2_VCONN_CTRL,  CC1_VCONN_CTRL and Q201 gate pins and 0 ohm resistor (R234) is assembled between RD1 and CC1 pin.

                 

                When the PD profile is set to 9V (In both power adapter and notebook) and notebook is in dead battery condition, the notebook board is getting the power and not resetting, but when the PD profile is set to 12V or 15V (In both power adapter and notebook) it is getting reset. When the profile is set to say 15V, on the oscilloscope we can see the voltage increasing from 5V to 15V but after few milliseconds the the board will reset. We have not connected any load to the notebook board.

                 

                Do let me know if you need more info.

                 

                Thanks,

                Rashmi

                • 5. Re: CCG2 Dead battery condition when Sink voltage is set to 12V and 15V in notebook application.
                  RajathB_01

                  Hi Rashmi,

                   

                  1) Configurations look good.

                   

                  2) Schematics look good.

                   

                  3) Can you check powering any other Type-C device from your adapter? Maybe a Type-C laptop?

                   

                  4) Also, try powering the notebook board from a different working Type-C power adapter.

                   

                  If you happen to see 12/15 volt contracts in above two scenarios, you can check the behaviour.

                  If you have a CCG2 EVK it will be easier to use it as a test port partner instead of other devices.

                   

                  I suggest using a PD analyzer for capturing CC traces, that is going to accelerate our debug.

                   

                  Regards,

                  Rajath