STM32F4 dual cdc problem #2432
Replies: 4 comments
-
I made firmware to PC recognize 2 CDC, however couldn't make device to sand information on second CDC |
Beta Was this translation helpful? Give feedback.
-
I haven't been able to get the dual CDC example to work on the STM32F411. According to its datasheet, the F411 only has 4 endpoints, but dual CDC needs 6. On the STM32F103 datasheet (page 19), it mentions MCU has "software-configurable endpoint setting" instead of a fixed number. Does this mean that it can somehow "create" USB endpoints on-demand? I'm not too familiar with this topic in general. Perhaps @hathach can comment on this? |
Beta Was this translation helpful? Give feedback.
-
It means endpoint type (bulk,iso,int) and buffer size are configurable. STM32F103 use fsdev driver and has 8 endpoints. |
Beta Was this translation helpful? Give feedback.
-
there is simply not enough IN endpoints for F411. |
Beta Was this translation helpful? Give feedback.
-
Hello everyone! I’m trying to write a program for the STM32F4 to run 2 CDC on 1 interface. I’ve read that this microcontroller is said to have not enought endpoints, but how can this be possible if the NUCLEO board uses the STM32F103 microcontroller in the ST-Link part and when you connect the NUCLEO to a PC, it identifies the ST-Link and the MSD. I don’t understand how the STM32F4 can’t support 2 CDCs, so can you please explain in more detail?
Beta Was this translation helpful? Give feedback.
All reactions