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

Lin bus gateway using two stm8?

Hi,I need to modify data on a car's Lin bus line without generating errors on car side.I have two board with stm8 and can bus.my idea is to interrupt the car's lin bus line and connect my boards. but I don't know how to do it without affect the bus

AHaid.1 by Associate
  • 562 Views
  • 0 replies
  • 0 kudos

Unable to Program STM8 using STVD Light Programmer or STVP

Hello Everyone,I am using a STM8S105C6T6 in one of my application and I am facing problem while programming it.Software used: STVD version 4.3.12Compiler: Cosmic CXSTM8 Special Edition 4.5.1 (Free 1yr License version)I have build my application and w...

0693W000008yErVQAU.png 0693W000008yErfQAE.png
RAhuj.11 by Associate II
  • 3033 Views
  • 8 replies
  • 0 kudos

Fault in STM8S/A Standard peripheral library

Hello,I am working with the CAN peripheral on the STM8AF5288.When I was using the standard peripheral library (delivered by STM) I found a fault in the code. It is about the STSW-STM8069 with version 2.3.1. (https://www.st.com/en/embedded-software/st...

Birdo by Associate II
  • 773 Views
  • 1 replies
  • 0 kudos

Getting PWM counter value at STM8S003F3.

Our customer need some help to develop their application using STM8S003F3.They are using Timer 1 as PWM generator at 125kHz but, does't have success to implement a overflow counter. They told us that the PWM pulse generator are working well. Did you ...

0693W000008yHvVQAU.jpg 0693W000008yHvBQAU.jpg
MNasc.1 by Associate
  • 1116 Views
  • 1 replies
  • 0 kudos

Interrupt continuously coming in EXTI interrupt handler after clearing the interrupt .also interrupt is not occurring on both edges . only falling edge triggering is working. Can you give me solution to this problem ?

I am using STM8L152R8 development board. I have configured push button interrupt on Pin no. PG6. i required both edges interrupt . but interrupt is occurring on falling edge only .Can you give any suggestion to this problem.?can you suggest me a...

DJosh.0 by Associate II
  • 3073 Views
  • 12 replies
  • 0 kudos

I start work on a this uC: STM8L052C6, Where i can find a good tutorial to understand and programming this uC with good example, very simple to understand the the various library e peripherals of the uC?

I already download the documentation from this website: https://www.st.com/content/st_com/en/products/microcontrollers-microprocessors/stm8-8-bit-mcus/stm8l-series/stm8l-value-line/stm8l052c6.html#documentationBUT THEY ARE REALLY REALLY BAD THEY ARE ...

NMart.4 by Associate
  • 657 Views
  • 1 replies
  • 0 kudos

UART transmit reacive is not working

Hi,I am using stm8s105c6 for UART transmit receive program. I am using Eclipse with SDCC compiler.I am getting error as?ASlink-Warning-Undefined Global '_TIM3_CAP_COM_IRQHandler' referenced by module 'main'make: *** [main] Error 1Hope someone will gu...

Ajadh.1 by Associate II
  • 920 Views
  • 3 replies
  • 0 kudos

code generated by SDCC 3.8.0 not working properly for STM8L162M8

Hi. I'm using an STM8L162 MCU. my application code size is more than 32KB . I am using SDCC 3.8.0 .To resolve memory issue I have switched from SDCC 3.5.0(as It uses 16 bit pointer) to SDCC 3.8.0 .Still facing the issue - Code is compiled successfu...

Naresh by Associate
  • 797 Views
  • 3 replies
  • 0 kudos

STM8S001J3M enter SWIM mode problem

Hello,I want to program the device using SWIM interface, The host is FPGA, but the device can't response successfully.When I reset the SWIM, the return value is wrong, and write SWIM_CSR could not successfully.I attach the wave form picture, please h...

XLi.3 by Associate II
  • 1852 Views
  • 4 replies
  • 0 kudos

Can I swap TX & RX USART1 STM8L152

Hi Everyone,I have an issue with USART1 where my board designer mixed up the TX and RX pins going to an external module. Is there any way to swap them in software? I've had a look though the reference manual and seen the remapping feature but its not...

TConl.1 by Associate II
  • 1745 Views
  • 3 replies
  • 0 kudos