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

Integrated development environments for STM8 mcu on linux?

Hello everyone,I'm new on STM and I find myself having to use the STM8 in a linux environment and I saw that ST provides its IDE only for Windows.I would like to know where to find an IDE + software programmer (using ST-LINK V2) where to develop soft...

Diego1 by Associate II
  • 1982 Views
  • 3 replies
  • 0 kudos

Where do I get "STM8S standard firmware library"?

The "STM8S standard firmware library" is referenced in UM0834 for STM8S-Discovery. The library examples were well organized according to the descrription and included everything for the quick start. There were timers examples, ADC, SPI, I2C, UART exa...

SVino.4 by Associate II
  • 1716 Views
  • 3 replies
  • 0 kudos

In stm8s0003f3 ,I am reading analog voltage.I am getting the value in watch as 1544,which is not expected .Can some one help what may be the fault in the code. supply vge is 1.8v

void Init_ADC(void) {    ADC1_DeInit(); ADC1_Init(ADC1_CONVERSIONMODE_CONTINUOUS, ADC1_CHANNEL_5, ADC1_PRESSEL_FCPU_D2,         ADC1_EXTTRIG_TIM, DISABLE, ADC1_ALIGN_RIGHT, ADC1_SCHMITTTRIG_CHANNEL5,DISABLE);  }void ADC_Read(unsigned int MV) { ADC1_...

SRAM.11 by Associate III
  • 682 Views
  • 2 replies
  • 0 kudos

How to detect external reset reason through NRST in stm8?

Hello all. There are 9 sources of reset possible in STM8AF52xx according to the reference manual.They are :External reset through the NRST pin• Power-on reset (POR)• Brown-out Reset (BOR)• Independent watchdog reset (IWDG)• Window watchdog reset (WWD...

raja1 by Associate II
  • 1154 Views
  • 1 replies
  • 1 kudos

Resolved! STM8S105 UART (async), data frame with 1 unknown bit after 2 stop bits

I am analyzing the UART data frame of an outsourced device that uses the STM8S105 MCU. The data frame specification is:* 1 start bit,* 8 data bits, * 1 parity bit,* 2 stop bits.Therefore I expect a data frame as in the below Figure 115 from the STM8 ...

_legacyfs_online_stmicro_images_0693W00000binIeQAI.png _legacyfs_online_stmicro_images_0693W00000binHvQAI.png
Kmax18 by Senior II
  • 1067 Views
  • 3 replies
  • 0 kudos

Why is my uart rx not working?

Code shown in details. I am guessing something is wrong with clocks - this doesn't make sense though since tx is working just fine. I see signals just fine on the scope. Both tx and rx are high during no transmit. Clocks and initialization code shown...

DBles.1 by Associate II
  • 3465 Views
  • 11 replies
  • 0 kudos