STM8 MCUs

cancel
Showing results for 
Search instead for 
Did you mean: 

Forum Posts

STM8L ADC Input drawing current

Posted on January 25, 2017 at 16:07I’m using the STM8L052r8 to measure temperatures on the ADC channels 24/25. I’m using a proven ADC routine but my expected counts aren’t coming in correct.It seems I've got a volt drop/ current flow across R1 on th...

0690X00000603ZhQAI.jpg

ADC value to temperature

Posted on April 12, 2016 at 21:28Hello,i now managed to reada analog value from my temperature sensor and i am now wondering how i can convert that value (3643) to a temperature? I didn't see any kind of formula how the value is calculated with Vref...

loder by Associate II
  • 648 Views
  • 2 replies
  • 0 kudos

Energy calculation using stpm10

Posted on January 25, 2017 at 13:27Hi.I am using the 511-STEVAL-IPE018V1 eval board along with STM8s micro for calculating power/electricity consumed by a 3W bulb connected to it.The eval kit has STPM10 energy metering IC, which can be accessed over...

STVP stop working when start debugging

Posted on August 24, 2016 at 09:39I Encounter a strange problem when using ''st visual develop'':  Yestoday everything was normal. But today when press ''start debugging'' button in my STVD project, STVD Stops Working and collapses。  I am using Wind...

czg0002 by Associate
  • 747 Views
  • 5 replies
  • 0 kudos

Debug variables wrong

Posted on January 24, 2017 at 01:21Hello, I'm facing a very embarrasing problem with variables in ST visual develop.When I add a breakpoint just before a function call and I hover the parameter being sent with my mouse I can see it. But when I step ...

TIM4 weird results

Posted on December 15, 2016 at 19:47Hello, I am using stm8s003f3 and I wanted to count with 1 ms of precision and it works well.I use a prescaler of 128 and a period of 125 and if I use my delay function with 1000 as parameter, I get the second.Howe...

STM8L SD Card

Posted on January 18, 2017 at 17:31i need your help about drive micro SD card with STM8L101F3P6i use the library of Eval-Board of STM8l151 for thisand i have no error in compile Code but the stm failed in initalize routine of SD and can not init thi...

STM8S-Discovery I2C problems

Posted on January 12, 2017 at 15:39I have the problem with I2C comunication.I programmed two STM8S-Discovery with example firmware available in C:\Users\u.iaquinta\Downloads\en.stsw-stm8069\STM8S_StdPeriph_Lib\Project\STM8S_StdPeriph_Examples\I2C\I2...

0690X00000605pAQAQ.png
u23 by Senior
  • 508 Views
  • 1 replies
  • 0 kudos

Baud limited to 625000 in STM8S standard peripheral libraries

Posted on January 16, 2017 at 16:16I've noticed that in the STM8S standard peripheral libraries, in the UART1_Init function there is an assertion checking the baud setting:assert_param(IS_UART1_BAUDRATE_OK(BaudRate));Digging into stm8_uart1.h, the d...

gosal by Associate III
  • 912 Views
  • 2 replies
  • 0 kudos

STM8S - 32bit atomic access

Posted on January 02, 2017 at 09:12Hi,I'm stm8 newbie, and i wonder if i can do assumption, that reading uint32 variable will be atomic.There is simple function returning system time measured in ms using uint32_t variable, and it's looks like follow...