i need a standard pheriphral library for stm8AF5288
i looked on the en.stvd-stm8 i couldnt find support in this..can any one help??
Discuss STM8 microcontrollers, including SWIM, USART configurations, RTC usage, ADC issues, and debugging.
i looked on the en.stvd-stm8 i couldnt find support in this..can any one help??
i have read https://community.st.com/s/question/0D50X00009XkbTYSAZ/st-link-command-line-programming?t=1568939999743but i need a way to programming flash eeprom, STVP_CmdLine.exe does not have the option
#include "iostm8l.h"#include <stdint.h>#include <stdio.h>#include "defs.h"main(){ CLK_DIVR = 0x00; // Set the frequency to 16 MHz while(1) { if (PWR_CSR2 & 0x01 == 0x01) { break; } } PWR_CSR2 |= (1<<1); while (1) { halt(); }}
The standard library for stm8 can only use Cosmic, Raisonance and IAR compilers, which are all either non-free or limited in some way or another. Is there a plan to include support for sdcc (or at least a way to use it)?
how to measure the time of a code block running within STVD
GPIO_Init(GPIOD, R4_GPIO_PINS, GPIO_Mode_In_FL_No_IT); GPIO_Init(GPIOD, R6_GPIO_PINS, GPIO_Mode_In_FL_No_IT); delay_ms(1); DOes gpio configure need to wait for completion?
char *address = (char *) 0x4000; void flashwrite(char dat) { // thanks to https://github.com/midnight-wonderer/stm8-eeprom-bug/blob/workaround-//method/src/firmware.c // one Mr. Sarun Rattanasiri wh...
I'm sorry, I'm not a STM8 developerI just want to upgrade an RFID readerThe CPU is STM8S003F3The programmer is ST-LINK V2The connection is SWIMThe programmer is ST Visual ProgrammerIt gives me the error "The device is protected"Is there any way to er...
HiI'm working on a BLDC Motor control project using STM8S Discovery Board (STM8S 105C6T6 MCU). I need to read the hall sensor inputs from my motor onto the three channels of TIM 2. So I thought of getting acquainted with the mechanism of input captur...