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
  • 483 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
  • 470 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
  • 707 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
  • 495 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;...

UART issue for reading 2 or more bytes length

I am having an issue with the UART1 communication between two devices (Computer and a STM8S208 board).I implemented software in the computer that writes two bytes length of data to the STM8• the first byte that acts as an identifier;•the second byte ...

0693W000004GyvoQAC.png
GGhed.1 by Associate II
  • 1795 Views
  • 3 replies
  • 0 kudos

General software design tips

Hello guys. I have a general question actually I need suggestions. So I did not want to open a topic for it. I need to make a presentation about a box which will be in some armored vehicle. This box will be like the brain of the vehicle and will cont...

GunkutA by Senior
  • 1023 Views
  • 4 replies
  • 0 kudos