STM8 MCUs

cancel
Showing results for 
Search instead for 
Did you mean: 

Forum Posts

How to use TIM1 [Encoder interface mode]

Posted on November 05, 2012 at 09:03I want capture signal likeI want capture how many times yellow signal is high on the falling edge of blue signal in 1 second my code is TIM1_TimeBaseInit(0, TIM1_CounterMode_Up, 50000, 0); TIM1_EncoderInterfaceCon...

0690X00000604zHQAQ.png
lzyos by Associate II
  • 534 Views
  • 0 replies
  • 0 kudos

.

Posted on November 02, 2012 at 16:33

adsp2181 by Associate
  • 293 Views
  • 0 replies
  • 0 kudos

stm8 uart1

Posted on October 29, 2012 at 07:25hello, please can someone one help me with a uart problem on the stm8s i use a crystal of 14.7456 Mhz , also i do the change of the clock system, see the atached program. the uart1 is initialised as, pa4 and pa5, ...

stm8s20x series MODBUS RTU and ASCII

Posted on October 20, 2012 at 04:10HiI looked at google  MODBUS RTU and ASCII for some source code for stm8 but i could not find any source code for stm8 series... 1. Is there any source codes for stm8 series?2. When a device is connected to stm8 ua...

irmakci by Associate II
  • 887 Views
  • 2 replies
  • 0 kudos

STM8S

Posted on October 22, 2012 at 12:14hello, please is there a sort of stm8s assembly language available who convert a 16 bit binary  to 5 bcd  code many thanks marc debruyne

RAM memory issue on STM8L151G6

Posted on September 28, 2012 at 17:41RAM memory issue on STM8L151G6When using the RAM there are five addresses that I cannot change by software: 0x102, 0x12F, 0x237, 0x24D and 0x2A9. I am using the following test code; for (i=(unsigned char *)0x000;...

RTC Wakeup Interrupt latency

Posted on October 22, 2012 at 09:14Dear,I'm developing now on STM8L151C8.On the very beginning of my project i measured how much time takes from Wakeup from Halt to RTC interrupt and, if my memory does not fail me, it was less than 1uses, exactly li...

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

PWM frequency and duty cycle control - problem

Posted on October 15, 2012 at 19:56 Hi, I'm trying generate a PWM signal whose frequency and duty cycle are controllable by 2 potentiometer on a STM8S105 Board. However, I am still unable to get the variables to update their values. Here...

CXSTM8 bug when writing to bit structure

Posted on October 11, 2012 at 09:36To optimize the code I put nearly all the flags to bit structures. Now I came across a  bug in the CXSTM8 when writing to bits. Reading bits doesn't bring any problem.  The good news for me is that I found a workar...

STM8L Sleep Speed

Posted on October 08, 2012 at 08:40 OK, title sounds really weird, but I'm really curious about the low pawer state switch speed of the STM8L micro. I'm doing some tests about switching to LSE and back to HSI, waiting for stablization etc. I...