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

Not coming out of Interrupt routine

Posted on March 02, 2011 at 11:48 I am using the following code for master and slave handling. When I send data from master to slave without using the interrupt routine below(by disabling intterupts) it works fine. BUT when I use interrupt routine i...

Timer 4 on STM8S103F3P6

Posted on February 19, 2011 at 15:40  Can't get working T4 overflow interrupt on STM8S103F3P6 (on STM8S-Diskovery with STM8S105 the same code works well): TIM4_CR1 = 1; TIM4_PSCR = 7; TIM4_IER = 1; Need minimal code to enable Timer4 overflow interru...

ne562 by Associate II
  • 771 Views
  • 1 replies
  • 0 kudos

STM8s and RF application

Posted on February 18, 2011 at 00:15Hi friends, hurrah to STM8s ! The 2.4 GHz PLL synthesizer is done, with LCD, 4x3 keypad, LMX2326, homemade VCO and Beeper. #stw8110x-series #rf-synthesizer #2.4ghz #keypad #lmx2326 #pll #lcd

spiovan9 by Associate II
  • 1057 Views
  • 1 replies
  • 0 kudos

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
  • 1193 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
  • 1356 Views
  • 7 replies
  • 0 kudos