Using STM32 as USB host to communicate with TTL

176 views Asked by At

everyone! I'm trying to connect a TTL module on the CP210X chip to the STM32F401CDU6.

I have attempted to set up the STM as a USB Device Virtual Port Com, but it hasn't worked. I also tried setting up the STM as a USB HOST Virtual Port Com (using an example from this site USB CDC Device and HOST in STM32), but my STM doesn't recognize the TTL as a device and stops trying to send information.

Has anyone tried to implement something similar? If so, please share some examples or insights into what might be configured incorrectly during operation.

0

There are 0 answers