STM8 MCUs

Discuss STM8 microcontrollers, including SWIM, USART configurations, RTC usage, ADC issues, and debugging.

cancel
Showing results for 
Search instead for 
Did you mean: 

Forum Posts

STM8L MCU interface to ST-LINK/V2 programmer

Posted on April 30, 2015 at 01:32First time using an STM8L MCU.  I am drawing a schematic and I am not sure if my programming connector is wired right.  I will use an ST-LINK/V2 programmer.  Do I simply connect the 4-pin connector as shown below?  P...

0690X00000602m6QAA.jpg
jmm385 by Associate
  • 820 Views
  • 2 replies
  • 0 kudos

STM8S003k3 TIM1 PWM problem

Posted on May 08, 2015 at 15:44Hello every one. I have a workable code of pwm on STM8S105K4T6 and now I paste it in STM8S003k3 fnd it won't work.&sharpdefine CCR1_Val  ((u16)2047) // Configure channel 1 Pulse Width Blue&sharpdefine CCR2_Val  ((u16)2...

STVD: Preserve EEPROM

Posted on May 05, 2015 at 15:59How can I preserve the EEPROM contents when debugging my application on the STM8S003?I use STVD and either the STLink/V2 or the RLink.

Implement one wire slave ?

Posted on January 30, 2013 at 15:12Please can you tell me how to implement one wire slave in stm8s ?Note: the one wire master is GPS TELTONIKA FM1100 #1-wire

STM8S003F3U programming

Posted on April 16, 2015 at 14:04I'm totally new to STM8 microcontroller series. I'm planning to do a project using STM8S003F3U controller in which ADC and timer module will be used. It would be useful if i could find some sample codes for ADC,timer...

Debugging problem of STM8

Posted on April 30, 2015 at 08:21I'm doing a project on STM8S003F3. Im using IAR instead of stvd for developmeant purpose. I could create my sample project and successfully debugged it. It was working fine for few days. But today debug session termi...

STM8 startup bug Timer 2 input capture

Posted on April 28, 2015 at 12:50 Hi, I wanna make a frequency pulse counter with an STM8. The counter is based on the input capture of the STM timer 2. The frequency is a frequency with a range of 1 Hz - 20 kHz. With the following ...

mitchell by Associate
  • 572 Views
  • 0 replies
  • 0 kudos

Bit Variables ISR Safe?

Posted on April 24, 2015 at 20:43I am using the Cosmic compiler and I want to read and write bit variables in an ISR.  I am wondering if there is a guarantee that ALL bit variable manipulations are atomic (ie using bitwise instructions).  If not - s...

[HELP] Question about Illegal Opcode Reset

Posted on April 22, 2015 at 05:15Hello everyone! I am using STM8S105 and I don't understand the Illegal Opcode Reset function yet. How does it work? What is its function exactly? And which case do we use it? Thanks and best regards!

Resetting the beCAN error counters

Posted on April 20, 2015 at 14:28I'm in the process of implementing a CAN-based ad-hoc communication protocol on the STM8S208C8 MCU. Slave devices in this systems perform auto-baud detection by monitoring the receive error counter and trying the nex...

johanf by Associate
  • 908 Views
  • 0 replies
  • 0 kudos