STM8 MCUs

cancel
Showing results for 
Search instead for 
Did you mean: 

Forum Posts

Problem with STVD

Posted on June 15, 2011 at 11:15Hi, I have a problem with STVD, when a open workspace, the menu bar is become invisible. See the attachment file. Thank you in advance for your help Best regards

mchnani by Associate II
  • 381 Views
  • 0 replies
  • 0 kudos

sprintf

Posted on June 13, 2011 at 22:53I am using cosmic tools with the stm8-discovery board. char buffer [15]; u8 n; double x; x = 300.02; n=sprintf(buffer,''%.2f'',x); when i run it n = null and the buffer is empty. what is my problelm? charles arnett

carnett1 by Associate II
  • 278 Views
  • 0 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
  • 448 Views
  • 2 replies
  • 0 kudos

Windows GDI leak in STVD

Posted on June 12, 2011 at 09:52Hello, I'm running the latest STVD release (4.2.1) on Vista. STVD crashes after many edit/debug cycles. If I run Task Manager, enable ''GDI Objects'' column in ''Process'' tab and watch what happens for stvdebug.exe, ...

fggnrc2 by Associate II
  • 374 Views
  • 0 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
  • 513 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
  • 597 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
  • 378 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
  • 856 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...