Question
STM32F429 USB CDC Bulk data receive problem
Posted on February 12, 2016 at 23:44
Hi all,
I am trying to develop my own DisplayLink device with STM32F429 Discovery board. I use CDC as a template of it. Whole edited enumeration pass OK. But when I need to receive data from EP 1 (OUT Bulk) than occurs a problem.
I have whole project generated from Cube MX. This way I am trying to read datauint8_t ht[4620];
uint8_t result = USBD_OK;
do
{
result = USBD_CDC_SetRxBuffer(pdev, ht);
}
while(result != USBD_OK);
do
{
result = USBD_CDC_ReceivePacket(pdev);
}
while(result != USBD_OK);
HuffmanTable = ht;
But it doesn´t send success response to USB host.
Thanks for any help.
#stm32f4-usb-cdc-device #discovery #stm32f4