H563/H573 - How to use the CC1,CC2 pins for GPIO and still get USB-MSC working
Folks,
I started off with the H573i discovery board demo as reference for the MSC + SD card (with ThreadX).
I don't have the Discovery board since in my application I needed those CC1, CC2 USBPD pins for something else. So I ran a board of my own (using the H563ZIT6). I'm using just micro-USB B connector, not USB-C.
I set up the project in Cube and pulled in all the segments from the demo for H573I.
But in CubeMX I have to disable the UCPD in order to get access the two pins I need.
I just left the USB enabled.
But it seems that there is no USB library setup properly if the UCPD is disabled.
Can someone tell me how to get the demo from the H573 to work if the CC1, CC2 pins are disabled in Cube and assigned as GPIO?
I don't have to have the ThreadX but figured it might be helpful as my product develops.
Thanks!
J
