회사일/USB PD

usb pd 제거 혹은 통신 실패

구차니 2025. 12. 11. 17:56

GoodCRC 받고 1ms 이내 응답하지 않으면(tReceive) 통신에러로 간주한다는 건가?

 

2.6.1 Source Operation
Detach or Communications Failure:
o A Source detects plug Detach and takes VBUS down to vSafe5V within tSafe5V and vSafe0V within tSafe0V (i.e.
using USB Type-C Detach detection via CC).
o When the Source detects the failure to receive a GoodCRC Message in response to a Message within tReceive:
 Leads to a Soft Reset, within tSoftReset of the CRCReceiveTimer expiring.
 If the soft reset process cannot be completed a Hard Reset will be issued within tHardReset of the
CRCReceiveTimer to restore VBUS to USB Default Operation within ~1-1.5s:
 When the Source is also the VCONN Source, VCONN will also be power cycled during the Hard Reset.
o Receiving no response to further attempts at communication is interpreted by the Source as an error (see
Error handling).
o Errors during power transitions will automatically lead to a Hard Reset in order to restore power to default
levels.


2.6.2 Sink Operation
Detach or Communications Failure:
o A Sink detects the removal of VBUS and interprets this as the end of the PD Connection:
 This is unless the vSafe0V is due to either a Hard Rest, Power Role Swap or Fast Role Swap.
o A Sink detects plug removal and discharges VBUS.
o When the Sink detects the failure to receive a GoodCRC Message in response to a Message within tReceive:
 Leads to a Soft Reset, within tSoftReset of the CRCReceiveTimer expiring.
 If the soft reset process cannot be completed a Hard Reset will be issued within tHardReset of the CRCReceiveTimer to restore VBUS to USB Default Operation within ~1-1.5s.
 Receiving no response to further attempts at communication is interpreted by the Sink as an error (see Error handling).
o Errors during power transitions will automatically lead to a Hard Reset in order to restore power to default levels.

tReceive min 0.9 max 1.1 ms
tSoftReset max 15 ms
tHardReset max 5 ms

GoodCRC는 Source / Sink / Cable 에서 다 보낼수 있나 보네..



먼진 몰라도 재시도 횟수는 최대 2회?