Problems with the NVIC / Interrupt priority
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2009-06-10 12:09 AM
Posted on June 10, 2009 at 09:09
Problems with the NVIC / Interrupt priority
This discussion is locked. Please start a new topic to ask your question.
2 REPLIES 2
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2011-05-17 4:14 AM
Posted on May 17, 2011 at 13:14
Hi,
Setting of the NVIC_PriorityGroupConfig does not change interrupt priority (at least not directly). First you should configure interrupt priority grouping (using NVIC_PriorityGroupConfig) then set priorities for your peripherals (using NVIC_Init). See folder Project/Examples/NVIC/Priority in the stm32f10x standard peripheral library. Regards,Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2011-05-17 4:14 AM
Posted on May 17, 2011 at 13:14
Hello,
I'm working with the STM32F103VBT6. In my application I have to run a motor and communicate with another controller over the USART1 interface. Everything for its own works fine. But when I received data over the interface and the motor is running at that time, the motor stops after some characters. When I run the motor at higher speed, it stops faster. So this looks like there is a conflict between the interrupts. So I have changed the NVIC_PriorityGroupConfig for the USART1 and also the NVIC_IRQChannelPreemptionPriority, but without success. The ohter interrupts are triggered by the TIM1. Can someone help me, thanks in advance. Patrick