STM8 MCUs

cancel
Showing results for 
Search instead for 
Did you mean: 

Forum Posts

problem with pin configuration in STM8L-Discovery (broken pin?)

Posted on November 16, 2011 at 11:27I configured the PC4 and PC7 ports both as inputs: GPIO_Init(GPIOC, GPIO_Pin_7, GPIO_Mode_In_FL_No_IT); GPIO_Init(GPIOC, GPIO_Pin_4, GPIO_Mode_In_FL_No_IT); I would like to use these two pins with the ADC (channel...

giu by Associate II
  • 334 Views
  • 0 replies
  • 0 kudos

STVD Installation

Posted on November 15, 2011 at 16:54after installing the STM8 STVD IDE v4.3 on a Windows 7 machine, I try to set the tools to The Cosmic tool chain. I get a message indicating that the Path does not contain at least one of the supported toolsets. I ...

tmadden by Associate
  • 347 Views
  • 0 replies
  • 0 kudos

Unique ID Returning Zeros

Posted on September 29, 2011 at 12:41I am using ST Visual Develop STM8S105xx Datasheet Page 57 details the 96-bit unique device identifier My Device is STM8S105K6 I am using stm8s_flash.c to call the FLASH_ReadByte function as follows: for (i=0; i<1...

using USB port in STM8l-discovery

Posted on November 08, 2011 at 15:05Is it possible to use the on-board USB port to set up a communication protocol with a PC? (i.e. reading ADC data and send it to a computer program to display it via USB) Thank you

giu by Associate II
  • 321 Views
  • 0 replies
  • 0 kudos

Low Pass Filter Implementation...

Posted on September 08, 2011 at 11:07Hello,I am using STM8S208MB MCU for my application and need to design a Low Pass Filter for 500 Hz on the Analog Inputs. Has anybody designed and implemented this kind of LPF using the MCU. I need the filter of f...

how to create interrupt process in main.c

Posted on October 09, 2011 at 14:38Hi:    STM8S105C6 is used in my project.    I want to create the interrupt process in main.c, the compiler is cosmic.    In general, the interrupt function is created in stm8_interrupt_vector.c. So i want move it i...

wpj1018 by Associate II
  • 1174 Views
  • 4 replies
  • 0 kudos

STM8S 96 bit Unique ID on Ride7

Posted on June 16, 2011 at 16:10Hi, I read Unique ID from address 0x48CD to 0x48D8, byte per byte, on two STM8S105C6 with functions provided by stm8s_flash.c [FLASH_readbyte()]. The results are: x wafer: 0x001B y wafer: 0x800D n wafer: 0x00 lot n...

mighel84 by Associate II
  • 764 Views
  • 2 replies
  • 0 kudos

assert_param() problem

Posted on September 02, 2011 at 11:10From what I can see this is used to check in parameters into the c library functions. I've tried to add this to a header file but when I do so the compiler creates many unrelated errors. This is what I am adding:...