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

Problem with UART on STM8L151

I've been struggling with this problem for some time. Currently I'm porting my application from STM8L051 to STM8L151. Whenever I start USART1 Receiver, the USART Status Register (USART->SR) shows "0xfa", indicating Parity and Overrun Error. I tried w...

WRost.1 by Associate II
  • 1009 Views
  • 3 replies
  • 0 kudos

Example code for STM8S003F3

I am working with STM8S003F3 in our custom board . I need to communicate with an transceiver through SPI. I need a sample code for configuration of SPI in master mode and write /read process in SPI. Pls support by providing sample project.

spark.1 by Associate
  • 604 Views
  • 0 replies
  • 0 kudos

USART Communication with PC (stm8al3l68)

Hello,I'm trying to implement serial communication between a stm8al3l68 an a serial terminal installed on my PC.The problem is that there is no virtual port on my STM8 as on STM32.How can I communicate with the PC if there is no virtual Port. What ki...

AJT by Associate III
  • 826 Views
  • 3 replies
  • 0 kudos

Power Draw with ADC on STM8L152C6

I'm attempting to program this chip to act as a thermometer that can run on a low power solar panel. The issue I'm having is the power draw is way too high. Halted i have the power draw with an LCD and RTC interrupt ready at 5.5uA, but when I'm using...

SJack.1 by Associate
  • 331 Views
  • 0 replies
  • 0 kudos

About TIM1 in STM8L series. I have been trying default PWM testcase available by STM for modulating Duty channel and frequency. I change values of TIM_PERIOD and CCRx_Val. I only see frequency changing. For some reason I observe only 50% duty cycle.

For some reason I am not able to see pins behavior in plotter. I am not able to see PD 2,4,5 output on plotter on STVD tool.I got the testcase from https://www.st.com/content/st_com/en/products/embedded-software/mcu-mpu-embedded-software/stm8-embedde...

RShah.3 by Associate
  • 378 Views
  • 0 replies
  • 0 kudos

Stvd newbie

I've generated an output file from STVD in .elf format. But stvp requires motorola hex format. Do I have to do another conversion?

Elong.1 by Associate II
  • 528 Views
  • 2 replies
  • 0 kudos

Is there an 8-bit USB with HS or 3.0 USB MCU?

I found that the ST72681 8-bit MCU has HS function. Do you still support this MCU? Or is there a related follow-up product?Looking forward to your message​

HHo.2 by Associate
  • 383 Views
  • 0 replies
  • 0 kudos

STM8AL3LE88 debug connection error

I trying to debug STM8AL3LE88. There is no problem with STVP in reading and writing device memory and option bytes. But in STVD when i Start Debug it ends with error warning:Starting debug session... -> Emulator reset (usb://usb)... ** Connection err...

STM8L151 USART not Sending, any Ideas why??

Hello Everyone,This problem is persisting. I am using the STM8L151 Standard Peripheral Library to send an array of bytes over USART1. Code executes, but i see nothing on the Pin (using Oscilloscope), nor can i see the Data Rigister changing (Using ST...

AHama.1 by Associate
  • 408 Views
  • 0 replies
  • 0 kudos