STM8 MCUs

cancel
Showing results for 
Search instead for 
Did you mean: 

Forum Posts

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
  • 519 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
  • 694 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
  • 283 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
  • 322 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
  • 446 Views
  • 2 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
  • 358 Views
  • 0 replies
  • 0 kudos

Hi I use STM8L050J3. I have problems with the IDE's:

IDE's:1. IAR - I succeed complying the project but when trying debugging it (with SWIM + ST-LINK2), I get the error message: "Failed to set configuration with MCU name STM8L051F3: SWIM error [30006]: Comm init error: chip does not answer."In the Tar...

Ofer by Associate III
  • 339 Views
  • 0 replies
  • 0 kudos