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

initializing UART2 of STM8s105 in asm coding

Posted on March 16, 2015 at 13:40 hello, here under my asm code for initializing UART2 of STM8s I use STVD IDE with stm8s discovery. when I put a break point at the end of the init, all the UART2 peripherals remains at 0x0000. I do...

Blink all elements on LCD

Posted on March 13, 2015 at 17:42 Hey, I want a very simple example: All elements on LCD should blink at startup(so in this very simple example: for everytime ;) So I want to use the BlinkConfig Function from the StdLibrary... My e...

flol2204 by Associate
  • 480 Views
  • 0 replies
  • 0 kudos

Clock x ports doubts

Posted on November 19, 2014 at 12:13Helloi�m new in STM8s105 microcontroller and cosmic c compiler.i wrote a small program:i set the clock with internall clock with prescaler 8:CLK_CKDIVR= 0b00011000;it means that my uc will operate at 2 MHz, right?...

STM8S Discovery - blink led1

Posted on March 09, 2015 at 19:16 Hi guys, I am trying to understand the ports of stm8s105c6.. I want to blink the led1 of the board on port PD0.. For what I understand I need to configure PD0 as Output, and after, drive curr...

lmx1 by Associate II
  • 573 Views
  • 0 replies
  • 0 kudos

Cannot read VREFINT Accurately on STM8L052C6 48 pin package

Posted on December 14, 2012 at 03:12I route VREFINT to an output pin and it reads correctly at 1.22V.If I vary my input voltage, the VREFINT raw count value drifts around between 1100 and 1300 counts using VDD at 3.22V.  The higher the voltage, the ...

iron by Associate II
  • 1215 Views
  • 3 replies
  • 0 kudos

STM8L Discovery Board SWIM Out

Posted on January 04, 2014 at 15:58Hello,I would like to know that if the SWIM output on the STM8L discovery board can be used to program/debug other STM8/STM32 Boards? instead of the STM8L chip on the same PCB.Thanks

gada by Associate III
  • 574 Views
  • 2 replies
  • 0 kudos

Incorrect ADC readings

Posted on March 03, 2015 at 11:58Hi,I have encountered with some issues with ADC readings.I’m using STM8S003F3 and reading 4 of 5 ADC channels (2, 3, 4, 6) and the readings are not as expected.For testing the ADC readings, I use STM8S003-Discovery a...

lior2 by Associate
  • 634 Views
  • 0 replies
  • 0 kudos

Debug Dwarf errors, cannot debug using STVD

Posted on March 02, 2015 at 20:24Hello,My problem is using the STVD debugger.  The development platform is win7 64.  The tools are STVD 4.3.6, Raisonance Ride7 7.50.14.0185, RKit-STM8 2.54.14.0283.  The debugger starts normally, no errors, it appear...

rmottes by Associate II
  • 616 Views
  • 0 replies
  • 0 kudos

IEC60355_STM8AS_V1.1.0, periodic RAM test error

Posted on February 23, 2015 at 18:27I'm runningST library IEC60335 STM8AS v1.1.0 in a STM8S105C6.RAM March X periodic test is failing, I think there is an error in the library.Class B RAM (fromCLASS_B_START=0x10 to CLASS_B_END=0x7F) is checked from ...

Stm8s003f3

Posted on February 17, 2015 at 14:04Hello im working with stm8s003f3 in that unable to use external interrupt pin..in datasheet its mention for 20 pin ic port b will have external interrupt capability.. I have made port B pin as input with interrupt...

ekta by Associate II
  • 645 Views
  • 0 replies
  • 0 kudos