STM8 MCUs

cancel
Showing results for 
Search instead for 
Did you mean: 

Forum Posts

Hi, I am using STNRG388A to communicate with some I2C device. For now, i have picked MAX30205 temperature sensor. See Details please

I am using standard peripheral library for STLUX and using stm8 library for I2c interface. I have tried with all the examples in libraries which are using interrupt handlers. Also, i have tried the online examples for stm8 using poll methods. Nothing...

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
  • 1094 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
  • 2357 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
  • 654 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