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

Strange value of register

Posted on February 24, 2013 at 09:08I have one strange problem. After this fragment of code program:b = a;a =/ 40;if(!a)//breakpointsthe results of two registers are: b = 50000 - good value, a=0The value of a should be about 1250 not 0!!I can't find...

adaszeq by Associate
  • 867 Views
  • 4 replies
  • 0 kudos

Pull-up Configuration on STM8L151C6

Posted on February 28, 2013 at 09:31Good day, I configure PortB PB2, PB3 and PB4 as inputs, pull-up, no ext int. These pins work 100% no problem. I also configure PortC, PC0 and PC1 precisely the same as the above pins but the pull-ups is not connec...

wynand by Associate II
  • 970 Views
  • 2 replies
  • 0 kudos

Links to Download STVP and STVD?

Posted on February 20, 2013 at 21:35We can I download the STVP and STVD software packages for STM8L MCU?  There are no links on the site? #stvd #stm8l #stvp

nathan2 by Associate
  • 1318 Views
  • 2 replies
  • 0 kudos

I2c pcf8574-Ds1307--

Posted on February 20, 2013 at 20:58hello, after long trying, i managed to write to the pcf8574 in assembly language. no i have only a problem with WRITING to the DS1307, i can read the DS1307 my question is, when you use a crystal of 14.7456Mhz, wh...

STM8S I2c

Posted on January 30, 2013 at 11:34hello, i try to make a connection between the stm8s207 and an pcf8574. the problem is with the software, because i can control the pcf8574 with an AARDVARK analyzer. when i send a start and an adress (40) for pcf85...

STM8S - SPI not working after power-on reset (yes, it strange)

Posted on March 19, 2012 at 19:01I trying to develop device using STM8S105K6 MCU and found something very strange. If I press reset button (connecting NRST to GND) all if working fine. But If I just turn off/on device power, MCU is starting (timer ...

Cosmic compiler unexpected result

Posted on February 01, 2013 at 12:05Hi. I'm using the Cosmic STM8 compiler (''free'' version, v4.3.9) and it appears to generate unexpected results for the following test :- static char test(unsigned int x, unsigned int y) {    return (int)(x - y) <...

phorton by Associate II
  • 3453 Views
  • 18 replies
  • 0 kudos

Setting RTC wake up timer for perioic wake up

Posted on July 17, 2011 at 21:55I've pored over the user guide and various app notes but cannot seem to get the RTC wakeup timer to start running, so no WU interrupt and I get stuck in halt mode. Can someone give me a difinitive checklist of what r...

Programming 2 STM8L at the same time with 2 ST-Link/V2

Posted on September 04, 2012 at 12:36Hello everybodyI'm trying to program 2 STM8L151 at the same time using 2 ST-Link/V2 and 2 STVP-Cmdline.exe calls, but I can't. Is there any way to get it?.Thank you in advance