STM8 MCUs

cancel
Showing results for 
Search instead for 
Did you mean: 

Forum Posts

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
  • 446 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
  • 316 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
  • 482 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
  • 767 Views
  • 3 replies
  • 0 kudos

End of byte transfer in slave-bidirectional half-duplex mode

Posted on November 21, 2013 at 18:35Hi, I have an STM8S003F3 that is configured as a slave in a bidirectional half-duplex mode. During the time it receives bytes, I can wait on the RXNE flag to know the byte has been completely received. However, I ...

shabbyx by Associate II
  • 629 Views
  • 1 replies
  • 0 kudos

Struct initialisation in Cosmic compiler

Posted on December 02, 2013 at 14:10Hi there I'm currently using the 32k Special EditionCosmic compiler for STM8, version 4.3.11. There seems to be partial support for C99 features, but there doesn't seem to be support for ''designated initialisers'...

jro by Associate III
  • 732 Views
  • 3 replies
  • 0 kudos

Cosmic _checksum16() problems

Posted on December 05, 2013 at 10:28Hi folks Couple of questions about the _checksum16() function. I've kind of got it working, but: I have to put in an ''extern int _checksum16(void);'' declaration of my own - I can't for the life of me find a he...

jro by Associate III
  • 857 Views
  • 4 replies
  • 0 kudos

Using the PXS_RFIN as GPIO

Posted on December 05, 2013 at 13:53HelloI am using the STM8TL touch IC and need to use the PXS_RFIN pin as an IO to drive a LED ie PA7. If I disable the Prox engine then the LED can be toggled, but if I enable the Prox engine then the LED can not b...