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! Issue with UART1 in STM8S001J3

Hello, I'm having some problems with UART1 in STM8S001J3. I'm using the simple code below (the compilation is ok), but when I try to programming the MCU in STVP, a error happen and the MCU doesn't work anymore, even though I try to programming with a...

0693W00000NpnGCQAZ.png
VScar.1 by Associate II
  • 2165 Views
  • 7 replies
  • 0 kudos

I try to disable the SWIM interface in a STM8AL3168 derivative but it does not seem to work (see details). What am I doing or thinking wrong?

I try to disable the SWIM interface in a STM8AL3168 derivative, by setting the SWD bit of the global configuration register (CFG_GCR) = 1 in main().typedef struct CFG_struct{ __IO uint8_t GCR; /*!< Global Configuration register */}CFG_TypeDef;#define...

KGirs.1 by Associate
  • 1043 Views
  • 3 replies
  • 0 kudos

Resolved! Reading STM8 registers with STVD in debug mode?

WIth the STVD software in Debug mode and connected to the STM8 MCU via the ST-LINK/V2, is there a STVD feature that displays register content? Thank you!

Kmax18 by Senior II
  • 674 Views
  • 2 replies
  • 0 kudos

TIM1 jumping count in the encoder mode

I'm using a TTC encoder connected to stm8s003f . TIM1 counts correctly until it reaches the value before the overflow value . After that it either jumps to 0 or it shows the overflow value. What is that due to?Thank you.

Kolab by Senior
  • 984 Views
  • 3 replies
  • 0 kudos

Internal reference VREFINT

Hello,I have a problem with internal reference in STM8L151K6. I run Vrefint channel measurement. I read VREFINT_Factory_CONV from @ 0x4910. Measurement values:Vref_measured: 1311VREF_Factory: 0x600 + 0x7B = 1659VDD_Factory: 3V -+ 10mVWhy Vdd = ( VREF...

pferd by Associate III
  • 589 Views
  • 1 replies
  • 0 kudos

Resolved! I'm a newby on this forum but already I have noticed that folk who have STtoolset install issues are ignored. Is this the way it is?

 My issue is I had to do a re-install of W10 and now Toolset43 fails on the last hurdle with "Cannot change C:\DumpStack.log.tmp to non read-only" Have tried giving permissions, running as Admin, deleting the file (assuming it would be re-created) bu...

IMoor.1 by Associate
  • 1433 Views
  • 3 replies
  • 0 kudos