STM8 MCUs

cancel
Showing results for 
Search instead for 
Did you mean: 

Forum Posts

simple Interrupt example

Posted on September 05, 2010 at 00:17Hallo @ All, I'm just starting with microcontrollers, and my first one is stm8s-Discovery. GPIO, PWM and some functions of Timers I already understood, but what I still would like to learn is to write in C is an ...

mischap by Associate
  • 165 Views
  • 1 replies
  • 0 kudos

stm8s_spi.h and manual misalignement

Posted on January 03, 2011 at 10:34I was about to implement a SPI communication between STM8s and another peripheral. I came across a possible misalignement between what the manual says and the remarks in the FW library code stm8s_spi.h. When the SP...

spiovan9 by Associate II
  • 263 Views
  • 0 replies
  • 0 kudos

GPIO initialization/testing

Posted on December 22, 2010 at 23:02hello, I just started with the STM8S-discovery .can you tell me how I boot the pine 0,1,2 port B as input.and how I'm doing the test on the value entered.if (?????){    instruction 1....} 

nad by Associate II
  • 173 Views
  • 2 replies
  • 0 kudos

MY FIRST QUESTION

Posted on August 29, 2010 at 11:50Dear comunty, I'm a older Microcontrollers programer. Well my question I think is easy for you. I know program microcontrollers with machine lenguage I mean: Lda ... Sta... Txa.. I don't know use C Program lenguage....

point number

Posted on December 27, 2010 at 14:08hello, I have a problem with the point number. for exemple:0.9383     0.7445     0.6478      0.5906. How to leave his number in the GPIO.

nad by Associate II
  • 162 Views
  • 4 replies
  • 0 kudos

point number

Posted on December 27, 2010 at 14:10hello, I have a problem with the point number. for exemple 0.9383     0.7445      0.6478      0.5906. How to leave his number in the GPIO.

nad by Associate II
  • 181 Views
  • 1 replies
  • 0 kudos

4x3 keypad improved with autorepeat and debounce

Posted on December 24, 2010 at 22:20Hi all, Here's an improved code for the 4x3 keypad with debounce and autorepeat. With STM8S 2MHz clock it performs pretty close to the PC keyboard. The action() function is out from the keypad management state ma...

spiovan9 by Associate II
  • 158 Views
  • 2 replies
  • 0 kudos

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
  • 466 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
  • 232 Views
  • 3 replies
  • 0 kudos