STM8 MCUs

cancel
Showing results for 
Search instead for 
Did you mean: 

Forum Posts

Fix I2C ACK delay

How can I fix the super long delay and weird ACK glitch with I2C on STM8S?I'm having some troubles with I2C communications between a raspberry pi and STM8S. The STM8S is a slave transmitter and I2C is running at 100 KHz. It works much the time, but I...

0690X00000BvV8iQAF.jpg
MLane.1 by Associate
  • 2758 Views
  • 6 replies
  • 0 kudos

Need help: can't get my stm8 I2C slave code to interrupt

I am writing from an esp32 I2C master to a stm8s103f mcu. My scope shows the esp is sending a clean read addr byte onto the scl/sda pins (PB4/PB5). But the stm8 is not running my interrupt routine. I have a gpio pin that should toggle when the interr...

mchahn by Senior
  • 859 Views
  • 1 replies
  • 0 kudos

Using external editor (like vscode) with stvd?

I've been using vscode as my editor since the one in stvd seems to have features from 15 years ago. I have files also open in stvd since clicking on errors opens files. This means that when I switch to stvd from vscode I get the warning about files...

mchahn by Senior
  • 588 Views
  • 0 replies
  • 0 kudos

STM802 supervisor: disable the watchdog

I would like to use the STM802 as a supervisor but I need to disable the watch dog intervention in certain conditions (for example firmware update).The manual says that the WDI pin cannot be left floating to block WD intervention.Is there any other w...

rbott.1 by Associate
  • 831 Views
  • 2 replies
  • 0 kudos

UART Rx does not work sometimes

Hi there! I am using STM8s for UART communication but recently I found that UART Rx does not work sometimes. I am using UART Idle interrupt for Rx at this moment. Could someone suggest a way to me for debugging?Cheers,Morris

MT.2 by Associate II
  • 1484 Views
  • 2 replies
  • 0 kudos

STM8 controller with SEMTECH SX1231 transiever

Hi,Good day everyone.I am trying to setup SEMTECH SX1231 transiever to send and recieve RF packets by having SPI connection between SX1231 and STM8 controller. Its getting really hard to achieve this because of unknown configurations. Has anyone achi...

ANaga.2 by Associate II
  • 823 Views
  • 1 replies
  • 0 kudos

not able to debug using st-link v2 for stm8s105c6 controller

Hello, I am getting the below error. I am using the eclipse workspace for debugging. xPack OpenOCD x86_64 Open On-Chip Debugger 0.11.0+dev (2021-10-16-21:19)Licensed under GNU GPL v2For bug reports, read http://openocd.org/doc/doxygen/bugs.htmlError:...

AJosh.11 by Associate II
  • 1088 Views
  • 4 replies
  • 0 kudos