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

STM8S003F3 I2c master-slave problem

Posted on October 29, 2014 at 13:28 I have two STM8 boards. One is master & other is slave. What master does is: send 4 bytes to slave & then read 4 bytes from slave. Problem: Sometimes the cycle work & many times code is stuck. I don'...

STM8/128 demo fw broken (UARTs)

Posted on December 21, 2013 at 16:23The STM8/128-EVAL demo firmware provided by ST is broken: It does not correctly enable the output pins for the TX lines. Thus you will never see anything on the USARTs in the adc demos that are supposed to use the...

Tutorial/examples: Using sdcc with the STM8/128-EVAL

Posted on October 26, 2014 at 18:41I wrote a few tutorials for getting started with sdcc and the STM8/128-EVAL. One shows how to set up I/O and a timer. It uses the 4 red LEDs as a 4-bit counter than increments exactly once per second: http://www.co...

TIM1 TRGO FOR ADC

Posted on October 26, 2014 at 15:40I work on ST-Microcontroller  :STM8S003F3U6.I try to use TIM1 as a trigger (TRGO) for ADC interrupt.When I use the single pulse (TIM1_CR1_OPM=1)   mode (on TIM1 counter overflow) everything seems to work well, but ...

nataliap by Associate
  • 468 Views
  • 0 replies
  • 0 kudos

New Raisonance STM8, ST7 Compiler available

Posted on October 24, 2014 at 12:07Just FYI...    The new release of the Raisonance STM8, ST7 Compiler (v 2.58.15.0267) went on line. This is a maintenance release and corrects issues encountered in the latest anti-regression and performance testing...

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
  • 641 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
  • 2240 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
  • 2480 Views
  • 5 replies
  • 0 kudos