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

stm8l, eeprom, dma - problem of access

Posted on June 06, 2011 at 11:56 If writing (erasing) byte(word, block) in the eeprom memory, DMA transaction occurs on the periphery of RAM (tested only this type of transfer) of the microcontroller hangs (not working). The documentation no found ...

Software simulator.

Posted on August 02, 2011 at 19:30I'm trying to us the software simulator to simulate the 207S6 but the internal registers don't seem to be working correctly. The reset value are all ff's. The ADC doesn't seem to function as well as the timers anyon...

u32 =u16*u16

Posted on July 30, 2011 at 02:39Never used the Cosmic complier before do I require any header like math.h to do a u16*u16 into u32 doesn't seem to do anything.

HSE Config

Posted on July 25, 2011 at 17:35I need to config my stm8s105k6 to work with oscillator of 16Mhz my code : CLK_ClockSwitchCmd ( ENABLE );  CLK->SWR  = 0xB4;  CLK->SWR  = 0xB4;  while ( !(CLK->CMSR == 0xB4 ) ); I get stuck behind the while loop Am I m...

greg_t by Associate II
  • 596 Views
  • 1 replies
  • 0 kudos

DATA EEPROM area - problem writing byte

Posted on July 12, 2011 at 13:13Hi experts, in my application I am trying to write a single byte to an address in the DATA EEPROM area immediately after disabling ''the DATA area write protection by writing consecutively .. MASS keys to the FLASH_DU...

No stm8s103 in ''STVD\settings\MCUselection list

Posted on July 19, 2011 at 14:29Hi.   No stm8s103 in ''STVD\settings\MCUselection list It start with stm8s207 I have cosmic 16 k free compiler additional problem is ''#error clnk Release\rtos_osa_hw.lkf:1 no default placement for segment .info.''...

slava by Associate
  • 483 Views
  • 1 replies
  • 0 kudos

Upgrading to the STM8 Assembler question

Posted on July 04, 2011 at 09:33After having written a time consuming and reasonably eloquent request about this subject, only to have it rejected and erased, I'll make a shorter attempt. Is it not possible to have straight forward assembler templat...

string.h library and strncmp function

Posted on June 30, 2011 at 00:16Hi, I want to use strncmp function in my code [ if (strnicmp(temp, GPVTG, 5)) ], but I've got an error: &sharperror cpstm8 ..\..\src\main.c:278(12) missing prototype I have string.h file in my include files, but I th...

pietruha8 by Associate II
  • 3572 Views
  • 7 replies
  • 0 kudos

Wait states

Posted on July 05, 2011 at 12:55Hi, I have question regarding STM8S wait states. When exactly wait states are executed - every access to XFLASH or every instruction feed? I want to clock my MCU with 24Mhz crystal oscilator (1 wait state) and I need ...

maestr0 by Associate
  • 733 Views
  • 1 replies
  • 0 kudos