STM8 MCUs

cancel
Showing results for 
Search instead for 
Did you mean: 

Forum Posts

Modify SPI register

Posted on November 27, 2017 at 12:55Hello Everyone,I am working on the STM8AL3166 and try modify the SPI register. My simple code is as below :int main() {   SPI_CR1 |= 0b00100100;      /* Configure as master and 500 kHz com speed}As read in the dat...

david.ye by Associate II
  • 864 Views
  • 5 replies
  • 0 kudos

How to overcome overlap error in stm8

Posted on December 05, 2017 at 14:40I created one segment and using #pragma i store some values in that location.If my code size cross that memory area means, overlap error occurs.How can i overcome with this error?

saran raj by Associate III
  • 677 Views
  • 3 replies
  • 0 kudos

COSMIC stm8_32k compiler uninstall and install

Posted on November 30, 2017 at 15:53I just uninstalled and newly installed the COSMIC stm8_32k compiler and applied for a new license, placed the newly received license in the License subfolder but I'm still getting the following error '#error cpstm...

ADC conversion time

Posted on December 01, 2017 at 11:36Hi,I nedd to execute an adc conversion in STM8S003. I read that te conversion time is about 2.3us, but I see that the time in my project is about 25us. Configuration of  CLK_Config(void){ /* Initialization of the ...

sav gas by Associate II
  • 370 Views
  • 0 replies
  • 0 kudos

STM8AF Bootloader UART write memory

Posted on December 01, 2017 at 03:24I'm currently programming a bootloader for my project. I work on a STM8AF board and I have a problem with the write memory command.I follow each instruction in the UM0560 user manual. My problem appears at the end...

Getting an delay by timer interruption

Posted on November 13, 2017 at 17:44Hello Everyone,I am working on the STM8AL3166 and try to handle a timer interrupt. My need is to wait 500ms and then check again a value (not pooling)How/Where do I write the program when the interrupt occurs? Whe...

david.ye by Associate II
  • 1787 Views
  • 11 replies
  • 0 kudos

Is there a CUBE IDE for all types of STM MCUs/DSPs

Posted on November 28, 2017 at 12:14Hello,I know that there is the STM32CUBE IDE and the STM8SCUBE IDE. But is there a cube IDE where you can use all kinds of MCU?Ihave seen there is a STM32CubeMX Plugin for Eclipse, can I use this plugin in STM8Cub...