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

AC characteristics of the STM8L ADC

Posted on April 05, 2013 at 09:54Hello, is there any information about the AC characteristics like SINAD or ENOB of the 12-Bit ADC? Gregor #adc-characteristics

gregor2 by Associate
  • 537 Views
  • 0 replies
  • 0 kudos

¿How make a txt archive and save it in stm8l discovery memory?

Posted on April 03, 2013 at 00:51I need to combine some datas in a txt archive and save it in the memory of stm8l discovery. I have saw that the demo board has got 30 Mbyte and I would not require an sd card or an other external memory type.¿Could ...

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
  • 1651 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
  • 622 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
  • 725 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
  • 457 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
  • 672 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
  • 474 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