cancel
Showing results for 
Search instead for 
Did you mean: 

STM32U535CET6 USBX

kumaichi
Associate II

Hello,

I'm trying to get USBX CDC Virtual COM Device configured on an STM32U535CET6.  I have downloaded and tried to play matchup with the projects out on GitHub for the U5 series but have had no success.  I'm currently stuck on:

 

/* Now check for invalid queue ID.  */
else if (queue_ptr -> tx_queue_id != TX_QUEUE_ID)
{
    /* Queue pointer is invalid, return appropriate error code.  */
    status =  TX_QUEUE_ERROR;
}

 

queue_ptr -> tx_queue_id is empty but I can't find where it's supposed to be initialized.  The project is barebones, I'm just trying to get CDC to work so I can write out to a terminal like Putty.  

I have also gone through the H7 tutorial with no luck.  It has to be something I missed but can't find it.

Any help would be greatly appreciated.  I attached the entire project.

Kindest regards.

0 REPLIES 0