STM8 MCUs

cancel
Showing results for 
Search instead for 
Did you mean: 

Forum Posts

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
  • 755 Views
  • 1 replies
  • 0 kudos

Resolved! Program STM8 flash

Can I use "STM32 ST-Link Utility" or "STM32CubeProgrammer" to program STM8MCU flash?If using "STVP", can it automatically detect the STM8MCU type? or require to configure "STVP" for the MCU type to be programmed.

New.Fish by Associate III
  • 526 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
  • 522 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
  • 724 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
  • 1272 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
  • 691 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
  • 919 Views
  • 4 replies
  • 0 kudos

Interrupt Handler execute issue on NUCLEO-8S208RB

I downloaded the blink LED demo from ST and loaded in that nucleo board to check out how things worked, soon I found out that every time when I pressed the "USER" Button (Connected to PE4), It won't be able to successfully switch to next blink patter...

TSu.1 by Associate II
  • 491 Views
  • 0 replies
  • 0 kudos