STM8 MCUs

cancel
Showing results for 
Search instead for 
Did you mean: 

Forum Posts

Why internal pull-up on PB7 is not working? (STM8L152R8)

I was making a basic test for GPIO ports (reading switches and turning on LEDs). After configuring PORTB (all pins) as input with internal pull-up and external interrupts disabled, PB7 seems to be always in '0'. After opening IAR-EW debugger, PB_DDR...

0690X00000DYbGkQAL.png
JLoya by Associate II
  • 886 Views
  • 1 replies
  • 0 kudos

How to internally Restart a STM8 if we lost Program control ?

We are using STM8 as to monitor and control STMF07 controller and Quectel M66 module if they are not sending pulses in predetermined time. But no physical control or method to reset STM8, So can we restart the program control of STM8 through softwar...

sanket47 by Associate II
  • 2016 Views
  • 9 replies
  • 0 kudos

About PWM with Timer1 and Timer2 using STM8S003F3 controller

Hi ,I need to generate PWM using Timer 1 and Timer2 using STM8S003F3 microcontroller to control LEDs. I m new with PWM. I read and referred expamles given on ST.com but it is not understandable for me. If anyone help for easy and full proof example w...

MCU Proposal

I am looking for STM32 series product for my Automotive Meter customer.Required spec: 16KB/2KB, 16MHz, 2.7V to 5.5V, VQFN, -40°C to +125°C Application: Automotive meterI checked below ST link, and it seems that below links are OK (?) to meet above re...

PLaw.1 by Associate
  • 557 Views
  • 4 replies
  • 0 kudos

Trouble with floating point conversions

Hi. If I create a C floating point number (ab) and set its value equal to a 32 bit integer (or a constant), the integer and the float are very different, at least as reported by the STVD debugger watch window. Normally, I'd expect to see a clean con...

0690X00000DByhnQAD.png

STVD debugger hangs on a global variable increment

Hi. I'm trying to debug some code using the STVD IDE with the STLINK2 (SWIM). For some reason, it just stops at the line TSL_Globals.Tick_ms++;in the file tsl_time.c within TSL_tim_ProcessIT() and will go no further following a call to TSL_user_Init(...

0690X00000DC9ryQAD.png

STM8 community forum broken?

When I look at the STM8 community forum (https://community.st.com/s/group/0F90X000000AXt8SAG/stm8-mcus), I see no content.I tried with both Firefox 68.5.0esr and Chromium 79.0.3945.130.But I know there should be content: I posted something, and both ...