CY4532 Debugging

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
JeGr_4019896
Level 3
Level 3
First like received

I have loaded a single PDO into the CY4532 EVK and noticed that the there is a hard reset that occurs on the CC line after PD negotiations have taken place and the current draw is as expected. This reset lasts for about a second and the the PD devices renegotiate with no problem. I am wondering why this could be happening.

I attempted to debug the EVK and step through the code to see if I could see the problem but when I run the debugger and get to the function, dpm_task(port), the debugger disconnects. Should I be able to step through the code this way?

0 Likes
1 Solution
JeGr_4019896
Level 3
Level 3
First like received

My setup is as follows: CY4532 EVK with 5V/3A Source PDO with iPad Pro 11" 3rd Generation.

After negotiations are complete, there is a hard reset. After a period of time, the negotiation takes place again the EVK works as expected. I have included my CC log describing this behavior.

CC Log.PNG

I have tracked down what I believe to be the piece of code being called to display the hard reset.

        case APP_EVT_TYPEC_ATTACH:

#if CCG_REV3_HANDLE_BAD_SINK

            /* Start bad sink timer */

            timer_start(port, APP_BAD_SINK_TIMEOUT_TIMER, APP_AME_TIMEOUT_TIMER_PERIOD, app_bad_sink_timeout_cbk);

View solution in original post

0 Likes
3 Replies