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

Errors STVD

Posted on February 04, 2011 at 17:32Hello, can you help me?I can not build any code with STVD.I installed COSMIC compiler 32K.every time he gives me the following error message:----------- Project stm8s105 - STM8 Cosmic - Configuration Debug -------...

nad by Associate II
  • 1257 Views
  • 3 replies
  • 0 kudos

comunication between color sensor and stm8s-discovery with i2c

Posted on February 01, 2011 at 16:09Hi!I want that stm8s-discovery read color  using a color sensor (ADJD-S371-QR999).I use i2c protocol in this way:I2C_GenerateSTART(ENABLE);    while(!I2C_CheckEvent(I2C_EVENT_MASTER_START_SENT));</span></div>     ...

Issue the command BRES and register ITC->ISPR

Posted on January 31, 2011 at 05:04why reset command BRES does not work one bit of the register ITC->ISPR (does not reset the bit) in the simulator works in real mcu does not work. - However, the command BSET works in the simulator and in mcu --- e...

Int2str function improvement

Posted on June 15, 2010 at 17:25Dear friends, this improved version of the ''int2str'' function will solve a bug present in the original version provided with the hyperterminal example though it is used nowhere in that example. I'm working on an app...

spiovan9 by Associate II
  • 1508 Views
  • 7 replies
  • 0 kudos

STM8L-Discovery_Dev.zip Where can I get a copy

Posted on January 14, 2011 at 12:56Just started to work using the STM8L-Discovery board, all the user manuals say download STM8L-Discovery_Dev.zip?????? Where in the ST site is it?  Rik, Cambridge. ENGLAND

rik by Associate
  • 674 Views
  • 2 replies
  • 0 kudos

test on the value of a vector

Posted on December 30, 2010 at 00:13Hello, I want to write a program to make his test on the value of a vector. is that there is another simpler solution??GPIO_DeInit(GPIOB);GPIO_Init(GPIOB, GPIO_PIN_0, GPIO_MODE_IN_PU_NO_IT);GPIO_Init(GPIOB, GPIO_P...

nad by Associate II
  • 1867 Views
  • 10 replies
  • 0 kudos

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
  • 594 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
  • 665 Views
  • 0 replies
  • 0 kudos