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

LSI clock selection does not seem to work on STM8S207 Nucleo-32 board.

Using the code fragment below I would expect the code to hang if it got an error during the clock switch or it actually switched to the LSI clock. But the test code keeps running and starts blinking an LED.    CLK_LSICmd(ENABLE);    CLK_ClockSwitchC...

MJohn.12 by Associate
  • 616 Views
  • 1 replies
  • 0 kudos

SPI write 8 bit to 16 bit

Hello everyone, I am newbie, I want to use spi connection STM8 master with slave 16 bit IC. I have to write 16bit register to set the IC. How could I send 16 bit value to IC to set it with STM8, may you share some codes? best regards.

Cbalt.1 by Associate II
  • 1376 Views
  • 2 replies
  • 0 kudos

STM8s003k3 interfacing with a shift register

Hi Everyone I want to interface hef 4094B shift register with stm8s003k3. I understand the general working of the shift register but right now I am confused about how to send data to the pins of the shift register. It would be a great help if someone...

KRiaz.1 by Associate II
  • 1444 Views
  • 3 replies
  • 0 kudos

I'm using STM8S207 MCU and ST-LINK V2

Dear all, I'm using STM8S207 MCU and ST-LINK V2 i need a clarify connection between MCU and ST-LINK as i connect pins as Ground, VCC, SWIM, RESET( NRST) pin but in STM32 ST-LINK Utility softare an error message appear when i press the ( connect to ta...

AHANY.1 by Associate
  • 676 Views
  • 1 replies
  • 0 kudos

Hello,

Hello,I would like to program an STM8 with the STLINK-V3. The jumpers are set as in the manual. When you plug in the USB cable, there are two text folders.1. DETAILS.TXT -> Version: V3J7M2B4S1 Build: May 13 2020 17:07:492. FAIL.TXT -> The interface f...

SM1 by Associate
  • 1132 Views
  • 1 replies
  • 0 kudos

Help regarding Getting Started with STM8L MCU's

Hello All,We are designing a battery operated device for that we have selected STM8L051F3 MCU,For development we have ordered NUCLEO-8L152R8 board, and after wards we will port the same code for STM8L051F3 MCU. (Please help if any Better suggestions)...