Timer as frequency/RPM counter, CapCom offset?
Posted on June 13, 2012 at 21:02The original post was too long to process during our migration. Please click on the attachment to read the original post.
Discuss STM8 microcontrollers, including SWIM, USART configurations, RTC usage, ADC issues, and debugging.
Posted on June 13, 2012 at 21:02The original post was too long to process during our migration. Please click on the attachment to read the original post.
Posted on June 27, 2012 at 05:08I am using STM8S103 to measure three channels of voltage signals named vs12, vs5 and vs3 respectively. Timer 4 is enabled to generate interrupt every 10ms and three voltage signals are measured alternately. That is, i...
Posted on May 30, 2012 at 10:35I'm coding my 3rd testing project on stm8, to be exact in 2 different mcus, 103 and I'm using cosmic compiler, and i didnt have any problem with the previous 2 projects (because i didnt verify the size).The problem is...
Posted on May 23, 2012 at 13:00I am using STVD 4.3.1 with ST-LINK and windows 7 32bit.Most times I try to enter debug mode I get COMM TIMEOUT ERROR. Clicking STOP and trying again just results in the same error over and over again.The only way to c...
Posted on June 21, 2012 at 13:54 Hi all, I'm trying to write an update routine for an STM8S003F3, so that it can be updated over SPI. I'm pulling 128byte chunks of data from a routine in ram, then attempting to write them to the mai...
Posted on June 18, 2012 at 17:23Hi everyone,I have serious problem about TIMx_SR1 register. This register is 0x07 at the normal time. I finished my code and i am using timer3 everything is ok. Sometimes my timer3 working wrong and i found problem.T...
Posted on June 13, 2012 at 14:47I'm relatively new to Raisonance/RIDE 7 for STM8 , and wondering that it seems not to support the ST-Link debug adapter, only it's own RLink. Is this correct ? Sorry to say so, but I consider this either poor performa...
Posted on June 03, 2012 at 07:04I am using the STM8S as an SPI slave device. The protocol I am using has a fixed sized buffer and I was thinking about using this interrupt to reset the buffer pointers. The data sheet suggests that this interrupt c...
Posted on June 11, 2012 at 16:36Hello, Wondering if anyone has been able to use IAR to put a table in ROM memory instead of the default RAM with init table. I would like something like: code int a[] = {1,2,3,4,5,6} or int a[] @ ''abc'' = {1,2,3,4,5...
Posted on May 10, 2012 at 13:01Dear all,I have some strange roundings with float values: for example when I write 0.05 in eeprom (calibration parameters) it becomes 0.049999997 when I read It.0.2 becomes 0,199999988.I use Cosmic compiler, I tried t...