STM8 MCUs

cancel
Showing results for 
Search instead for 
Did you mean: 

Forum Posts

SQRT in STM8 STVD

How to calculate the square root in the STVD?Is it necessary to use a library? Where can I get this library?

I am using STEVAL-ILD004V2 source code for dimmer. I can compile using my ST Develop using STM8 cosmic compiler when no change. But, when I change MCU to STM8S103F3P. I will have this compile problem below. Regards, Walter

----------- Project ild004v2 - STM8 Cosmic - Configuration Debug -------------Compiling watchdog.c...cxstm8 +modsl0 +debug -pxp -no -pp -l -i"x:\bu_thyristor_triac_rectifier\04_ase_thyristor_triac\promotion tools\digital dimmer with viper_steval-ild0...

WMaca by Associate II
  • 489 Views
  • 3 replies
  • 0 kudos

Resolved! Missing update/compare interrupts from same timer

Hi, I'm evaluating the STM8 UART emulation library (STSW-STM8051). I'm using the STM8SVLDISCOVERY board. Instead of the TIM3 I'm using the TIM2 timer since the TIM3 is not available on the STM8S003K3: I configured the project to communicate at a baud...

STM8 STUDIO doesn't work

Hello to everyone, when I get started recording session, it runs for few seconds then it stops and I need to restart. Someone has sort this issue out? ThanksFabio (english and italian)

fcasa.16 by Associate II
  • 289 Views
  • 0 replies
  • 0 kudos

STM8L051

Hi, I am not sleeping this microcontroller. I search example code but I couldnt find it please help me. Thanks.

KKURT by Associate II
  • 669 Views
  • 5 replies
  • 0 kudos

Error : SWIM prog error[42007] buffer program error

When we debug with ST-link/V3set on STVD, we found this issue swim prog error[42007] buffer program error.but we didn't found this issue with ST-link/V2.How does solve this issue when we used the ST-link/V3set ?

CChie.6 by Associate
  • 318 Views
  • 0 replies
  • 0 kudos

With the STM8s105c6 and the STM8af5288tay, both which I use. what is the correct way to initialize multiple i2c devices on the same SDA/SCL port. i.e. I wish to have a RTC, i2c LCD as well as an EEPROM on the same i2c port.

How for example do I initialize all 3 devices, where addressing and necessary parameters are concerned.  Any sample code or advice in this regard would be very welcome. (RTC : either PCF8563 or DS1307; I2C LCD with PCF8574 expander and 24c32 or 24c64...

MGoss.19 by Associate
  • 398 Views
  • 0 replies
  • 0 kudos