STM8 MCUs

cancel
Showing results for 
Search instead for 
Did you mean: 

Forum Posts

User Defined Section in .lkf file

Posted on November 19, 2011 at 13:25Hello , We have a Cosmic compiler for STM8A: I would like to define the sections for .text in .lkf BB_SEG from 0x8080 to 0xAFFF CB_SEG from 0xD000 to 0x1f000 and BB_RAM from 0x100 to 0x200 CB_RAM from 0x250 to 0...

STM8S105 I2C, STVD does not connect after AFR6 set

Posted on November 18, 2011 at 14:01I having been having problems getting the I2C to work on an STM8S105K6 in a 32 pin package. At first I couldn't I couldn't get the start bit to be sent. Then I realized that I neede to set AFR6 to put I2C onto PB4...

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
  • 294 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
  • 299 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
  • 278 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
  • 1047 Views
  • 4 replies
  • 0 kudos