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

Debuging STM8 With ST Visual Developer Cant Select MCU

Posted on April 16, 2014 at 17:52I need to a Debug an STM8L151 with ST Visual Develop, I have the cosmic compiler installed and activated.My Project builds, but wont start debuging.I get the warning/error ''Before running the application, you should...

0690X00000604wsQAA.png
carl2 by Associate II
  • 1072 Views
  • 5 replies
  • 0 kudos

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

halt mode current consumption vs HSE

Posted on March 11, 2015 at 14:47Hello, we are tuning current consumption of our PCB. Microcontroller runs from HSE 16MHz crystal oscillator. When I put it in halt mode, the consumption is 100uA. When I change clock source to HSI and put PA1 and PA2...

pok-on by Associate II
  • 462 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
  • 541 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
  • 1146 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
  • 537 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
  • 584 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
  • 582 Views
  • 0 replies
  • 0 kudos