STM8 MCUs

cancel
Showing results for 
Search instead for 
Did you mean: 

Forum Posts

Timers

Posted on May 11, 2018 at 11:33Hi,I am using  stm8s controller. I am using TIM1,TIM4 for timing delay now i need to use PWM for led blinking. Can i use TIM3(general purpose timer) for timing delay or not , because TIM1(16 bit advanced control timer)...

STM8L discovery USART : can´t write to usart register!

Posted on July 04, 2012 at 11:08i cant seem to be able to write in any of the usart registers. i use STVD with raisonance compiler. eg. when i write USART1->CR1 = 0x01; i don´t see any change in CR1 perpheral registers (that i view in STVD windo...

How to save data in loss of power supply?

Posted on May 15, 2018 at 22:34Hi.I was trying to end my project but I faced a problem.In my project, the user enters a number named IDEAL_TEMPERATURE. But I need that his data won't get lost when the power supply is suddenly interrupted for some mi...

How can I use more than 13 x ST-Link/V2's on a computer

Posted on May 14, 2018 at 11:29I am trying to program 14 x STM8S003 devices sequentially using STVP_CmdLine but the 14th ST-Link doesn't work, moving the programmers around on the hub and programmers between boards moves the problem showing the prog...

Timers

Posted on May 11, 2018 at 12:59Hi sir,I am working on the stm8s family micro controller. In that i am using TIM1 and TIM4 for timing delay. I configured PWM channels for timer 1. Before timers configuration program is running when ever entering in t...

Simple C Question

Posted on May 10, 2018 at 14:43Hi.I was trying to write a code to use my keypad, but I face a problem. Because I'm new in using standard libraries I didn't face a similar problem when I was using registers(in LPC series).#define COLUMN_PIN_1    GPIO...

STM8L151Gx ADC1 Conversion Value Retrieval Time

Posted on May 10, 2018 at 05:50I have a question rooted in pure curiosity as I am still learning my around the STM8 MCU structure. In the general setup of the ADC, single mode conversion and software triggered,  we have to call ADC_GetConversionValu...

The clocks each command takes

Posted on April 27, 2018 at 19:51 Hi. I wanted to know that for example how many clocks a while loop takes. Do you have any ideas or any articles on this matter? Note: this post was migrated and contained many threaded conversations, some ...

Resolved! Cannot enter low power mode STM8L052C6

Posted on April 18, 2018 at 06:00Hi,I feel like I've been through the reference manual a million times, but I cant figure out how to get my project into low power mode.I'm driving a LCD screen with a counter on it. I have two external switches to wa...

Billy Bob by Associate II
  • 2309 Views
  • 4 replies
  • 0 kudos

External interrupt flags latching behaviour?

Posted on May 10, 2017 at 10:46I am working on a code which utilizes External interrupts on the PORT B.STM8AF5286 is used with the Cosmic compiler.I have not found any information about how the interrupt flags are handled internally and knowing thei...

0690X00000606xwQAA.png