cancel
Showing results for 
Search instead for 
Did you mean: 

STM32 as CDC HOST cannot get line configuration of device

RPC
Visitor

Hi, I am trying to use a Nucleo-H745ZIQ to implement the USB CDC HOST functionality. 
I succeeded to do it and make it work if the device connected to my board is another STM32 board which is configured as a device, and the communication works alright.
The problem comes when I try to do the same with a modem. The modem has 1 configuration, and 4 interfaces. I increased the USBH_MAX_NUM_INTERFACES to match that and forced it to choose the CDC class from the device which is the Third interface and his CDC data class interface the fourth.
The problem is it cannot get past the HOST_CLASS_REQUEST state on the state machine because I'm getting this result: CDC: Device Get Line Coding configuration failed. Does somebody knows how which could be the problem?

Thank you very much in advance.

0 REPLIES 0