2018-07-02 12:38 AM
Hello everyone,
I have used cubemx and usbd_cdc codes to activate usb virtual port in stm32f103 device. it works fine but i have problem receiving more than 128 bytes at once from pc. i need to get buffer to hold max of 1024 bytes send by pc. please instruct where in codes i should manipulate or add lines to increase input buffer size for usb?? by the way i played around with buffer sizes in usbd_def.h and usbd_cdc.h but increasing them more than 128 causes either mcu to hang or send junks. Thank you