Skip to content

Commit a70ccce

Browse files
committed
--pdports: Add examples
Signed-off-by: Daniel Schaefer <dhs@frame.work>
1 parent 3cc9146 commit a70ccce

File tree

1 file changed

+107
-0
lines changed

1 file changed

+107
-0
lines changed

EXAMPLES.md

Lines changed: 107 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -712,3 +712,110 @@ It's not controlled by the EC, use https://keyboard.frame.work.
712712
Mostly for debugging firmware.
713713

714714
See [EXAMPLES_ADVANCED.md](EXAMPLES_ADVANCED.md)
715+
716+
## PD Ports
717+
718+
### Power Adapters
719+
720+
A 240W EPR (Framework) power adapter connected.
721+
Alongside a 65W SDR adapter - which is not active, because the EC firmware switches to the higher power adapter.
722+
723+
```
724+
USB-C Port 0 (Right Back):
725+
Type-C State: Source
726+
PD Contract: Yes
727+
Power Role: Sink
728+
Data Role: Dfp
729+
VCONN: Off
730+
Negotiated: 48.000 V, 5000 mA, 240.0 W
731+
EPR: Active (Supported)
732+
CC Polarity: CC1
733+
Active Port: Yes
734+
USB-C Port 1 (Right Middle):
735+
Type-C State: Source
736+
PD Contract: Yes
737+
Power Role: Sink
738+
Data Role: Ufp
739+
VCONN: Off
740+
Negotiated: 20.000 V, 3000 mA, 60.0 W
741+
EPR: Inactive
742+
CC Polarity: CC1
743+
Active Port: No
744+
```
745+
746+
A 100W SDR power adapter connected:
747+
748+
```
749+
USB-C Port 0 (Right Back):
750+
Type-C State: Source
751+
PD Contract: Yes
752+
Power Role: Sink
753+
Data Role: Ufp
754+
VCONN: Off
755+
Negotiated: 20.000 V, 5000 mA, 100.0 W
756+
EPR: Inactive
757+
CC Polarity: CC1
758+
Active Port: Yes
759+
```
760+
761+
A 65W (Framework) power adapter connected:
762+
763+
```
764+
USB-C Port 0 (Right Back):
765+
Type-C State: Source
766+
PD Contract: Yes
767+
Power Role: Sink
768+
Data Role: Dfp
769+
VCONN: On
770+
Negotiated: 20.000 V, 3250 mA, 65.0 W
771+
EPR: Inactive
772+
CC Polarity: CC2
773+
Active Port: Yes
774+
```
775+
776+
### Devices
777+
778+
A USB2/3 device connected (even USB-A Expansion Card):
779+
780+
```
781+
USB-C Port 2 (Left Middle):
782+
Type-C State: Sink
783+
PD Contract: No
784+
Power Role: Source
785+
Data Role: Dfp
786+
VCONN: Off
787+
Negotiated: 5.000 V, 3000 mA, 15.0 W
788+
EPR: Inactive
789+
CC Polarity: CC1
790+
Active Port: No
791+
```
792+
793+
A Display connected through Framework DisplayPort Expansion card:
794+
795+
```
796+
USB-C Port 1 (Right Middle):
797+
Type-C State: Sink
798+
PD Contract: Yes
799+
Power Role: Source
800+
Data Role: Dfp
801+
VCONN: On
802+
Negotiated: 5.000 V, 410 mA, 2.50 W
803+
EPR: Inactive
804+
CC Polarity: CC1
805+
Active Port: No
806+
DP Alt Mode: DFP_D Connected, HPD High (0x81)
807+
```
808+
809+
Nothing connected (or Type-C Expansion Card):
810+
811+
```
812+
USB-C Port 3 (Left Back):
813+
Type-C State: Nothing
814+
PD Contract: No
815+
Power Role: Sink
816+
Data Role: Ufp
817+
VCONN: Off
818+
Negotiated: 0.000 V, 0 mA, 0.0 W
819+
EPR: Inactive
820+
Active Port: No
821+
```

0 commit comments

Comments
 (0)