STM8 MCUs

cancel
Showing results for 
Search instead for 
Did you mean: 

Forum Posts

Use ADC and USARt1 in STM8L151C6

I am a newbie into the world of embedded systems.is it possible to enable clock for ADC and TIM4 overflow update.``` CLK_DeInit();   CLK_LSICmd(DISABLE); // Use internal clock. CLK_HSICmd(ENABLE); while(CLK_GetFlagStatus(CLK_FLAG_HSIR...

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
  • 550 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
  • 1276 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
  • 1334 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
  • 615 Views
  • 1 replies
  • 0 kudos