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

I want to display counter values from stm8s to 3 digit seven segment display via 74hc595, but was .unable to do so.Any suggestion will be appreciated .

In my project i have interfaced stm8s003f3 with3 digit 7 segment display via 74hc595d in order to reduce the used pin count in stm8s. From the Stm8s 3 pin are to 74hc595d (sh_cp,st_cp,ds) and three pin to digits pin of 7 segment display. I atta...

Dshar.1 by Associate II
  • 766 Views
  • 0 replies
  • 0 kudos

Problem displaying numbers in 3 digits seven segment display interfaced with 74HC595 shift register? I am trying to send values from stm8s003f3 to display it in 3 digit seven segment display. I have interfaced Stm8s with 74hc595d for pin reduction.

The problem faced is that values send from controller is not displayed on 3 digit seven segment. I am attaching the program please tell me where i am doing wrong./* MAIN.C file *  * Copyright (c) 2002-2005 STMicroelectronics */#include "STM8s.h"void...

AMana.2 by Associate
  • 577 Views
  • 0 replies
  • 0 kudos

Debugger doesn't seem to be working

I have been following this tutorial:http://stm8sdiscovery.nano-age.co.uk/adventures-in-stm8-assembler/getting-started-with-the-blinking-led. When he does the "run to cursor" it stops on the instruction and highlights the editor window. Mine the out...

JTann.1 by Associate II
  • 700 Views
  • 0 replies
  • 0 kudos

how to clear the pending external interrupt

@svlreg INTERRUPT_HANDLER(EXTI_PORTD_IRQHandler, 6){ /* In order to detect unexpected events during development,   it is recommended to set a breakpoint on the following instruction. */ if((SWITCH == RESET) && (flag == SET)) { OFF_STATUS = TRUE; fla...

Trinu by Associate III
  • 878 Views
  • 0 replies
  • 0 kudos

STM8AF5286 UART3/LINUART not sending data

My following code is not working for sending data over LINUART port of STM8AF5286. I am using STVD and STM8_Standard_Project_Template.GPIO_Init(GPIOD, GPIO_PIN_5, GPIO_MODE_OUT_PP_HIGH_FAST);UART3_DeInit(); UART3_Init(9600,UART3_WORDLENGTH_8D,UART3_S...

PPate.1 by Associate III
  • 869 Views
  • 2 replies
  • 0 kudos

power draw when stopped STM8Lxxx

hi alli am first time user to ST micros. (8bit motorola mostly)I am looking at using stm8L132r8 in an ultra low power device, which needs 10year battery life.the micro will be stopped most of the time, woken by the RTC running from external 32khz xta...

dwood.1 by Associate
  • 488 Views
  • 0 replies
  • 0 kudos