TIM1 counter
Posted on March 08, 2012 at 20:57 Hello, I try measure frequency 50-500Hz. I use STM8S-DISCOVERY KIT with STM8S105C6T6 and FWLib. How initiate the appropriate timer and which port to use? #include ''stm8s_con...
Discuss STM8 microcontrollers, including SWIM, USART configurations, RTC usage, ADC issues, and debugging.
Posted on March 08, 2012 at 20:57 Hello, I try measure frequency 50-500Hz. I use STM8S-DISCOVERY KIT with STM8S105C6T6 and FWLib. How initiate the appropriate timer and which port to use? #include ''stm8s_con...
Posted on February 15, 2012 at 20:16Is there any good library to manage the STM8S I2C peripheral running as a slave?I have tested some examples and I'm having many problems in noisy environments, the bus is busy but both slave and master wait for th...
Posted on November 22, 2011 at 16:17hello, I'm trying to trigger the ADC1 with the TRGO signal of TIM1, here is the code that I,m using to configure the timer: TIM1_DeInit(); TIM1_TimeBaseInit(128, TIM1_CounterMode_Up, 62500, 0); TIM1_SelectOutputT...
Posted on March 09, 2012 at 04:26Hello all, I connected crystal 32.768 khz to pin C5,C6 of stm8l151. I want to use RTC-calendar but look like crystal not work. /* Enable LSE */ CLK_LSEConfig(CLK_LSE_ON); /* Wait for LSE clock to be ready */ ...
Posted on December 08, 2011 at 15:57In debugger STVD permanently there are failures. Only reboot helps
Posted on March 06, 2012 at 19:36I want the device to be ''like a virgin''. I've tried STVP but erase option is not visible there. Why?What is another method to erase the chip ? Is that possible to be done by EWSTM8 of IAR ?Thanks,E.L.
Posted on January 14, 2012 at 21:56Hello,STM8L has 2 comparators: COMP1and COMP2. COMP2 is very useful as it has an ability to get any desired threshold: either internal or external. The only threshold for COMP1 is internal Vref, so I'm wondering wh...
Posted on June 16, 2011 at 07:38Good day, I've started some time ago with the STM8S Discovery, STVD and Cosmic limited to 16k. I'm now at the point where i need to answer the following: - How can I check how much memory space on the chip is being us...
Posted on February 27, 2012 at 17:05Hi, I'm using ST Visual Develop 4.3.0 to write code for an STM8L. Is it possible to set-up a project so that its output is a library rather than a hex file? I've got driver code that I'd like to use in a different...
Posted on September 07, 2011 at 15:38When the JP instructions jump less than 92H I haven't any problem, but if it jumps more than 92H the JP and Call command do not work properly. I am sure to be in the same section because I use STM8S105C6. Example...