CCG3PA as PD Only Sink device.

Announcements

Live Webinar: USB-C adoption. Simple & Cost-efficient solutions | April 18th @9am or 5pm CEST. Register now !

Tip / Sign in to post questions, reply, level up, and achieve exciting badges. Know more

cross mob
lock attach
Attachments are accessible only for community members.
PrRe_3492461
Level 4
Level 4
First like received 50 sign-ins 50 replies posted

Hi All,

I've a ccg3pa DVK kit and configured it as only PD Snk using EZ-PD Configuration utility (expecting there should not be DRP toggle further).

But After a successful PD contract using above configured ccg3pa if I Turn-off Miniprog power supply using bridge control utility and turn-on again and manual detach DUT, we're observing a DRP toggle with Snk configured ccg3pa which is not expected and not as per our requirement.

For reference I attached the Capture of the issue. please find attachment.

Steps I followed to reproduce this issue :

1. Configure ccg3pa as PD Sink only device using EZ-PD Configuration utility and able to see no DRP toggle on CC lines after that.

2. Dump the respective FW to CCg3pa after saving config.c file in common folder of respective project using Miniprog.

3. After loading FW, connect miniprog and provide 3.3v using bridge control utility so that ccg3pa will be turned-on.

4. Connect any Provider only/DRP DUT for PD contract.

5. After a Successful PDC, with DUT still connected turn-off 3.3v power supply to miniprog using bridge control utility.

    You'll observe PDC still exists (Issue-1).

6. Now Turn-on 3.3v supply to miniprog using bridge control utility, You'll see a hardreset and PDC after that. Why Hard reset is seen ? (Issue-2).

7. Now If we manually remove/Detach connected DUT we'll observed ccg3pa going into DRP mode.Hence CC lines will be toggling (Issue-3). which is unexpected!

Are above Issues 1,2 and 3 expected ?

Is my understanding correct here ? or Is there any specific configuration that could be affecting this so that I can disable ?

Can anyone please help me sort these issues out.

EDIT 1 :

In step1 along with mentioned step, also in config.h file alter

/* Enable hardware based DRP toggle for additional power saving. */

#define CCG_HW_DRP_TOGGLE_ENABLE  to  (0u)

Thanks in Advance.

Regards,

Pranay.

0 Likes
1 Solution
ShifangZ_26
Moderator
Moderator
Moderator
10 likes given 250 sign-ins 1000 replies posted

Hi Pranay,

May I know why you need 3.3V from miniProg3 for CCG3PA power on. CCG3PA can be powered by VBUS_IN_DISCHARGE and VDDD. Is there any specified requirements for this?

If you are very assured your power supply, you have to take a look the firmware  of VBUS regulator control inside of CCG3PA. Since the VBUS regulator will be enabled and disabled as per difference power states. The API relates this behavior is void pd_hal_disable_vreg(uint8_t port).

Please assure your firmware is following this:

If system has external VDDD source, internal VBUS regulator shall be turned off.

You manually turn on and turn off the VDDD is not follow the firmware expects.

We can assured that the Rp and Rd toggle will be disabled if the port configure set as SINK only and Rp-Rd toggle is disabled.

pastedImage_10.png

Best Regards,

Lisa

View solution in original post

0 Likes
1 Reply
ShifangZ_26
Moderator
Moderator
Moderator
10 likes given 250 sign-ins 1000 replies posted

Hi Pranay,

May I know why you need 3.3V from miniProg3 for CCG3PA power on. CCG3PA can be powered by VBUS_IN_DISCHARGE and VDDD. Is there any specified requirements for this?

If you are very assured your power supply, you have to take a look the firmware  of VBUS regulator control inside of CCG3PA. Since the VBUS regulator will be enabled and disabled as per difference power states. The API relates this behavior is void pd_hal_disable_vreg(uint8_t port).

Please assure your firmware is following this:

If system has external VDDD source, internal VBUS regulator shall be turned off.

You manually turn on and turn off the VDDD is not follow the firmware expects.

We can assured that the Rp and Rd toggle will be disabled if the port configure set as SINK only and Rp-Rd toggle is disabled.

pastedImage_10.png

Best Regards,

Lisa

0 Likes