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

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
  • 627 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
  • 659 Views
  • 2 replies
  • 0 kudos

Please help me reverse engineer these buttons...

Hi,I am trying to figure out how a set of buttons interfaces with the microprocessor - an STM8S 003K3T6C ([url=https://www.st.com/resource/en/datasheet/stm8s003f3.pdf]datasheet[/url])I am familiar with simple button config - you pull GPIOs high or lo...

Rjohn.1 by Associate II
  • 1386 Views
  • 5 replies
  • 0 kudos

Can assembly code running on stm8s-dicovery board?

I have tested my stm8s-discovery board for 2 days. The MCU is stm8s105c6t6, the Hex format file produced in c language on the IAR EW platform, could run as expected when uploaded into the board, but the final file from assembly language, both in Hex ...

MQi.1 by Senior II
  • 821 Views
  • 4 replies
  • 0 kudos

using swim pin as INPUT foating pin.

as per datasheet of stm8s001j3 it has been mentioned that impact of pin mode while using other pins, ex. PD1 impacts PD6,PD5... so to disable the swim pin using Out Mode Low Level, would also impact in case want to set late for PD5 as IN Mode FL NO I...

SSing.61 by Associate
  • 383 Views
  • 0 replies
  • 0 kudos

STVD displays message on building the demo code from the tool itself. I am a newbie and starting with the mcu. Any ideas what and how to resolve it?

----------- Project ew - ST Assembler Linker - Configuration Debug -------------Assembling mapping.asm...asm -sym -li=Debug\mapping.lsr mapping.asm -I="C:\Program Files (x86)\STMicroelectronics\st_toolset\asm\include" -obj=Debug\mapping.objSTMicroele...

Ssank.1 by Associate
  • 580 Views
  • 1 replies
  • 0 kudos