5666| 10
|
求救,STM32F429移植USB VCP类出现的问题 |
5金钱
最佳答案解决了,虽然还是稀里糊涂,在usbd_conf.h文件中,将USB HS模式下的参数改成和USB FS模式下的参数一致(原值被屏蔽到注释中)
/* CDC Endpoints parameters: you can fine tune these values depending on the needed baudrates and performance. */
#ifdef USE_USB_OTG_HS
#define CDC_DATA_MAX_PACKET_SIZE 64 //512 /* Endpoint IN & OUT Packet size */
#define CDC_CMD_PACKET_SZE 8 /* Control En ...
| |||
| ||
| ||
| ||
| ||
| ||
| ||
| ||
| ||
| ||
| ||
|手机版|OpenEdv-开源电子网
( 粤ICP备12000418号-1 )
GMT+8, 2025-2-27 11:15
Powered by OpenEdv-开源电子网
© 2001-2030 OpenEdv-开源电子网