STM8 MCUs

cancel
Showing results for 
Search instead for 
Did you mean: 

Forum Posts

what does the line 6 wait do?

void sEE_ReadBuffer(uint8_t* pBuffer, uint16_t ReadAddr, uint16_t* NumByteToRead) { //__IO uint32_t timeout = 0xFFFF; __IO uint32_t timeout = 0xf00; /*!< Wait the end of last communication */ for (;timeout > 0; timeout--);   /* Set the poin...

can't find the Device at IAR.

hello,i use IAR EW for STM8 3.11.1(latest version on IAR website)​but i can't find STM8L050J3M3 Model at "General Options - Target - Device"so.. which one should i choose?Thank you.bast regards.Device : STM8L050J3M3 C Compiler : IAR EW for STM8 3.11....

KTAEW.1 by Associate
  • 483 Views
  • 0 replies
  • 0 kudos

How PVD interrupt when in Active-halt mode

Hi,STM8L152 with buttons and LCD, using CR2032 battery. Most of time MCU is in Active-halt mode and keep LCD display. Now I want PVD low voltage interrupt to inform user to change battery in LCD.​So my question is, can PVD interrupt work in active-ha...

usart wakeup from halt

stm8L152 PC2 is USART rx,1 rx to exit before halt() USART_DeInit(USART1); GPIO_Init(GPIOC, GPIO_Pin_3, GPIO_Mode_Out_PP_Low_Slow); GPIO_Init(GPIOC, GPIO_Pin_2, GPIO_Mode_In_PU_IT); RX_EXTI_setup(); EXTI_ClearITPendingBit(EXTI_IT_Pin2);2, pc2 exit han...

I2C STOP

hardware I2C: my stm8l152 have two i2c slave device, it works well when does not connect to a oscilloscope.when connect to oscilloscope, mcu may be stop i think oscilloscope has effect on i2c, I2C communicate by polling

Resolved! How to connect STM8L050j3M3 and ST-LINK/V2

hello,i'm studying the STM8L050j3M3.but i don't understand how to connect STM8L050j3M3 and ST link.​it don't have Reset pin. and i don't be going to buy discovery board because i use 1 LED and Timer.​i'd like to make connection mentioned above.could ...

KTAEW.1 by Associate
  • 427 Views
  • 1 replies
  • 0 kudos

gdi-error‘[40201]: while debugging STM8 project on windows 10

Hi All.I have installed STVD version 4.3.12 on OS - WINDOWS 10  version 1803 with following detailsSTVD MainFrame Version 3.6.5.2 - Build Aug 4 2017stvabbld.dll, Version: 1.4.1.0stv7abbld.dll, Version: 1.4.4.1STVD_TxtEditor.dll, Version: 1.0.3.0and r...

0690X000006CBgXQAW.bmp

Timer 1 overflow interrupt not triggered

Hello,I stated using the STM8f003 uC.For simple start I want to implement a flashing LED using the TIMER1 overflow interruptof the core. The code does compile and can be flash without problems.Sadly the LED never lights up -> the interrupt is not eve...

MGehr.1 by Associate
  • 749 Views
  • 1 replies
  • 0 kudos