Skip navigation
All Places > STM8 MCUs Community

STM8 MCUs

Log in to follow, share, and participate in this community.

Recent Activity

warnke.doug.001
Hello, I'm using the STM8AL Discovery board. Im trying to get the ADC working using the ST drivers. When I initialize the code Nothing shows up in the ADC registers. Below is my initialization code:   /* --- ADC --- */ // Initialize the IO GPIO_Init(GPIOA,GPIO_Pin_6,GPIO_Mode_In_FL_No_IT);   // Initialize the ADC ADC_Init(ADC1,… (Show more)
in STM8 MCUs
izhadapter.ru selevo
If he ...     I think it was created as a game for programmers at the lunch break, tick off the checkmarks in the program. I see no practical benefit in the program, someone can tell me, maybe my head and the fancy work badly.   -------- Это просто ёбаный пиздец.
in STM8 MCUs
Maksim Salau
Hi,   STM8 has a great Peripheral Library, which can hide complexity of register configuration. STLUX also has a library but it is not as rich as the STM8 one. I used stm8s_i2c.{c,h} for STLUX with success and want to do the same for stm8s_flash.{s,h} since stlux_flash.{c,h} is very limited compared to the stm8 version: stlux_flash can operate… (Show more)
in STM8 MCUs
marton.miklos
During a recent development I have noticed a strange issue which makes me think that the external interrupt is not executed for every edge.   I have generated low impulses with an STM32 with increasing pulse width from 10ns with 10ns step (10ns, 20ns, 30ns....)   I have created two test case to verify this issue. In both test cases the same… (Show more)
in STM8 MCUs
Bhavan Raibagi
Dear Sir/Madam,   Now I did controller into halt completely. But when it's in halt mode if any GPIO external interrupt is triggered means it wakes up, but when I will send the CAN Identifier then It's not waking up. As per data sheet in halt mode if CAN_RX interrupt comes it should wake up. So, can you please guide to me what initialization I need… (Show more)
in STM8 MCUs
Murali.Nimmala
Hi to all,Can i use "ST-LINK/V2" to program flash for STM8S series?
in STM8 MCUs
mickey
STM8S : SWIM pin as GPIO does not work for me, please explain how to make it work ..  Situation: vcc,  10k,  swim, button, gnd main() {  CFG->GCR = 0x01; GPIO_Init(GPIOD, D1, GPIO_MODE_IN_PU_NO_IT);  .. } software does not works well on this swim pin .. why ?                 best regards M. vitabreviss@gmail.com 
in STM8 MCUs
mickey
STM8S : SWIM pin as GPIO does not work for me, please explain how to make it work ..  Situation: vcc,  10k,  swim, button, gnd main() {  CFG->GCR = 0x01; GPIO_Init(GPIOD, D1, GPIO_MODE_IN_PU_NO_IT);  .. } software does not works well on this swim pin .. why ? 
in STM8 MCUs
Bruno VELUT
I work on a STM8L151C8, 48Pins, I cant't find accurate informations about how to generate PWM on an I/O port Pin, Actually I want to route 2 PWM signals on PB1 and PB2 , is it possible to do this or shall I change to others Pins ? Thanks by advance for yours answers.
in STM8 MCUs
h007
Hello,   In STVD (+Cosmic) C compiler settings I choose *Display Errors & Warnings*. I wrote simple code:   uint8_t a=0x01; uint8_t b=0x10;   void test (uint8_t licz) { }   void main (void) {       test (a & 0x01);     test (a | b);     test (a + b); }   After compilation there are warnings:   #warning cpstm8 main.c:122(9) truncating… (Show more)
in STM8 MCUs
Load more items