cancel
Showing results for 
Search instead for 
Did you mean: 

STM32H5 USB HOST CDC not able to receive messages

Sara02
Visitor

First of all I am not sure if this is the right location.

It wasn't: you posted under MPUs; moved to MCUs.

I have a custom PCB with an STM32H5 chip embedded.
This PCB needs to be a USB Host for a sensor that uses USB. If I connect the sensor to my laptop the sensor works fine, but when I have the sensor connected to the PCB. I doesn't work as expected.

We used an logic analyzer to see if there was any difference in the messages that were being send, but we don't see any difference, except for the address. In the images below, you can see the images. image(3) is the image from Laptop to the sensor. image(4) is the image from PCB to the sensor.

I used this library https://github.com/STMicroelectronics/stm32-mw-usb-host/tree/8b21b5c4a6b8df42ad46b9df63bb87c47bd7b2f5 as I want to be able to use FreeRTOS and not be stuck with ThreadX

Do you have any idea where I could look or what we might have done wrong or something we missed. I also included a .zip of the code as we have it right now.

If there is anything that I forgot to mention, please let me know.

0 REPLIES 0