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

STM8S001J3 open-drain mode

Posted on December 15, 2017 at 08:22HiI would like to use open-drain mode for PB5 pin of STM8S001J3.GPIO_DeInit(GPIOA);GPIO_Init(GPIOB, GPIO_PIN_5, GPIO_MODE_OUT_OD_LOW_FAST);I do not know why the voltage goes down even if I set it like the code abo...

FORTH for STM8S-Discovery

Posted on July 20, 2010 at 07:08Here is a FORTH interpreter-compiler for Discovery Board.  It is in the form of an assembly file stm8ef.asm.  You can assemble it on STVD and download it to Discovery.  You need a UART connection to Hyperterminal on P...

ting by Associate II
  • 2782 Views
  • 14 replies
  • 0 kudos

Can the in-circiut STLINK on Nucleo board be used to debug STM8S?

Posted on December 29, 2017 at 10:16I got a Nucleo F302R8 on hand, but now a STM8S003F3 is used on my project, i'm wondering if the STLINK on the Nucleo board can be used to debug the STM8S processor? and how should they be connected?Any comments ar...

is it exist part number stm8s003f2?

Posted on December 27, 2017 at 13:32HelloI bought stm8s003f2 mcu instead of stm8s003f3.The seller told me that it is same as stm8s003f3, after getting it, i tested stm8s003f2 on my custom board by using stlink/v2, but it is not works and there is no...

STM8S103 TIM1 Setup External Event Counter

Posted on December 30, 2017 at 02:08Hi,Please, could someone help me to setup TIM1 to count pulses at rising edges? I try this code, but doesn't works.TIM1_DeInit();TIM1_TimeBaseInit(0, TIM1_COUNTERMODE_UP, 581, 0); TIM1_ICInit(TIM1_CHANNEL_1, TIM1_...

How to use STM8S001J3 portb

Posted on October 31, 2017 at 04:04HiI am using STM8S001J3 controller on my project and I'm have some problem about it,5,6 pin GPIOB It doesn't work.I don't know how to solve it. Please help me..// my source codeGPIO_DeInit(GPIOB);GPIO_Init(GOIOB, G...

STM8L051F3 ADC fluctuating reading

Posted on December 20, 2017 at 11:17I am working on STM8L051F3 and measuring 10K pot output voltage but ADC readings are fluctuating. Pot output is 0 volt but ADC readings is 1 to 4. How to get stable readings?I was measuring temperature using PT100...