Posted on February 07, 2014 at 11:33
Hi Everybody,
I have a problem understanding the capture compare functionality.
I want to use channel1 to fire an interrupt if a match between CCR and counter is detected. In this case, CCR1 is set to ...
Posted on February 06, 2014 at 14:06
Hi,
I need help with my Stm32F4 In this example I want to clock Tim4 with Tim2 using the slave mode. This is working fine! But when I want to use Tim4 to rise an update-interrupt this line stops the MCU. So...
Posted on January 27, 2014 at 18:00
Hi everyboy,
I have a problem (Unresolved inclusion: <math.h>) with using sqrtf() on STM32 board from OLIMEX.
I’m using the free tool chain provided by OLIMEX
- Eclipse Helios
- OpenOCD
- YAGART...
Posted on January 20, 2014 at 16:12
Hieverybody,
I have aquestion regarding a stepper controller firmware provided by ST. Actually I do not get the DMA run on my STM32F107!
The capturecontrol toggle mode is working, but no other values are ...
Posted on February 17, 2014 at 14:32 Hi, maybe you have a problem with the clock! if you use the same wrong clock for UART1 and UART2 this would explain, why it works. https://my.st.com/public/STe2ecommunities/mcu/Lists/cortex_mx_stm3...
Posted on February 07, 2014 at 14:31Thanks waclawek.jan, this is the answer I was searching for, but not the one I was hoping for!this do not make any sense! If I want to have this interrupt I can use TIM4_UPDATE!Edit: This is new with cortex M4 in ...
Posted on February 07, 2014 at 14:21
Of coure I also want your help!
Here my Problem in pictures:
void
TIM_test(
void
)
{
TIM_TimeBaseInitTypeDef TIM_TimeBaseStructure;
TIM_OCInitTypeDef TIM_OCInitStructure;
TIM_DeInit( TIM4 );
TIM_TimeBase...
Posted on February 07, 2014 at 13:34Of course I know the prescaler is very high I want to visualize the problem using an LED!So again:Actually I just want to raise an interrupt if there is a match between counter a CCR. This works. When I use half t...
Posted on February 06, 2014 at 14:38
void
TIM4_IRQnHandler(
void
){
TIM_ClearITPendingBit(TIM4,TIM_IT_Update);
//GPIO_ToggleBits(GPIOA,GPIO_Pin_6);
GPIO_ToggleBits(GPIOC,GPIO_Pin_13);
}