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

STM8A Open Drain Pin Protection. Please Verify My Design

Posted on December 11, 2012 at 16:08Hello, attached is a picture of the power input of my circuit and the protection diodes I have implemented. This is an automotive device with a 12V nominal input, that will get voltage spikes of up to 60V during e...

STM8 CAN, CAN bootloader

Posted on November 29, 2012 at 14:24Hello! Now I'm in search of design of my project and I really going to use STM8s208 MCS's. Im'm new to STM8 at all.I need a wired controller network, with about of 20 devices. Every device should be able at any ti...

urvindt by Associate
  • 590 Views
  • 0 replies
  • 0 kudos

STVD / Raisonance compiler - inspecting global variables

Posted on November 16, 2012 at 10:15When debugging an STM8 using the STM8S-Discovery I can't inspect global variables. When I set a break point and add a variable to the watch window in STVD, I get ''no debug info'' in the Value column. Local variab...

cnurton2 by Associate
  • 389 Views
  • 0 replies
  • 0 kudos

STM8 Slave : I2C Write and Read

Posted on November 14, 2012 at 14:35Hi all, I have an issue while the I2C-host writes and reads to/from the STM8-I2C-Slave. Write operation is immediately followed by a Read. 1) I2C Master writing to STM8-I2C-Slave      : s A2w a 0A a 47 a 40 a p 2)...

spveer by Associate II
  • 595 Views
  • 0 replies
  • 0 kudos

stm8 uart1

Posted on October 29, 2012 at 07:25hello, please can someone one help me with a uart problem on the stm8s i use a crystal of 14.7456 Mhz , also i do the change of the clock system, see the atached program. the uart1 is initialised as, pa4 and pa5, ...

stm8s20x series MODBUS RTU and ASCII

Posted on October 20, 2012 at 04:10HiI looked at google  MODBUS RTU and ASCII for some source code for stm8 but i could not find any source code for stm8 series... 1. Is there any source codes for stm8 series?2. When a device is connected to stm8 ua...

irmakci by Associate II
  • 1318 Views
  • 2 replies
  • 0 kudos

STM8S

Posted on October 22, 2012 at 12:14hello, please is there a sort of stm8s assembly language available who convert a 16 bit binary  to 5 bcd  code many thanks marc debruyne

RAM memory issue on STM8L151G6

Posted on September 28, 2012 at 17:41RAM memory issue on STM8L151G6When using the RAM there are five addresses that I cannot change by software: 0x102, 0x12F, 0x237, 0x24D and 0x2A9. I am using the following test code; for (i=(unsigned char *)0x000;...

PWM frequency and duty cycle control - problem

Posted on October 15, 2012 at 19:56 Hi, I'm trying generate a PWM signal whose frequency and duty cycle are controllable by 2 potentiometer on a STM8S105 Board. However, I am still unable to get the variables to update their values. Here...

CXSTM8 bug when writing to bit structure

Posted on October 11, 2012 at 09:36To optimize the code I put nearly all the flags to bit structures. Now I came across a  bug in the CXSTM8 when writing to bits. Reading bits doesn't bring any problem.  The good news for me is that I found a workar...