STM8 MCUs

cancel
Showing results for 
Search instead for 
Did you mean: 

Forum Posts

Library DALI for device type 8

Posted on May 30, 2017 at 18:15Hello,I am currently working on a DALI led converter project. I already use the DALI library for the STM8 with device type 6 (IEC 62386-207). I want to keep developing a DALI converter for device type 8 (IEC 62386-209)...

ameyer9 by Associate
  • 313 Views
  • 0 replies
  • 0 kudos

STLUX Library: Flash functions

Posted on May 25, 2017 at 10:29Hi,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 ...

[Silicon bug?]STM8AF5286 missed external interrupts

Posted on May 24, 2017 at 09:04 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 widt...

0690X00000606nAQAQ.png 0690X0000060758QAA.png

STM8AF52AATCY CAN_Configuration in halt mode

Posted on May 23, 2017 at 13:39Dear 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 pe...

STM8AF52AATCY

Posted on May 19, 2017 at 13:21Dear Sir/Madam,How to make controller goes into sleep mode. Can you please give me information or send me any source code link. Here, I am making into sleep using halt(); mode with disabling the peripherals but I'm thi...

STM8 Hardware I2C (Master) Question

Posted on May 23, 2017 at 12:15Question :We use STM8 Sample Code to test Hardware I2C ,but the waveform is unknown .But we use Software I2C (page 2 ,use GPIO) ,It is OK.   May someone kindly give me the helping hand?Sample Code: /en.stsw-stm8004 /ST...

STM8S swim GPIO ??

Posted on May 19, 2017 at 22:19STM8S : SWIM pin as GPIO does not work for me, please explain how to make it work .. Situation: vcc,  10k,  swim, button, gndmain() { CFG->GCR = 0x01;GPIO_Init(GPIOD, D1, GPIO_MODE_IN_PU_NO_IT); ..}software does not wo...

enmirc by Associate II
  • 243 Views
  • 1 replies
  • 0 kudos

STM8S : SWIM pin as GPIO

Posted on May 20, 2017 at 06:50STM8S : SWIM pin as GPIO does not work for me, please explain how to make it work .. Situation: vcc,  10k,  swim, button, gndmain() { CFG->GCR = 0x01;GPIO_Init(GPIOD, D1, GPIO_MODE_IN_PU_NO_IT); ..}software does not wo...

enmirc by Associate II
  • 253 Views
  • 0 replies
  • 0 kudos

Hello, I have a question about PWM outputs,

Posted on May 18, 2017 at 13:19I 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 o...

Result of logic operation on 8-bits data need to casts

Posted on May 16, 2017 at 23:42Hello,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);   ...