Yeah that was overall the idea, passthrough data
from Display to rock5B, then regarding power pins, I see two options available
- passthrough everything, UPS acting as man in the middle, meaning it won’t interfere with R5B and Display powering but just take current to charge itself (that was my first idea with the male to female breakout board)
- only passthrough data, and redirect power to UPS (I think that corresponds to your previous design)
In that case I would presume, the R5B will still be in charge of PD negotiation with Display but won’t receive its power directly from it. Instead negotiated voltage will go to charge UPS, and UPS will power rock5b independantly (as if it was unplugged from screen). This has to be confirmed, as I’m not sure this usb-c hack is possible
In your design, you used PowerBank instead of UPS. Although it seems to have 2 bidirectional usb-c connection, usually PB are not able to charge/discharge at same time. Which means it may cut power to rock5B while charging.
That’s why I spoke about UPS (Uninterruptible Power Supply) instead of PB
Based on that, overall design could be:
Display —> External UPS —> R5B
with two USB-C connection exposed outside external UPS
- USB-C input connected to display
- USB-C output connected to R5B
- breakout power pins internally connected or redirected to UPS charging/discharging circuit
An example of custom UPS implementation then could be (supposing 12V and 3S Li-ION is chosen) :
(PD trigger board) => USB-C Breakout board => 3S charging board => BMS => 3S Li-ion batteries
PD trigger is optional, just in case UPS would only accepts narrow input voltage range, but I think it is possible to find 5V-20V input range
Please note these are only assumptions, that would be good if someone could confirm it would work