Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我有一张 Stm32F407 发现卡。我正在尝试使用我在 c# 平台上制作的 gui 进行步进电机控制。我使用 usb_cdc 库提供通信,并用我的 stm 卡驱动步进电机。我在控制步进电机时使用定时器中断来计算 pwm 信号的脉冲。我正在使用 cube mx 配置 stm。我的问题是我们在cube mx上启用usb全局中断和TIM2全局中断后,usb通信不工作或者定时器中断不工作。我已经配置了中断优先级,但是没有解决办法。8MHz晶体用作源。你有什么建议吗?