STM8 MCUs

Discuss STM8 microcontrollers, including SWIM, USART configurations, RTC usage, ADC issues, and debugging.

cancel
Showing results for 
Search instead for 
Did you mean: 

Forum Posts

Hi, I´m using STM8S0003F. I have 2 pins at PORT A (PA1 and PA3 that are programmed to generate an interrupt when any signal FALL_ONLY. During the interrupt routine, how can I know which pin generate this interrupt? Thank you Andre

INTERRUPT_HANDLER(EXTI_PORTA_IRQHandler, 3){ /* In order to detect unexpected events during development,   it is recommended to set a breakpoint on the following instruction. */ if(!GPIO_ReadInputPin(RUIDO_PASS_Port, RUIDO_PASS_Pin)) { Tmr10msLeRuid...

AMast by Associate
  • 410 Views
  • 0 replies
  • 0 kudos

SD CARD PROBLEM FOR STM8S003F3

I have a STM8S003F3 and a Arduino Micro SD Card Module. I want to communicate with Micro SD Card. But Project SPI_FastCommunicationMicroSD in STM8S_StdPeriph_Lib is not working. It goes into "Go to infinite loop when there is mismatch in data program...

AMehm.1 by Associate
  • 677 Views
  • 0 replies
  • 1 kudos

stm8s cco flag never set

I have a discovery stm8s003k board and when I tested a program for cco capability it seems cco will never be stable and program always remain in line:while(CLK_GetFlagStatus(CLK_FLAG_CCORDY) == FALSE); code and more explain is in detail.I tested it w...

akhan.1 by Associate II
  • 1277 Views
  • 5 replies
  • 0 kudos

How to find out how much space are in RAM and Flash occupied in bytes?

Hello, I am using STM8l151, ST Visual Develop, and Cosmic compiler. I need to find out how much space is occupied in RAM and Flash. I found the .map file and checed there, but everything there is said in terms of segments and also code size in flash ...

VYoun by Associate III
  • 1004 Views
  • 2 replies
  • 0 kudos

stm8s with cosmic

hello siri used cosmic c with st visual idand when i comple there are no errors, but when i build, just the small examplethen i have this error#error cpstm8 en.stsw-stm8069\stm8s_stdperiph_lib\libraries\stm8s_stdperiph_driver\src\stm8s_adc2.c:56(8+3)...

Not able to compile code in STVD

when I compile the code for a simple GPIO toggle, it shows an error like thisCan't understand what is the issue, I have included all the inc and source files into the project from the Standard peripheral library and the Cosmic compiler is also succes...

0693W000006H8G5QAK.png
KGupt.1 by Associate III
  • 441 Views
  • 2 replies
  • 0 kudos