cancel
Showing results for 
Search instead for 
Did you mean: 

Time controlled by timer

mchnani
Associate II
Posted on June 29, 2010 at 17:08

Time controlled by timer

13 REPLIES 13
lowpowermcu
Associate II
Posted on May 17, 2011 at 15:09

Hi moussa,

Probably you have a non-coherence between stm8s_it.c, stm8s.it_h and interrupt_vector.c.

Why you are not using the template provided by ST in the standard library. It is easier and faster for start-up ?

That was my case when I started enjoying with STM8S micros.

Tell me if It is OK now.

Regards,

MCU Lüfter

mchnani
Associate II
Posted on May 17, 2011 at 15:09

Hi lowpowermcu,

finally i succeeded to generate the interruption and the time is controled perfectly thanks to your help, 

thank you very much,

now i want to communicate with stp08dp05 driver leds via SPI communication,

in ST web site i thought AN2478 application but it's developed with ST7lite, have you any ideas to program with stm8

thank you so much

Best regards,

lowpowermcu
Associate II
Posted on May 17, 2011 at 15:09

Hi moussa,

I didn't used it but you can start with the provided examples on SPI and then to update it to your requirement.

If you have some news thanks to share.

With regards,

MCU Lüfter

nanayakkaraan
Associate II
Posted on May 17, 2011 at 15:09

Hello Chnani,

I am also having a problem similar to you. That is in my case also the timer counter is not getting increased. But going through the thread I cant understand what changes have helped you to overcome the problem.

So can you please tell me explicitly which registers were changed and what are the values that gave you the desired output?

 

Thank you.