STM8 MCUs

cancel
Showing results for 
Search instead for 
Did you mean: 

Forum Posts

The type of Flash memory in STM8

Posted on October 11, 2011 at 10:43Hi,I'm trying just to learn a bit about the Flash technologies. Since I'm just starting, my question is not too ''professional'', sorry (-:.I know today there are 2 main flash types : NOR and NAND. Referring to STM...

elil by Associate III
  • 851 Views
  • 4 replies
  • 0 kudos

STM8S debugger changes speed of MCU !?

Posted on October 06, 2011 at 15:24Hi all, I'm use the STM8S103K MCU with COSMIC + STVD + STLINK debugger. I setup TIMER1 to generate a bitsequence (each 14ms) on an output pin during timer overflow. Everything is fine as long as the debugger is con...

Rotary potentiometer code

Posted on October 10, 2011 at 21:47Hi all, some piece of code to manage a rotary encoder potentiometer. The model I use is from the chinese market maybe by TREXON. I'll propose both interrupt and polling mode. The interrupt code has been adapted fro...

spiovan9 by Associate II
  • 509 Views
  • 0 replies
  • 0 kudos

Does the an2781(software uart) must use the tx

Posted on October 10, 2011 at 03:26I found if i disable the SWUART_TRANSMIT_USED ,it will hang in TIMERx_UPD_OVF_BRK_IRQHandler and can not run out of it. In this function: #ifdef SWUART_TRANSMIT_USED  uart_Tx_timing(); #endif  The clear_owerflow_fl...

cgh21 by Associate II
  • 462 Views
  • 3 replies
  • 0 kudos

Beginner

Posted on July 23, 2011 at 10:38Hi All, Yesterday i just got stm8s-discovery board.I don't know how to make use of it to the max since i am unaware about the compiler used with stm to build the code and other info regarding STM, till today i am fami...

TSL 2.4.0 STM8S105C6 on GPIOE not work in IAR

Posted on October 05, 2011 at 18:29if stm8_tsl_conf.h select GPIOE:#define SCKEY_P1_PORT_ADDR  (GPIOE_BaseAddress)  /**< Single channel key Port 1: GPIO base address */ IAR stopped on - ''__iar_unhandled_exception''

prc by Associate
  • 398 Views
  • 2 replies
  • 0 kudos

STM8L discovery kit ( using raisonance ) error

Posted on October 09, 2011 at 07:29Hi all , I have try to compile default code ( discovery demo ) and everything runs fine. After which i try to create my own application following the guide : UM0991 <Building, debugging and running your applicatio...

lau by Associate
  • 349 Views
  • 1 replies
  • 0 kudos

STM8 Touch Sensing Firmware Library error

Posted on October 06, 2011 at 11:06Hello, I think there is an error in v2.3.0 of this Library. The MKEY_CH2_MASK and MKEY_CH3_MASK should be defined in line 131, 132 of stm8_tsl_checkconfig.h. Otherwise compilation fails if multichannels keys are no...

Gaston by Senior
  • 264 Views
  • 1 replies
  • 0 kudos

STM8 Assembler using STVD

Posted on September 18, 2011 at 19:13I use STM8 Assembler. Code: ...... CLOCK EQU 16000 TIME EQU CLOCK/1000 .... compile error Error 67: Improper Character(s) '/1000' Why? I find :) TIME EQU {CLOCK/1000} Works without errors