STM8 MCUs

cancel
Showing results for 
Search instead for 
Did you mean: 

Forum Posts

Triangle signal at the CCO Output (Port C4) / STM8S001JM3

Hi,I generate 2 mhz from the PORT / PIN C4 (CCO).The problem is that instead of a square signal, I get a triangle signal.What could be the reason????On PORT / PIN A3 i can generate a square signal, but not on C4I Use the STM8-SO8-DISCO Board in which...

STM8S clock and serial port initialization problems

I am using an IAR compilation environment, the microcontroller is STM8S105C4T6, but in the clock initialization, CLK__CKDIVR=0x00; the CLK__CKDIVR in this sentence keeps prompting that this function cannot be found.And it is the same when initializin...

SNorm.1 by Associate III
  • 474 Views
  • 1 replies
  • 0 kudos

Error - f_FLASH_ReadByte not defined when linking

I have just come back to STVD after a long while (and various changes of machine) and have reinstalled STVD and COSMIC. I can now compile my existing code but when trying to link it during the build process I get a page of errors like;#error clnk Rel...

jc1 by Associate II
  • 407 Views
  • 0 replies
  • 0 kudos

Hi all, My question is about the stm8 series. I am currently working with stm8s001jm3 and am trying to generate 2 MHz from a pin. The problem is that I can only generate a maximum of 380 kHz, although I have set everything correctly.

Im using the COSMIC Toolchain with the standard library.Here is the setting:##########################################################void clock_init(void){ CLK_DeInit();              CLK_HSECmd(DISABLE); CLK_LSICmd(DISABLE); CLK_HSICmd(ENABLE); whi...

ATürk.11 by Associate II
  • 1158 Views
  • 7 replies
  • 0 kudos

STVD changes to the project are not saves

Hello, I have a strange problem with STVD. The changes to the project are not saved. After closing and openning the project, non of the changes are saved. I appreciate any help. Best regards

VYoun by Associate III
  • 404 Views
  • 0 replies
  • 0 kudos

ST Visual Developer giving errors while debugging

We use STM8 micro for one of our projects and the ST Visual Developer for the development environment. We are in need of debugging some of our units for warranty return analysis and ST visual developer is giving weird errors stating not able to detec...

0693W00000D1KB8QAN.jpg 0693W00000D1KCVQA3.jpg
VVisw.1 by Associate
  • 359 Views
  • 0 replies
  • 0 kudos

Resolved! Which software can I use the OUT extension?

https://www.st.com/en/embedded-software/stsw-viennarect.html?ecmp=tt9470_gl_link_feb2019&rt=db&id=DB4073The content of the file that can be obtained with GET Software in is the extension OUTI want to write "stsw-viennarect.out" to STNRG388A. Which so...

HKOBA.1 by Associate II
  • 2229 Views
  • 7 replies
  • 0 kudos

CENTERALIGNED pwm not working

iam using stm8s003f3 microcontroller i configured centeraligned pwm but not workingattached wave form also please suggest.void TIM1_setup(void){   TIM1_DeInit();            TIM1_TimeBaseInit(0, TIM1_COUNTERMODE_CENTERALIGNED3 , 1000, 0);      TIM1_BD...

0693W00000D17WcQAJ.jpg
gm.1 by Associate
  • 446 Views
  • 0 replies
  • 0 kudos