24C32 I2C with stm8S dyscovery problem
Posted on November 03, 2013 at 00:51Hello. I've a 24C32 on the good pin of my stm8s, I use the stm8 eval library but i've a sEE_TIMEOUT_UserCallback all the time. Is there a better library ? Thank you
Discuss STM8 microcontrollers, including SWIM, USART configurations, RTC usage, ADC issues, and debugging.
Posted on November 03, 2013 at 00:51Hello. I've a 24C32 on the good pin of my stm8s, I use the stm8 eval library but i've a sEE_TIMEOUT_UserCallback all the time. Is there a better library ? Thank you
Posted on June 10, 2013 at 16:48Hello everybody,I'm programming a STM8L152C6 on the STM8L-discovery. Wanting to improve the consomption I tri to power down the HSI. For that I use the instruction // Clock source CLK_LSICmd(ENABLE); CLK_SYSCLKSo...
Posted on June 13, 2013 at 13:27I want to use stm8L watch dog in halt/halt-active mode. my system wakes up by RTC.1. when I choice Independent watchdog, a watchdog reset happens when system is in halt/halt-active mode. As you know, the option byte(0...
Posted on October 09, 2013 at 23:02I'm using Cosmic 4.3.6 compiler & have a project with greater then 32k code. I need to checksum the flash at startup and periodically during runtime to satisfy UL60730. My first project (about 12k code size) went...
Posted on October 25, 2013 at 00:18I have an STM8L application that needs to scan several ADC channels on a fixed time basis, so I used the ADC_DMA code from the STM8L standard peripheral examples as a starting point. The timer is set to a 1KHz trig...
Posted on October 10, 2013 at 08:52Hello, I have a simple question: uint32_t temp; temp |= ((uint32_t)1 << 16); without retyping it does not work (although if I add the expression to Watch, it shows expected 1 on 16th bit of temp). Why? I use Cosmi...
Posted on September 11, 2013 at 14:17Hello,I am currently working on STM8L15C6. For my application I need to read the value stored at location VREFINT_FACTORY_CONV. The value at this memory location is 0xFF. We were assuming the value to be somewher...
Posted on March 17, 2011 at 04:09How to programming ROP option byte via swim? #programmer #stm8
Posted on September 26, 2013 at 05:36Hi. Trying to find out what, if anything, the STM8 compiler does with the @stack function qualifier. The STM8 LIN Driver uses @stack quite a lot, however it is not documented in the Cosmic STM8 User Manual. Tha...
Posted on September 19, 2013 at 11:21Hi, today I have a very special question: I read in the programming manual, that the instructions DIV an DIVW are interruptible. What exactly happens, when an interrupt occurs while calculating is active - with ...