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

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
  • 1785 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
  • 398 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
  • 473 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
  • 548 Views
  • 0 replies
  • 0 kudos

stm8s001j3 pin 6 not set output mode

HiI am using STM8S001J3 controlleron my project and I'm have some problem about it,6 pin GPIOB 4 It doesn't work.I don't know how to solve it.Please help me..//example code GPIO_DeInit(GPIOB);GPIO_Init(GOIOB,GPIO_PIN_ALL,GPIO_MODE_OUT_OD_HIZ_LOW);whi...

VP by Associate II
  • 809 Views
  • 2 replies
  • 1 kudos