STM8 MCUs

cancel
Showing results for 
Search instead for 
Did you mean: 

Forum Posts

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
  • 640 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 II
  • 648 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
  • 360 Views
  • 0 replies
  • 0 kudos

BLDC Motor controller

I am new and novice can some one guide for using STM8Sxxx three-phase BLDC motor control software library V1.0. From the manual I am unable to build. Is there a tutorial or example on it. Looking for closed loop250W 36V Motor.

VSaha by Associate
  • 341 Views
  • 0 replies
  • 0 kudos

STM8AF6213PDU TIM5 and ADC1 library problem

I am using STM8AF6213 MCU in my project. I am using PD6 (AIN6) pin to read analog value. I use PD4 (TIM5_CH1) to generate PWM. But the stm8_adc1.h and stm8_tim5.h libraries that I included in my project do not work properly. It does not see the funct...

0693W000003QcmvQAC.jpg 0693W000003QcmlQAC.jpg
OOzde.2 by Associate
  • 315 Views
  • 0 replies
  • 1 kudos

What does the STM8 TIM3_BKRConfig() function do?

As a newbie I'm struggling to understand the following line of code:TIM3_BKRConfig(TIM3_OSSIState_Enable,TIM3_LockLevel_1,TIM3_BreakState_Enable,TIM3_BreakPolarity_High,TIM3_AutomaticOutput_Enable);Introductory material that I've found on timers/PWM ...

STM*S-discovery with st8ms105c6t6 mcu -- I am going nuts

I have an asm program written in ST Visual develop. Using stvd, and updloading to a STMS103f3, it runs fine. Change the target in ST v develop and build it and upload to the discovery bd thru it's st-link, it doesn't run. Checking the register add...

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

STM8S005K6 Bootloader no responding at data

HiI have a problem when I start writing the first page of the program.I am running at 115200 8 data bit, 1 stop, no parity.I am running in ECHO mode, meaning I return all bytes from the bootloader.I have send the SYNC byte, at power up, and getting a...

HMoel.1 by Associate II
  • 499 Views
  • 2 replies
  • 0 kudos