STVD pre-build command?
Is there an option for a prebuild command or a pre-include in STVD?
Discuss STM8 microcontrollers, including SWIM, USART configurations, RTC usage, ADC issues, and debugging.
Is there an option for a prebuild command or a pre-include in STVD?
We are using the STM8L052R8T6 CPU. The CPU is in Wait mode most of the time, so the current is about 15 microampere . In several cases, the current jump to about 34 milliampere (yes.. 34 mA!)We are using the STM8L052R8T6 CPU, The CPU is in Wait mode...
Hi,I am using stm8s discovery board with stm8s105c6 microcontroller. I am using 6 step PWM generation sample code bu using stm8s_periperal_library.I am able to generate PWM at PC2, PC4 only but I am not getting PWM at other pins and not even compl...
Posted on December 06, 2017 at 19:37I have been using ST Visual Developer for 6 months without this issue. I was having problems with a project I am working on and thought that re-installing the tool might help. Once I un-installed the tool and inst...
I have a Arduino Mega and a STM8S003F3. I set up I2C communication between them. Arduino Mega is master. STM8S is slave. STM8S runs at 3.3V. Arduino Mega I2C clock frequency is the default(100KHz). TIM4 goes into interrupt every 1ms.If I don't enable...
Hi :) I have been designing a device for the STM8L151, and I hope to start production of the first 1000 units soon. But it seems the stock amounts are getting smaller and smaller?On DigiKey for example there are only 4 versions of the STM8L151 which ...
Hi everyone, I'm using the STM8L152R8 Nucleo board and trying to get the RTC running on the LSE clock. It works but only inconsistenly, about 2/3 runs error out in the RTC_EnterInitMode function of the SPL the below line. RTC_EnterInitMode is called ...
Hi :) Quick version: how to write 2 bytes (not in the same word) to the EEPROM in STM8? Should I write 1 byte and then wait for the EOP flag to be set before writing the second one?Long version: for now I am simply doing:unlock EEPROMwrite byte 1 (EE...
in my testing while I am down the power or power on of a any channel MCU is going to reset . I have attached a schematic of my board.If is there may issue of softwere code please suggest me the clock setup is void clock_setup(void){ CLK_DeInit(); ...
Hi everyone, I'm writing a program for a STM8L152R8 that sends data over UART to another mcu that should respond to me though I have a timeout on the transaction of five seconds using timer 4. I'd also like to include a watchdog however the max timeo...