Skip to main content
FToub.1
Associate
September 29, 2021
Question

Virtual port COM on STM32F756ZG visible but OTG_FS_IRQHandler appear all the time. So I can't communicate with my computer. Why?

  • September 29, 2021
  • 5 replies
  • 2818 views

0693W00000FAlpfQAD.png0693W00000FAlpuQAD.png0693W00000FAlqTQAT.png0693W00000FAlsUQAT.png0693W00000FAlrlQAD.png0693W00000FAlrMQAT.pngI cannot communicate with my computer. I detect the port but in debug mode, I see that the OTG_FS_IRQHandler interrupt is triggered regulary when I send data on my computer.

I did the same thing with my dicsovery card F411, it works. But with nucleo F756, it doesn't work. I'll give you all the parameter I set in picture linked.

To complete, when I tried to open the COM port with python, I have this error :

serial.serialutil.SerialException: Cannot configure port, something went wrong. Original message: OSError(22, 'Paramètre incorrect.', None, 87)

Do you need more details?

Could you help me? I passed a lots of time on it and I don't find.

Thank you!

This topic has been closed for replies.

5 replies

Mike_ST
ST Technical Moderator
September 29, 2021

Hello,

The fact that OTG_FS_IRQHandler is called is a good sign.

You have an example of VCP implementation in the F7 software package, so you can compare what is missing:

STM32Cube_FW_F7_V1.16.0\Projects\STM32756G_EVAL\Applications\USB_Device\CDC_Standalone

available here :

https://www.st.com/en/embedded-software/stm32cubef7.html

In order to give better visibility on the answered topics, please click on 'Best answer' on the reply which solved your issue or answered your question. 
FToub.1
FToub.1Author
Associate
September 29, 2021

Thank you for your answer. I continue to search the response by comparing my code with this one

FToub.1
FToub.1Author
Associate
September 29, 2021

In fact, my program work well. It works well on windows 7 but not on windows 10, but normally, we don't need driver?

Mike_ST
ST Technical Moderator
September 29, 2021

You don't need it, normally.

But driver is here:

https://www.st.com/en/development-tools/stsw-stm32102.html

In order to give better visibility on the answered topics, please click on 'Best answer' on the reply which solved your issue or answered your question.