STM8 MCUs

cancel
Showing results for 
Search instead for 
Did you mean: 

Forum Posts

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
  • 338 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
  • 572 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
  • 1259 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
  • 307 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
  • 365 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
  • 276 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
  • 723 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
  • 939 Views
  • 3 replies
  • 0 kudos

Resolved! Can i program other STM8 chips with a STM8L152R8T6 Nucleo-64 board?

I know you can with the 32 bit nucleo boards but is it possible with the STM8L152R8T6 Nucleo-64 board? My feeling is no because the SWIM protocol requires VDD, SWIO,GND and RESET pins which i cant see anywhere in the ST-link section of the STM8L152R8...

TConl.1 by Associate II
  • 2390 Views
  • 7 replies
  • 0 kudos

How to handle interrupt on any GPIOs on STM8L152C6?

Hi,I am using user key and three more keys to do some work.Can you please guide me how to assign for the interrupt handler function for particular interrupt on a GPIO?e.g. I couldn't understand:What does the numbers like 8, 9, 10, 11 ect represents i...

AKUMA.2 by Associate II
  • 324 Views
  • 0 replies
  • 0 kudos