STM8 MCUs

cancel
Showing results for 
Search instead for 
Did you mean: 

Forum Posts

long press problem

void main(void) { /* Infinite loop */ CLK_SYSCLKDivConfig(CLK_SYSCLKDiv_8); GPIO_Init(GPIOE, GPIO_Pin_7, GPIO_Mode_In_PU_IT); EXTI_setup();   halt(); // first active #if 0 while(1) { halt(); ...

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
  • 1329 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
  • 297 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
  • 380 Views
  • 0 replies
  • 0 kudos