STM8 MCUs

cancel
Showing results for 
Search instead for 
Did you mean: 

Forum Posts

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:...

Using the SPI bus

Posted on May 17, 2010 at 15:35Hello, Right now im playing around with the ST8M8 Discovery board, i have followed some tutorials and have build a few projects that fade the LED using the PWM signal. I would like to use the SPI bus in the future to r...

Total newbie not getting this to work

Posted on August 25, 2011 at 12:20Hello, I am trying to control a robot arm with a stm8s discovery. I got the board as well as the users manual. The manual tells me to first install ST visual develop, and then Cosmic compiler. I was supposed to go ...

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
  • 1154 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
  • 643 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
  • 610 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...