2020-05-10 07:31 PM
Hi again,
Our device is configured as a SNK, STM32F030CC with PTN5110 TCPC.
When a source is connected on start up, stack doesn't seem to detect connected cable. PE Alerts aren't received. Any thoughts on where I should check would be greatly appreciated.
2020-05-11 08:05 AM
Hi,
Could you please provide a .cpd trace of your problem?
Regards,
Yohann
2020-05-11 08:41 PM
2020-05-12 02:01 AM
Hi,
I cannot see the alert in your log. Anyway, stack is waiting for an event from TCPC. If TCPC is correctly initialized at startup, it should be able to alert stack that a connection is ongoing. Do you have the same issue with FUSB307?
Alert activation is done at the end of the initialization (in function 'USBPD_DPM_InitOS'). We expect that TCPC is ready to send alerts.
Regards,
Yohann
2020-05-26 09:34 PM
Hi Yohann,
The alert from PTN comes before the Alert Task runs. I added code to check on startup if toggling has finished and there's something on the cc lines, and send an alert. This solved my issue. Thanks