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

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
  • 515 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
  • 826 Views
  • 0 replies
  • 0 kudos

the reset output pin!

Posted on April 12, 2015 at 18:55we have adopted stm8 in our application and get into production a year ago, which seemed ok, in reasonablly sum of quantity.but recent two batch of chips, mainly stm8s208, also messed up with stm8s105, give us big he...

STM8S swim error 30100: can't load library

Posted on April 08, 2015 at 19:39I have a new STM8S-Discovery board. When conneting it to PC USB port and loading ''discovery'' project and using STVD to start debugging, I got this error message:  ** Connection error (usb://usb) [30100]: can't load...