STM8 MCUs

cancel
Showing results for 
Search instead for 
Did you mean: 

Forum Posts

Resolved! Instruction timing changing with memory location?

Hi. I am writing very time sensitive code on the STM8 mostly using assembly. However, I have noticed that sometimes adding one cycle of delay at one point in the code changing the timing of the whole code. I will explain in more detail to clarify. I ...

Chris K by Associate II
  • 571 Views
  • 4 replies
  • 0 kudos

TIM1_GetCounter() Results

I have initialized TIM1 timer with:TIM1_DeInit();TIM1_TimeBaseInit(16, TIM1_COUNTERMODE_UP, 1000, 0);TIM1_SetCounter(0);TIM1_ITConfig(TIM1_IT_UPDATE, ENABLE);TIM1_Cmd(ENABLE);But calls to TIM1_GetCounter(); return the value 2. I can see the counter ...

Feedback on STM8 tools

Hi. This is some open feedback on the use of the STM8 tools for a pending project. We are 35 year old OEM design house and about to deploy the STM8S001J3 onto a consumer space product. The assembled PCBs have arrived and now the code development was ...

Mon2 by Senior III
  • 317 Views
  • 0 replies
  • 0 kudos

unable to compile

when i am trying to compile ST Visual develop 4.3.12 with cosmic compiler 4.4.9.0.i am getting this Connection error (usb://usb) [30100]: can't load library.can anyone please help me to solve this problem.

tvenk by Associate II
  • 349 Views
  • 0 replies
  • 0 kudos

Why doesn't the COSMIC compiler start?

I downloaded and installed the COSMIC stm8 free compiler (http://cosmicsoftware.com/download_stm8_free.php). I requested and received a license. I copied the license file to the appropriate folder.However, the compiler does not start. It does not sta...

MPele.2 by Associate II
  • 614 Views
  • 4 replies
  • 0 kudos

STM8L151 crystal with Cload 20pF

Dear,according to the spec. of STM8L151, Recommended load capacitance C=CL1=CL2= 2*CLOAD of crystal, so, if the Cload is 20pF, we should use 40pF for CL1 and CL2?please help to advise if it's ok and if have any other issues?b/rzhang

vzhan by Associate
  • 260 Views
  • 1 replies
  • 0 kudos