STM8 MCUs

cancel
Showing results for 
Search instead for 
Did you mean: 

Forum Posts

STM8 Basic Timer1 function

Posted on March 26, 2013 at 05:48I cant seem to decipher the TIM1 registers to get a basic timer function similar to TIM2 or TIM4.  Count UP and interrupt only if you reach the auto-reload period. In my application I reset the counter to 0 before th...

jpollock by Associate II
  • 1425 Views
  • 1 replies
  • 0 kudos

Cosmic compiler and strcmp

Posted on March 23, 2013 at 18:04 I'm trying to compare an input string, and using the COSMIC C environment. I've had no luck with their supplied strcmp function, so I gave up and wrote my own... But still wondering what is wrong... ...

klaasdc by Associate II
  • 519 Views
  • 2 replies
  • 0 kudos

STM8L151K4 - I2C problem

Posted on June 18, 2012 at 01:09I want to send 6 Bytes by I2C to slave, but when I send address slave and wait for ACK the is no reaction. I used 10k pull-up resistor.CLOCK_SPEED = 100000=100kHzBUFFERSIZE = 6/********************  main.c ***********...

adaszeq by Associate
  • 632 Views
  • 3 replies
  • 0 kudos

help~ SPI initialization error (STM8S105S6)

Posted on March 24, 2013 at 11:24hi there here's my problem, i tried to program a spi device, and (after a long debug i finally knew that it) got stuck at waiting for TXE flag of SPI_SR, trying to write to the SPI bus. and i checked the SPI_CR1 regi...

fnems by Associate
  • 371 Views
  • 0 replies
  • 0 kudos

STM8S SPI Master Hardware CS/SS Controll

Posted on March 24, 2013 at 07:16I've working with the STM8S103K3T6C (LQFP package) and getting SPI Master working, without the Standard Peripheral libraries.  I am able to send data correctly, however I havn't been able to get the hardware SPI peri...

arron by Associate
  • 600 Views
  • 0 replies
  • 0 kudos

STM8S003 Interrupt Sensitivity

Posted on March 23, 2013 at 23:11I'm playing around with external interupts from a button and the code base is essentially what was used in the discovery board. It seems as though the documentation suggests that external iunterrupts from the ports c...

jpollock by Associate II
  • 400 Views
  • 1 replies
  • 0 kudos

STM8L15x touch sensing

Posted on March 21, 2013 at 20:53I cannot find a link to download the touch sensing library for the STM8L15x microcontroller. Where is the software in the new site ? #touch-stm8l15x

STM8S standard firmware library online help

Posted on March 09, 2013 at 00:43Hi, It is written we can find a online help file ''stm8s_fwlib_um.chm'' in the document UM0834 for the STM8S-DISCOVERY, in chapter 3.1.2.Where can I get it exactly????Thanks in advanceS.K #help-file

sorakann by Associate
  • 389 Views
  • 1 replies
  • 0 kudos