STM8 MCUs

cancel
Showing results for 
Search instead for 
Did you mean: 

Forum Posts

STM8S105C6 TIM3 CH1 FOR SPEED MEASUREMENT

Posted on July 28, 2013 at 18:44DEAR ALL, I WANT TO USE STM8S TIM3 CH1 AS SPEED MEASUREMENT OF MOTOR VIA PULSE INPUT. I HAVE 12 PULSE PER ROTATION. HOW TO START OR ANY IDEA FOR GETTING STARTED WITH THIS. #st

paresh by Associate
  • 444 Views
  • 1 replies
  • 0 kudos

IWDG & WWDG for stm8l151c6 halt active mode

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...

_checksum16()

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...

jdf25252 by Associate II
  • 1016 Views
  • 3 replies
  • 0 kudos

start and stop the tim1 -> adc -> dma chain

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...

mark23 by Associate
  • 461 Views
  • 0 replies
  • 0 kudos

<< shift easy question

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...

pok-on by Associate II
  • 845 Views
  • 3 replies
  • 0 kudos

Cosmic compiler problem

Posted on October 18, 2013 at 16:42I'm using the Cosmic 32k compiler version 4.3.6 and STVD Version 4.3.1 for a project with an ST8S208C chip. The problem seems to be the compiler. Whenever I do 32 bit math while interrupts are on, I occasionally se...

STM32f407

Posted on October 20, 2013 at 10:04Hello everyone,i am a beginner and i started my project on accelerometer and gyroscope very recently.Can someone tell me the what exactly is MB997B or MB997A.I could find the information only on STM32F407 MB997A on...

VREFINT_FACTORY_CONV

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...

megha by Associate
  • 674 Views
  • 3 replies
  • 0 kudos

STM8LEVAL101 examples

Posted on October 16, 2013 at 12:53I'm trying to make sense of the EVAL101 USART_MultiProcessor example.It transmits 0x33 continuously. That's fine, but where is it getting the 0x33 from?I can see no reference to that data anywhere.I can't find any ...