Stm32F407 usb-cdc receive interrupt and timer interrupt do not work at the same time
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
2021-04-03 3:17 AM
I have a Stm32F407 discovery card. I am trying to control a step motor with the gui I made in C # platform. I communicated using the usb_cdc library and I am using a stepper motor with my stm card. I count the pulse of the pwm signal using timer interrupt while controlling the stepper motor. I am configuring stm using cube mx. My problem is that after enabling USB global interrupt and TIM2 global interrupt in cube mx USB communication is not working or timer interrupt is not working. I configured the interrupt priority, but no solution found. An 8MHz crystal is used as a source. Do you have a suggestion?
Labels:
- Labels:
-
STM32CubeMX
-
STM32F4 Series
-
TIM
This discussion is locked. Please start a new topic to ask your question.
0 REPLIES 0
