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

STM8S UART Speed

Posted on June 04, 2012 at 10:52I am using the UART1_Printf example from the STM8S Standard Peripheral Library version 2.1 and I am having problems with the speed of the UART.  I am expecting to see 115200 baud but according to my logica analyser I ...

Nevyn by Associate II
  • 777 Views
  • 1 replies
  • 0 kudos

STM8S208CB STM8S Unique ID significant bytes?

Posted on June 05, 2012 at 09:18Which of the Unique ID bytes actually get used? I'd like to use the unique ID of the microcontroller in a project to identify uC units on a comms bus. And as a product we would be using many of them. We have tried to ...

Cosmic or the worse compilator/linker ever programmed?

Posted on May 29, 2012 at 18:04Hi. I'm coding my 3rd testing project on stm8, to be exact in 2 different mcus, 103 and 105. I'm using cosmic compiler, and i didnt have any problem with the previous 2 projects (because i didnt verify the size). The p...

pedro23 by Senior
  • 969 Views
  • 1 replies
  • 0 kudos

Alternate function remapping, OPT bytes, and PWM2

Posted on May 30, 2012 at 10:34 Hi, since i dont get a response in discovery forum, i will repaste here.I'm trying to set a pin to an alternate remapping pin, exactly i'm using TIM2 with PWM and i want channels in D2, D3 and D4. I have tried wit...

pedro23 by Senior
  • 1641 Views
  • 2 replies
  • 0 kudos

How can I programe E2PROM using word mode?

Posted on May 28, 2012 at 02:47I tried to use the firmware lib to program it ,but failed. FLASH_Unlock(FLASH_MEMTYPE_DATA);      for(i = 0; i < DataLeng; i=i+4)   {    FLASH_ProgramWord(StartAddr + i,(*(u32*)pBuf));    pBuf= pBuf+4;;    FLASH_WaitFo...

cgh21 by Associate II
  • 818 Views
  • 3 replies
  • 0 kudos

Flash Loader Demonstrator + STM8S105

Posted on June 01, 2012 at 13:18Hi, I'm trying to evaluate the use of the ''Flash Loader Demonstrator'' together with a STM8S105 (''STM8S_Discovery'' Eval Board). I attached a MAX232 board to communicate via RS232 (PC) with the UART2. All of this wo...

rpinyol by Associate
  • 860 Views
  • 0 replies
  • 0 kudos

query regarding the value of the Vcap in STM8S microcontroller

Posted on May 29, 2012 at 09:18Hello sirI am using the STM8S103F2P6 microcontroller of the ST microelectronics and when I was studying the power supply section of the microcontroller there it is specified to connect an external capacitor with the va...

Libraries and multi-CPU projects

Posted on May 30, 2012 at 10:27 Another problem, and it is the 4th that i found in few days. STM8 libraries doesnt support a project with multiples devices, I was able to fix it just including at the beginning of each .c file something l...

pedro23 by Senior
  • 475 Views
  • 0 replies
  • 0 kudos

.text size overflow (1581) - cosmic

Posted on August 29, 2011 at 15:26 Hi Everybody, I have some problem with my linker, and I don't know how to fix it. Can somebody help?? I'm new to this. Running Linker clnk -l''C:\Program Files (x86)\STMicroelectronics\STM8S_StdPeriph_Lib_V2.0...

Reset keeps occuring after program started.

Posted on May 20, 2012 at 09:43Hi, I have just received my discovery board and started to port my code over it but encountered the following problem : if I put a breakpoint at the entry point (first line of code of ''main'' function), I noticed that...

laxer3a by Associate
  • 565 Views
  • 2 replies
  • 0 kudos