- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello,
I'm using a CY4531 CCG3 EVK.
I would like to acheive serial communication between a tablet and a usb serial device (FTDI), while fast charging the tablet.
I'm using the default notebook example charged with EZ-PD utility.
the tablet is plugged on the USB-C port and the serial device on the USB 3 type B port (J2).
At this time with the default notebook example, I can either :
fast charge the tablet (CY4531 EVK is powered externally )
or
have the USB serial communication enabled (EVK is powered by the tablet)
I would like to fast charge the tablet while the USB serial communication is enabled.
I know this is possible because there is a commercial product doing such (LAVASynC 1U_OEM).
I guess that the notebook example does not enable this feature.
I would really appreciate some hints on how to acheive this .
Best,
Thomas.
Solved! Go to Solution.
- Labels:
-
ispn:39569:1:0
-
l1:314:1:0
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Please try this code and let me know. Add it at the same place.
if((dpm_get_info(port)->contract_exist) && (dpm_get_info(port)->cur_port_type != PRT_TYPE_UFP))
{
dpm_pd_command (port, DPM_CMD_SEND_DR_SWAP, NULL, NULL);
}
Regards,
Rajath