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

Resolved! I am using STM8S001J3 for PWM at TIMER 1 channel 4(PC4) PIN NO 7,but not getting pwm..pls.suggest.

void PWM(void)//timer1 channel4{ TIM1_ARRH = 0x03;    // Reload counter = 960TIM1_ARRL = 0xc0;TIM1_PSCRH|= 0;     // Prescalar = 0 (i.e. 1)TIM1_PSCRL |= 0;//TIM1_CR1 = 0;    // Up counter.TIM1_CR1|= 0;    // Edge aligned counter.TIM1_RCR |= 0;      /...

Getting Error in ST Visual Develop

I am getting the error i posted below , while i build the program.Anyone know how to solve this error.Please respond , It is urgent.///////////////////////////////////////////////////////////////////////////////////////////////////////////////Running...

Cdtm.1 by Associate
  • 515 Views
  • 0 replies
  • 0 kudos

Will the STM8S005K6T6CTR be a good fit for my requirements?

I would like to use the STM8S005K6T6CTR in my next project. This is my first project outside of the arduino ecosystem, so sorry for bad questions(if any) .The MCU will be responsible for taking care of the following tasks:1) Driving a 4 digit 7 segm...

UJain.1 by Associate II
  • 1078 Views
  • 5 replies
  • 0 kudos

STM8S example interrupt code

Hi,I'm new with the STM8S003F3 MCU.There is push bottom that connected to PD6.How the interrupt should be define?I'm using IARthanks

IHazi.1 by Associate
  • 828 Views
  • 2 replies
  • 0 kudos