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

STM8 I2C interface with M24512FDW

Posted on March 09, 2013 at 09:28Hi , I'm using STM8L151C4 in my design. I have interfaced this with I2C EEPROM M24512FDW (ST make). Plz refer attachment for the schematic.  I had pulled the enable lines of the EEPROM ( E0, E1, E2) to high (3.3V) & ...

arun23 by Associate II
  • 784 Views
  • 2 replies
  • 0 kudos

STM8 Timer 1 and constant current control using ETR

Posted on March 07, 2013 at 13:01 Hi All, I am using the STM8L152 to generate a PWM, with it's duty cycle depending on current flowing through a relay coil. I have achieved this using the ETR input, with the following code: ...

STVD MCU Selection List Empty

Posted on March 04, 2013 at 21:14Was using STVD successfully for a couple of projects on two different machines.  One machine is still working fine.  I cannot create a new project targeting either the Raisonance Tool Chain, or any other tool chain ...

Cosmic Compiler Bug

Posted on March 04, 2013 at 16:33I'm using Cosmic Eval C Compiler V 4.3.7. The code of concern is as follows: if( RST->SR & (u8)0x02 == (u8)0x02) {....} I'm simply checking bit 1 of the reset register. I checked the disassembler because the program ...

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
  • 844 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
  • 952 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
  • 1269 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...