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

STLUX 385 - GPIO interrupt.

Posted on October 21, 2014 at 11:25Hi, I have problem with gpio interrupt. I am trying configure and enable interrupt by calling function GPIO_Init(GPIO0, GPIO_PIN_0, GPIO_MODE_IN_FL_IT) but without success. In interrupt handler function INTERRUPT_H...

Bootloader not responding

Posted on October 04, 2014 at 12:31I'm using STM8L151G6 in a device. I've erased program and data memory using STVP and set bootloader checks 1 and 2 in option bytes (although as i understand this is not necessary since there is no data at address 0...

0690X00000602m2QAA.jpg
dscdsc by Senior
  • 634 Views
  • 1 replies
  • 0 kudos

pointer problem (sdcc assembler)

Posted on September 26, 2014 at 16:37HelloWith the code below, i get returned an incremented caracter it self , the pointer is not,is it normal ? meaning my code is wrong . i mean i get U not O ...Or should I file a bug at sdcc comunity? ldw X,&shar...

remi2 by Associate II
  • 2189 Views
  • 12 replies
  • 0 kudos

GPIO pin not driven high

Posted on September 04, 2014 at 14:58Hello, Ich have a question. I am connecting the output pin (PC7) of STM8S003K3 to input pin (PC7) of STM8S207S. When I set the pin to high, I do not see the input pin PC7 (as interrupt input) of STM8S207S goes to...

huck by Associate II
  • 2454 Views
  • 5 replies
  • 0 kudos

pointer or stack problem?

Posted on September 23, 2014 at 17:41I'm not even sure what to ask so I'll explain the problem as best I can. I did search everywhere for an answer. Anyway, I have an embedded project with a STM8S208C8 micro. I developed the project in C using ST Vi...

crc ccitt 16 bit for stm8s207

Posted on September 19, 2014 at 09:57hello please may i ask if there is a program availabe in assembly language for calculating the crc ccitt  with x16+x12+c5+1 many thanks marc debruyne #crc

Help me get string for stm8l152c8 through usart communication

Posted on September 13, 2014 at 08:33I'm trying to get a string from usart to stm8l, but when i got 2byte char, the RXNE is clear, and i can't get anymore char.My code is:main{    int8_t count = 0;    getdata  = '''';    while(1)    {        getdata...

chuanut4 by Associate II
  • 1409 Views
  • 6 replies
  • 0 kudos

cosmic customize link crtsi0.sm8

Posted on September 01, 2014 at 20:38please delete this item #cosmic-stm8-cosmic-lkf

jqu by Associate
  • 456 Views
  • 0 replies
  • 0 kudos

Using COSMIC C - trying to understand Clock setting

Posted on August 29, 2014 at 16:00Hello there, I am playing with my STM8s Discovery board but unable to set the clock properly. Can someone please put some light on what I am doing wrong. My code is as follows:---------------------------------------...