2007-01-18 12:47 AM
2011-05-17 12:35 AM
Hi Vincent!
Thanks for your advice ;) I did what you said. I have correct version of IDE(746) and the example of AD converter runs all right. But I tried to insert a code for the interrupt of Timer1 into this example. Both of the timers are running but the interrupt of timer1 isn´t called. I´m sending you my project. please could you take a look at the example? I don´t know where is an error. thanks hanzz2011-05-17 12:35 AM
Hi,
I think you just need to call TIM_ITConfig at some point. I managed to get to a breakpoint in TIM1_IRQHandler with your project by adding this around the end of your main: (just before the call to ADC_ITConfig) /* TIM interrupt config */ TIM_ITConfig(TIM1, TIM_IT_TO, ENABLE); Please give it a try and let me know if it works. Best Regards, Vincent2011-05-17 12:35 AM
Hi VincentC
All is all right!!!!!!!!!!!!!!! Thaks you for yor help! :D (I was blinking with wrong pin in the interrupt. :-] )2011-05-17 12:35 AM
Hi VincentC,
Thanks you for your advice! I have BN746-ST7-ARM-80C51-P1-STR750 and ARM ToolChain 1.1.15. I made all, but it has no effects. I will attempt support from Raisonance. Thanks and Best regards Vendelin P.S. IS HERE ANYBODY, WHO WORKS IN THE RIDE IDE AND HAS CORRECT FUNCTION OF TIMERS and INTERRUPTS? :-? [ This message was edited by: Vendelin on 18-01-2007 08:16 ]2011-05-17 12:35 AM
Hi Vincent!
The bug was only that forgotten line :D Now it runs all right :D Thank you verrry much! best regards! Hanzz2011-05-17 12:35 AM
Quote:
On 18-01-2007 at 08:02, Vendelin wrote: I will attempt support from Raisonance. Then I will answer! ;) Glad to hear it works. BR Vincent (Raisonance) [ This message was edited by: VincentC on 18-01-2007 14:20 ]