STM8 MCUs

cancel
Showing results for 
Search instead for 
Did you mean: 

Forum Posts

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
  • 564 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
  • 784 Views
  • 2 replies
  • 0 kudos

CAN filters

Posted on February 28, 2013 at 11:42Hello!I want to create a network of MCUs, and I want every item to have an ID.Messages should be addressed to one item by id or to any item in network.For example, in item with id 5 can send message to id 98 and t...

urvindt by Associate
  • 572 Views
  • 0 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
  • 964 Views
  • 2 replies
  • 0 kudos