AnsweredAssumed Answered

quick usb question

Question asked by John Doe on Mar 5, 2017
Latest reply on Mar 5, 2017 by KIC8462852 EPIC204278916

In simply words:

I want to transfer data from PC via USB to STM32.

I want to (somehow?) recognize data - some data should be saved to uint8_t Data1[20], and other data to uint8_t Data2[20].

 

My question is:

- should I create two different VCP/CDC interfaces on stm32?

or

-should I create one VCP/CDC interface with multiple endpoints?

 

how to recognize data to put them in the correct uint8_t Data1/Data2 array?

Outcomes