This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

USBD_CDCn_ACM_DataReceived

uint32_t uRxCnt=0;
void USBD_CDC0_ACM_DataReceived( uint32_t len )
{

uRxCnt += len;

}

when uRxCnt==191,The function does not work.
Who can help me?
thanks.

Parents
  • Well my wild guess would be that you do not take out received data with USBD_CDC_ACM_ReadData function so once intermediate buffer gets filled it does not receive any more data until there is enough space in intermediate buffer so DataReceived does not get called any more.

Reply
  • Well my wild guess would be that you do not take out received data with USBD_CDC_ACM_ReadData function so once intermediate buffer gets filled it does not receive any more data until there is enough space in intermediate buffer so DataReceived does not get called any more.

Children
No data