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

examples/TIM2/TIM2_Input_Capture/main.c

Posted on December 16, 2010 at 17:29Hi all, I was studying the examples on timers and so on. I came across the source ''main.c'' in the STM8S Firmware Library package, examples/TIM2/TIM2_Input_Capture/main.c, a piece of which is shown below. Th...

spiovan9 by Associate II
  • 1321 Views
  • 5 replies
  • 0 kudos

Configurable clock output

Posted on December 13, 2010 at 20:41I would like some information on configuring Port E0 to be a clock output of 4Mhz. Is their an example someplace. charles

carnett1 by Associate II
  • 720 Views
  • 3 replies
  • 0 kudos

CCO

Posted on December 14, 2010 at 13:49has anybody ever used CCO, the configurable Clock Output?  I think I initialized it.  I enabled it.  Everything compiled but I never did anything that would set the frequency.  The output is a high.  Does anyone k...

carnett1 by Associate II
  • 655 Views
  • 2 replies
  • 0 kudos

IO ports

Posted on November 12, 2010 at 14:33I intialize Port A3 as a push pull output but when I call writeHigh or writeLow nothing changes on that output.  I am using a multimeter to read the output on pin 9 of cn1 charles

carnett1 by Associate II
  • 947 Views
  • 5 replies
  • 0 kudos

Stm8s Discovery project with stts75 sensor and µoled display

Posted on November 30, 2010 at 10:31 hello all Please find attached file source code and resources on my recent personal project. Stm8s-Discovery is interfaced with astts75 chip (digital I²C temprature sensor) and a graphic serialdisplay of...

RomainR. by ST Employee
  • 389 Views
  • 1 replies
  • 0 kudos

HyperTerminal example re-work

Posted on July 20, 2010 at 12:07Hello all , After all your feedbacks on the HyperTerminal example, we're currently reworking the package (documentation and source code) . the new sources (um0884.rar) are in attachement of this post . in this correct...

Grom by ST Employee
  • 1449 Views
  • 9 replies
  • 0 kudos

Type conversions

Posted on November 22, 2010 at 19:15I am using the STM8S-discovery card and I want to convert a long to a floting point and also a float or double to an ASCII  string.  If I use a very common conversion such as atof to convert a string to a float it...

carnett1 by Associate II
  • 732 Views
  • 4 replies
  • 0 kudos

Stm8s + pressure sensor

Posted on November 19, 2010 at 14:50Hi,i'm new in developping , so i was wondering if anyone can help me developping the code of a pression sensor relied to the Stm8s.Can anyone give me the functions and pins to use.Thank you.

kinggnl by Associate
  • 546 Views
  • 2 replies
  • 0 kudos

current on smtss-105c6

Posted on November 18, 2010 at 22:43I would like to find the spect sheet for stm8s 105c so I can see what load current is availabile on the i/o ports.  charles

carnett1 by Associate II
  • 398 Views
  • 1 replies
  • 0 kudos