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...

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
  • 630 Views
  • 2 replies
  • 0 kudos