STM8 MCUs

cancel
Showing results for 
Search instead for 
Did you mean: 

Forum Posts

long pressing can not wakeup stm8l152

/** ****************************************************************************** * @file Project/STM8L15x_StdPeriph_Template/main.c * @author MCD Application Team * @version V1.6.1 * @date 30-September-2014 * @brief Main progra...

Resolved! Why does the stvd gets closed when I click on programmer

I am new to stm8s. I have recently installed stvd on windows 7 32 bit. I have written proper code. Their is no compilation error and build is also successfull. But as soon as I click on programmer a window appears that shows stvd has stopped working....

SBadd by Associate II
  • 1448 Views
  • 5 replies
  • 2 kudos

CAN (SAE j1939) library

hai every one , i need can j1939 library file, for stm32 or stm8 series. please share ,thanks in advance .

KG.277 by Associate
  • 313 Views
  • 0 replies
  • 1 kudos

I am working on PWM signal and the following code is not responding properly. Can someone explain where I am making a mistake. I need to generate pwm signal on PB0 (timer ch1)

/* MAIN.C file *  * Copyright (c) 2002-2005 STMicroelectronics */#include <iostm8l.h>#include <stdio.h>#include <string.h>#include <stdlib.h>#include <stdint.h>#include "defs.h"unsigned int count = 0;unsigned int pwm_duty = 0x0000;void TIM2_SetCompar...

VSrin by Associate II
  • 392 Views
  • 0 replies
  • 0 kudos

How to make the keyword "click" to increment every time it enters the interrupt module. Please see the code below and help me out. All the time "Click" remains 0.

#include <iostm8l.h>#include <stdio.h>#include <string.h>#include <stdlib.h>#include <stdint.h>#include <math.h>#include "defs.h"static int click = 0;void delay(unsigned long dd){  unsigned long i;  for (i=0;i<dd;i++) nop(); }void RTC(void){ unsigned...

VSrin by Associate II
  • 454 Views
  • 0 replies
  • 0 kudos