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

Resolved! STM8L ADC Single conversion not working (Solved)

I can't seem to figure out what I've done wrong. Trying to do a single ADC conversion on the STM8L051F3 using pin PC4 but I'm just getting 0xFFFFD. Here's my ADC related code can anyone spot where I've gone wrong?void ADC_Init() { CLK_PCKENR2 |= ...

Plum by Associate II
  • 1313 Views
  • 2 replies
  • 0 kudos

Does anyone know how to solve this GDB error?

I never had a problem to debug my project but now I get these error messages. I didn't change anything. Also I can't change the content of the gdb.ini file. What should I do?

HAsse.1 by Associate
  • 1219 Views
  • 0 replies
  • 0 kudos

Anyone using an STM8 to replace 74LSXX series ICs?

I'm curious if I can use an 8-pin STM8 breakout board to replace some 74LSXX series ICs, or in some cases, maybe a handful of them. I need to build a 7-seg LED display that outputs hex. I can order one, wait a week, pay $8 for shipping, hope it works...

JRoth.3 by Associate
  • 627 Views
  • 1 replies
  • 0 kudos

stm8s001j3 i/0 control problem

I am having a communication problem with MAX485 ic. I am trying to change Ic receiving mode to transmit mode by using 'PB4' pin and i am using UART1 , SWIM pin as a Transmitter. in some controllers i am unable control pin in the middle working. I am ...

nraj by Associate II
  • 886 Views
  • 2 replies
  • 0 kudos

Resolved! STM8S001J3 UART RECEIVING PROBLEM

Hi All,I am using stm8s001j3 controller, PA1 and PA3 are using as a UART communication by using Remapping. i am able to send the data but unable to receive data. UART configuration is   GPIO_DeInit(GPIOD);GPIO_Init(GPIOD, GPIO_PIN_6, GPIO_MODE_IN_PU_...

nraj by Associate II
  • 1109 Views
  • 2 replies
  • 0 kudos

STM8S005K6 SWIM PROG error [42004]: Memory write error

Program memory write stopped working for me. I tried with two STM8S005K6 chips. And everything works fine if I use some other STM8 chip. Getting below error when trying using STVP.Error : Programming failedError : Problem while trying to Reset swim a...

LGeor.2 by Associate II
  • 3483 Views
  • 10 replies
  • 0 kudos