STM8 MCUs

Discuss STM8 microcontrollers, including SWIM, USART configurations, RTC usage, ADC issues, and debugging.

cancel
Showing results for 
Search instead for 
Did you mean: 

Forum Posts

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
  • 495 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
  • 439 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);   ...

hgprojekt by Associate II
  • 1079 Views
  • 3 replies
  • 1 kudos

STM8L DISCOVERY ADC

Posted on May 14, 2017 at 21:52Hello,I want to create program that:1. Measure time2. Start one conversion of ADC3. After conversion show it on LCD (it's optional, but it would be great if it works)The 2nd point is problematic. I want to realize all ...

Artur L by Associate
  • 433 Views
  • 0 replies
  • 0 kudos

How change project name in STVD

Posted on April 30, 2017 at 19:48I'm using the STM8S-Discovery template in STVD. How can I change the name of a project?

How to select Std Library?

Posted on May 12, 2017 at 10:39Hi;As you seen above, Libraries List is unselectable. İ want to change them manually. Why is Libraries List unselectable?

0690X00000606xOQAQ.png