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

DAC Module with Timer 4 trigger

Hello,I am working on STM8L-Discovery DAC module.I have used Timer 4 trigger (1Khz) and DMA transfer is enabled.But my DAC_OUT1 pin PF0 isn't giving a sine wave. I want to know what mistake I might have done.Thanks in advance.Regards,SandeepTool Used...

SShiv by Associate
  • 646 Views
  • 1 replies
  • 0 kudos

What is use of IAP Commands in Stm8s?

Hi,I would like to know, what is specific use of IAP commands in stm8s, and how can i use it (i mean any example code in C.).

HM.80 by Associate II
  • 519 Views
  • 0 replies
  • 0 kudos

Resolved! how to write or read internal RAM from specific location

Hi,I'm using stm8s003f3p6 microcontroller and learn it's different internal peripheral. using SPLHow can i write a byte at RAM location like 0x00 and read from it.i also want to use IAP commands for flash.i have read stm8s Reference manual , dastashe...

HM.80 by Associate II
  • 1024 Views
  • 3 replies
  • 0 kudos

How do I put a variable to specific memory (RAM) address?

Good day!I'm using STVD+Cosmic. How do I set up the variable in the RAM at the specific position.I've tried creating new Segment and Section but the variable is declared at another address in the flash.Also, nothing changes when I'm changing min or m...

YSmir by Associate
  • 659 Views
  • 0 replies
  • 0 kudos

How to burn a .hex file into a STLUX385A without boot loader

Hi all.I would to flash a .hex firmware into some STLUX385A devices.These devices are not brand new and de optionbytes allowing serial bootloader has been removed by previous application. Worst-case scenario, the serial pins are not accessible on the...

SStei by Associate
  • 528 Views
  • 0 replies
  • 1 kudos

GPIO_ReadInputPin not working for STM8S003F3P6

The below code works with out the initialization "GPIO_Init(GPIOA, GPIO_PIN_3, GPIO_MODE_OUT_PP_HIGH_SLOW);" ,but does not work with initialization.void main(void){ volatile uint8_t count; count = 0x00; GPIO_DeInit(GPIOA); GPIO_Init(GPIOA, GPIO_P...

mvk by Associate
  • 612 Views
  • 0 replies
  • 0 kudos

How to reset protection STM8S001J3 through ST Visual Programmer?

Does STM8S001J3 reset protection via STVP? As well as in other series STM8?I did not get through STVP. So far, only through IAR - when connecting, select Option Bytes. IAR warns about clearing all memory, agree and everything is ok.

progs_sp by Associate II
  • 469 Views
  • 0 replies
  • 0 kudos