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

Boolean variable segment in STVD

Posted on June 14, 2011 at 17:20Here's a question for the STVD & Cosmic gurus!  Since bit instructions in the STM8 do not utilize the zero page addressing I wanted to move the ''.bit'' section out of the ''Zero Page'' and into ''Ram'' so I'd have mo...

jdf25252 by Associate II
  • 1268 Views
  • 4 replies
  • 0 kudos

STM8S and Android

Posted on June 12, 2011 at 19:42Hi all,does it exist libraries and a toolkit for STM8S able to connect through Bluetooth smart phones android based to STM8S? Is there any plan to devolop it?brazov2

brazov22 by Associate II
  • 420 Views
  • 1 replies
  • 0 kudos

STM8S-Discovery and 24bit ADC

Posted on April 27, 2011 at 15:42Hello All: In my company we are working with STM8S-Discovery and a Texas Instruments ADC ADS1231. We are trying to communicate via SPI but so far we have not been successful. Does anyone have experience with externa...

darea by Associate
  • 532 Views
  • 2 replies
  • 0 kudos

6 step PWM on STM8L15x

Posted on June 10, 2011 at 14:50Hey! I'm trying to make sensorless BLDC control unit on STM8L15xxx MCU. High-side switches of drive circuit are opened by logical ''1'', and low-side - by logical ''0''. So I need to perform six-step trapezoidal com...

kirlik by Associate II
  • 612 Views
  • 0 replies
  • 0 kudos

Assign register value to variable

Posted on June 06, 2011 at 21:05Good day! I'm trying to assign register value to a variable in COSMIC C. I've tried the obvious way first, but it doesn't work: uint8_t test = 0; ... test = CLK->SWCR; // define from stm8s.h and uint8_t test = 0; ......

artvolk by Associate II
  • 732 Views
  • 2 replies
  • 0 kudos

STM8L vs PIC18 code density benchmark

Posted on June 03, 2011 at 18:00Hello, I have an existing platform that I've recently built on PIC18. Soon I'm starting a new project that is very price sensitive. Currently the existing platform occupies too much code memory, avoiding me to take ...

elil by Associate III
  • 452 Views
  • 0 replies
  • 0 kudos

[resolved] GPIO: Pull-up resistors on Port E

Posted on May 21, 2011 at 15:40Hi all, I've set PE0 -> PE3 as inputs with internal pull-up enabled. Without connecting anything to these pins, I read the input register as 0x09, indicating that the pull-up is only operational on pins PE0 and PE3. Ha...

nholzem by Associate II
  • 1065 Views
  • 8 replies
  • 0 kudos

Beep function with STM8L Discovery

Posted on April 19, 2011 at 21:39Hello, I want to use the beep function with my STM8L Discovery. After writing the program to STM8L, I connect the a piezo speaker between PA0 and GND. The program is as following: // Initialize     BEEP_LSICalibratio...