2020-01-20 07:11 AM
My project involves a STM32F1 interfacing with a Linux machine as a USB CDCACM device, where the Linux machine will send some packets that need to be received/parsed on the MCU. I'd like to configure an interrupt for when the MCU receives the data packets.
I haven't found much material on this, except for UM1734 where I wasn't able to find anything about interrupts for CDC. I also found functions for USB_LP_CAN1_RX0_IRQn interrupt configuration (HAL_NVIC_SetPriority, HAL_NVIC_EnableIRQ) in the HAL user manual which get auto generated by CubeMX, but I'm not sure how to make use of these.
Any code or pointers to relevant reference material will be helpful.
2020-12-17 11:14 AM
Thank you dear Adib
2020-12-17 11:15 AM
Hi Ons,
Thank you a lot. I will check it out.,