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

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
  • 839 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
  • 882 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
  • 484 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
  • 580 Views
  • 2 replies
  • 0 kudos

Alternate function remapping, OPT bytes, and PWM2

Posted on May 24, 2012 at 16:39 Hi again, 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 with this: #define OPT2 0x4803 FLASH_Unlock (FLASH_ME...

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

Passing -CP to the raisonance linker in STVD

Posted on May 23, 2012 at 16:11The linker is not case sensitive unless the -C flag is used on the command line Does anyone know how to pass this flag from within ST Visual Develop?  I can't just add -C as a user flag as STVD already passes -P and to...

Capacitive Proximity Sensor

Posted on May 18, 2012 at 14:22Hello, I need to built a capacitive proximity sensor with a range of at least 3''. What is the best sensor/controller that you advise me to use? I have been reading some things about STM8T143, but it's not easy to buy ...

paulo by Associate
  • 556 Views
  • 1 replies
  • 0 kudos