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

logarithm calculation problem

i need to calculate some log based contents using ST visual develop IDE and Cosmic compiler. but "log" is not recognized by compiler. any solution pleaseexample: my_reg=log(reg1);regards.

Nyous.1 by Associate II
  • 495 Views
  • 1 replies
  • 0 kudos

ATM8AF: activate Ports for GPIO usage

Hello Community,I'm struggeling with the GPIO activation of Pin PB0.My Setup is: µC: STM8AF6213PCA with TSSOP20 Pinout, STVD + Cosmic C CompilerIt is no problem to aktivate the Port C (PC4, PC5, PC6 and PC7). But port B seems to be dead.But the port ...

0693W000004IFIvQAO.png
SWiel.1 by Associate II
  • 478 Views
  • 0 replies
  • 0 kudos

CANBus, Ethrnet and RS232 on the same MCU

Hello for a project I will be using Ethernet, CANBus and RS232. Now the maximum frequency for CANBUS is 1 Mbit per seconds, for RS-232 that is 20 k baud and for Ethernet I think it is again 1 Mbit per seconds. So with a MCU that has at least 2 MHz c...

GunkutA by Senior
  • 728 Views
  • 3 replies
  • 0 kudos

Does stm8l001j3 support Flash Loader Demonstrator tool

hello,I want to use Flash Loader Demonstrator for complete programmed update of stm8l001j3 device.But Flash Loader Demonstrator tool unrecongnized device.Is there any other way to update the program through the serial port ?

0693W000004HHLVQA4.png
Jshic.1 by Associate
  • 504 Views
  • 0 replies
  • 0 kudos

How to implement micros() function on stm8s003?

I need to decode ASK/OOK signal, for this aim I need to know the period in microseconds between several edges. I decided to use TIM1 for this purpose, here is my code// Set fCPU = 16MHz CLK_CKDIVR = 0; CLK_PCKENR1 = 0xFF; CLK_PCKENR2 = 0;...