STM8 MCUs

cancel
Showing results for 
Search instead for 
Did you mean: 

Forum Posts

STM8L152C6T6 - frequency counter

Posted on December 16, 2013 at 00:23Hi everyone,I'm working on a frequency counter and I'd like to use the internal timers of the mcu. Do some application notes exist related to this topic? I couldn't find any link. Otherwise, do anyone of you have ...

gibba by Associate II
  • 656 Views
  • 2 replies
  • 0 kudos

A little something for Luca

Posted on December 13, 2013 at 00:27Hey Luca compiling this (Cosmic):volatile _Bool GPI1 @5006:6; _Bool Ext_1; _Bool LastExt_1; void IH_Init(void) {     Ext_1 = LastExt_1 = ~GPI1; }  produces this error message #error castm8 \LOCALS~1\Temp\s1f8.cx2...

jdf25252 by Associate II
  • 868 Views
  • 1 replies
  • 0 kudos

Software reset (cold reboot)

Posted on November 15, 2013 at 18:36Hi, I'm looking for the proper (standard?) way for cold rebooting an STM8. I see that the first interrupt handler in the interrupt vector is what is called on startup. With my COSMIC compiler, the name of that fun...

shabbyx by Associate II
  • 2215 Views
  • 2 replies
  • 0 kudos

ATOMTHREADS RTOS for STM8 compiling error in IAR

Posted on December 11, 2013 at 14:16Hi,I have downloaded an opensource RTOS for STM8 from the below locationhttp://cloud.github.com/downloads/kelvinlawson/atomthreads/atomthreads-1.3.tar.gzFollowed the instructions to build the project, I got the be...

rajesh2 by Associate
  • 562 Views
  • 0 replies
  • 0 kudos

SPI disabled?

Posted on December 11, 2013 at 12:16Hi,I am using STM8L152C6. It is required to configure the SPI in the Master mode bi-direction communication.I used the following library functions to perform that:CLK_PeripheralClockConfig(CLK_Peripheral_SPI1, ENA...

design by Associate
  • 502 Views
  • 0 replies
  • 0 kudos

doubts about how to start the PC @8080

Posted on December 10, 2013 at 23:55Hi guys, I have posted a doubt in stm8-discovery...but due to none response, I am trying to post it here...   this is the problem[DEAD LINK /public/STe2ecommunities/mcu/Lists/STM8Discovery/Flat.aspx?RootFolder=/pu...

lmx1 by Associate II
  • 350 Views
  • 1 replies
  • 0 kudos

Does Stm8s003fp6 I/o pins of 5v tolerrent at Vdd =3.3v?

Posted on December 11, 2013 at 08:38Dear Sir,I want to use stm8s003f3p6 Ic in my new design. I am giving 3.3v to its Vdd. I want to know whether I/O pins are 5v tolerent?. I want to interface with ADC which work on 5v and rs485 IC which works on 3.3...

STM8L156C6T6 - clock to gpio

Posted on December 10, 2013 at 13:05Hi everyone, I need to interface my ST with an external chip and I need to provide clock to this chip as well. Can someone tell me how to do it? I mean: is it necessary to use a GPIO or is there another way? Thank...

gibba by Associate II
  • 544 Views
  • 3 replies
  • 0 kudos

Error writing to data EEPROM using @eeprom

Posted on December 06, 2013 at 21:36I have a STM8S207 board and I'm using STVD version 4.3.3 with the Cosmic compiler.  I am trying to use the @eeprom directive for writing/reading the data EEPROM and my system hangs when I try to write the data.  H...

bevenson by Associate II
  • 874 Views
  • 3 replies
  • 0 kudos