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

How to measure input voltage in STM8l052C6 MCU?

Hello Respective,I am trying to measure the input voltage in STM8l052C6 controller but I am unable to do the same. I tried in STM8l152C6 in STMl discovery board and it's working fine there but not in STM8l052C6.I analysed one thing by my self is addr...

NPaba by Associate II
  • 429 Views
  • 0 replies
  • 0 kudos

Unable to execute HALT instruction in STM8l discovry.

Hello Respective,I am using STM8l discovery board and trying to put my controller in Sleep(HALT) for some time and waking up again when any external interrupt comes.Previously the code was working fine, but now it's not working as expected.I am using...

NPaba by Associate II
  • 468 Views
  • 0 replies
  • 0 kudos

Resolved! STM8S Write Flash Memory Issue

Hi guys,I want to write data to the flash memory of the Stm8s003f3p6 processor. I can read / write to this processor's eeprom. But I can read the flash memory, but I can't write it. I write my codes with "IAR Embedded Workbench for STM8". I check the...

Hi world! by Associate III
  • 908 Views
  • 1 replies
  • 0 kudos

How to count PWM Pulse coming on GPIO?

Hi, I am a newbie in writing code on MCU's.I am using STM8S003K3 with which several fan controllers are attached on different GPIO. I need to count PWM pulse whenever it comes on any port and then identify the pin no of that port. How to count pulse ...

RPriy by Associate II
  • 396 Views
  • 0 replies
  • 0 kudos

stm8l lcd setting

HOW to code this table?void LCD_GLASS_Init(void) { /* The LCD is configured as follow: - clock source = LSE (32.768 KHz) - Voltage source = Internal - Prescaler = 2 - Divider = 18 (16 + 2) - Mode = 1/8 Duty, 1/4 Bias ...

0690X000009Z7tfQAC.png

Resolved! STM8 HSE

Hi,I am testing an application, and currently is working properly with HSI configured to 16MHz.Now I want to enable the HSE.I am using a NUCLEO-8S208RB. I have soldered an external crystal on X2, and i have configured the board with 12pF capacitors a...

ACogl by Associate III
  • 939 Views
  • 1 replies
  • 0 kudos

STVD workspace location limitation?

I wish to use STVD to set up a new workspace on a mapped common drive but it whereas I can see and go to a mapped drive with the Atmel IDE etc the STVD IDE doesnt appear to recognise it. Is this a known limitation or something I am doing wrong?

BCowa by Associate II
  • 377 Views
  • 0 replies
  • 0 kudos

How to get interrupts work when compiling from command-line?

I set up a project that generates the makefiles for the STM8 target. It almost works, just the interrupt vector table is not updated with the definitions in the code.The interrupts are set up and work. I can see that from the button press on the disc...

GANG PROGRAMMER FOR STM8S

For the mass production i am want gang programmer or I need to program through UART without any bootl-oader firmware.

NM by Associate III
  • 442 Views
  • 0 replies
  • 0 kudos