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

Problem with I2C on STM8L151

Posted on November 04, 2014 at 15:20 Hello, I tried distilling the peripheral library sample on i2c to make it simpler for my own use. However, strangely I cannot get pass a the send address part, and can't figure out why. Can someone give me so...

andy2 by Associate II
  • 609 Views
  • 2 replies
  • 0 kudos

STM8 support

Posted on November 05, 2014 at 23:46I am new-bee for STM8. I was using TI MSP430 before. how can i get some example codes to start getting zest of ST micro

abhishek by Associate
  • 435 Views
  • 0 replies
  • 0 kudos

24-bit ADC interfacing with STM8S105

Posted on November 05, 2014 at 05:25Hello, I am interfacing a 24-bit ADC(HX711) with STM8S105 (STM8S discovery board). The intention is to read the weight(mv) from a loadcell(weight sensor) convert it via ADC to counts and display those counts via U...

External Interrupts: Which Pin lauches the interrupt ?

Posted on March 06, 2014 at 16:02 Hello, I have 2 pins on the same port B defined to launch interrupt on RISE. When the interrupt is launched, how can I test which pin causes the interrupt launch ? GPIO_Init(GPIOB, GPIO_PIN_...

contact by Associate
  • 701 Views
  • 1 replies
  • 0 kudos

Example of Manchester Decoding on stm8

Posted on October 31, 2014 at 19:22Hello,Do anybody has an example of manchester decoder for stm8 on C? As I understand, I should use a timer interrupts or an EXTI. Thank you.  #stm8 #manchester

tome by Associate II
  • 467 Views
  • 0 replies
  • 0 kudos

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...