STM8 MCUs

cancel
Showing results for 
Search instead for 
Did you mean: 

Forum Posts

STM8LEVAL101 examples

Posted on October 16, 2013 at 12:53I'm trying to make sense of the EVAL101 USART_MultiProcessor example.It transmits 0x33 continuously. That's fine, but where is it getting the 0x33 from?I can see no reference to that data anywhere.I can't find any ...

Stepper motor control

Posted on October 08, 2013 at 15:21Ok never mind! I've searched this forum for information but could find none. I have a prototype board with an STM8S208C micro. It must connect to a bi-polar 2 phase stepper motor. My first question is, if I want to...

STEVAL-IHM029V1 firmware built problem.

Posted on October 07, 2013 at 16:36Hi. I recently receive the STEVAL-IHM029V1 demo board, with the firmware code on a CD, I installed the STVD software and the COSMIC compiler I setup everything, but I can not get the firmware compiled, If there is ...

enlai by Associate
  • 387 Views
  • 0 replies
  • 0 kudos

SPI Master Mode

Posted on October 04, 2013 at 09:10Hi, I am facing problem in SPI master mode configuration. I can't see any response on MISO line (Slave is tested OK). Here is my SPI initialize functions.   void SPI_init()   {                      SPI->CR1     = ...

harsh by Associate II
  • 493 Views
  • 0 replies
  • 0 kudos

Cosmic Compiler @stackfunction qualifier. (STM8 LIN Driver)

Posted on September 26, 2013 at 05:36Hi.  Trying to find out what, if anything, the STM8 compiler does with the @stack function qualifier.  The STM8 LIN Driver uses @stack quite a lot, however it is not documented in the Cosmic STM8 User Manual. Tha...

colinh by Associate II
  • 726 Views
  • 3 replies
  • 0 kudos

Interrupt at DIVW and DIV

Posted on September 19, 2013 at 11:21Hi, today I have a very special question: I read in the programming manual, that the instructions DIV an DIVW are interruptible. What exactly happens, when an interrupt occurs while calculating is active  - with ...

STM8L serial half duplex problem

Posted on May 16, 2013 at 08:18Hi, I have a problem with USART half duplex.  The output from my STM8L device is too strange. The first half (about 10 bytes) is from host.  My device can receive this well.  After that, the host is wait to receive the...

0690X00000604zlQAA.png
sawa by Associate
  • 794 Views
  • 2 replies
  • 0 kudos

Which C compilers are there for the STM8?

Posted on September 02, 2013 at 20:10I know of sdcc, Cosmic C, Raisonance. Apparently, there also is ST8CC, but it seems to lack documentation, and seems to only support some restricted subset of C. Are there any other C compilers targeting the STM8...

Can't option byte programming

Posted on August 06, 2013 at 15:27Hello! I'm can't programming option byte in the stm8s105c6t6 into my board stm8s-discovery. This code:  mov FLASH_DUKR,♯$56;  mov FLASH_DUKR,♯$AE;  ld A,♯%00001100; IWDG_HW and LSI_ EN set  ldw X,♯$4805  ld (X),A  i...

skef2009 by Associate
  • 850 Views
  • 2 replies
  • 0 kudos