STM8 MCUs

cancel
Showing results for 
Search instead for 
Did you mean: 

Forum Posts

Multiple LIN-Slave ID in on MCU

Hello,I have a LDF File with one Master and 2 almost identical slave nodes. The slave nodes only differ in name and ID. For example:slave_1 subscribs to slave_1_state and slave_1_position.slave_2 subscribs to slave_2_state and slave_2_position. Now I...

RKB by Associate
  • 283 Views
  • 0 replies
  • 0 kudos

What causes CSR.HSIT to not be set during SWIM initialization?

Our implementation of the SWIM protocol expects the "HSI clock is trimmed" bit in the SWIM CSR to be set after initialization. As UM0470 states, "At the end of the option byte loading, the HSIT bit in the SWIM_CSR is set by hardware."In a test with S...

dvanb by Associate
  • 235 Views
  • 0 replies
  • 0 kudos

Resolved! What is the MSL of STM8S105K6T6C? Is it 2 or 3?

Hello,We have STM8S105K6T6C parts with same COO = Malaysia and same date code but some have MSL listed as 2 on the manufacturing label and the others have 3 as MSL. The question is which MSL is the correct one or they are both correct? I couldn't fin...

THoan.3 by Associate
  • 294 Views
  • 1 replies
  • 0 kudos

why STVD is getting crash frequently

Hi,I am using window 10 version. Initially STVD was working well. Now from few days its not working. Automatically workspace get deleted, not generated. STVD starts not responding error. Automatically get closed. I am using COSMIC compiler.Then later...

Ajadh.1 by Associate II
  • 176 Views
  • 0 replies
  • 0 kudos

Not able to vary duty cycle and frequency of pwm

Hi,I am using STM8S105c6 , I have used timer1 software interrupt, to generate PWM. but I am not able yo control it, not duty cycle not frequency plz check code give and correct me.Thanks in Advance/* * BMSBattery S series motor controllers firmware *...

Ajadh.1 by Associate II
  • 261 Views
  • 0 replies
  • 0 kudos

Timers - should I "wait" before updating ARR after UEV?

Hi =) Short version: should there be time (cycles) between updating ARR/CCR registers and generating an update event by setting the UG bit in TIMx_EGR?Long version:I am using one timer, which is automatically enabled (triggered) by another timer.I ma...

SLasn.1 by Associate II
  • 1208 Views
  • 11 replies
  • 0 kudos

Not Able to toggle GPIO

Hello Dear,I am using STM8S105C6 microcontroller and want to toggle the GPIO, But I am not able to do this.Will you please help

Ajadh.1 by Associate II
  • 576 Views
  • 2 replies
  • 0 kudos

Getting out of interrupts stop the software from running.

I'm using STM8AF5288 and the COSMIC as my IDE.Everything working great accept for interrupts using.The interrupt are being fired as I accept but on returning from the interrupt the PC is out of the program memory addresses.It is happening with extern...

Ofer by Associate III
  • 260 Views
  • 4 replies
  • 0 kudos

delay not occuring

I am trying to generate a delay in STM8s103 using Timer peripheral TIM2.but on equating the values to the Prescaler register(PSCR) and ARR. that is not happeninglike I debugged my code step by step and on seeing the values of TIM2 registers, they ar...

0693W000008GUM1QAO.png
KGupt.1 by Associate III
  • 397 Views
  • 0 replies
  • 0 kudos