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

new in this MCU

Posted on July 07, 2012 at 14:41hello, i have done other MCUs like 8051, PIC, AVR. now i want to use this MCU.  i want to start with STM8Sxxxx series..please suggest me how to start.thanks in advance.

How to correctly configure UART pins in asembler

Posted on December 17, 2012 at 22:07I'm willing to init UART in asm and not sure is it required to configure specific IO port pin as  output pin with Px_DDR and only then then I can use UART_TX  or the pin configures in output type automatically wh...

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
  • 567 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
  • 368 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
  • 565 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
  • 1251 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;...