GPIO In/output mode change (STM8S003F)
Is there a way to keep the low level state when changing the GPIO output to input mode?
Is there a way to keep the low level state when changing the GPIO output to input mode?
now i use the latest stvd, and there is no possibility to debug .there is always Connection error (usb://hti1): swim error [30200]: st-link connection erroror the error : gdi-error [40201] can't access configuration database.i have all those "regsvr3...
I am having trouble to find this component library
I've now bricked 3 of these (or at least made them unable to be programmed over SWIM,) and the last one happened after I un-commented these two lines of code:TIM2_IER = 1; // Enable update interrupts TIM2_CR1 = 1; // enable timerThis s...
The problem is, the channel0 works fine, and keeps reading the data as it should be, but the channel 1 just reads the data once. So I keep watching the data changing in one channel, but in the other one it keeps like it is.There is any problem with m...
Hello everyone,How to choice the best pin for ADC input, with lowest noise or/and serial resistance?Thanks.
Hi all.I'm trying to implement printf retargeting in my project, based on STM8S105 microcontroller.I'm using IAR (3.10 & 2.20) and I'm utilizing printf retargeting example from ST. The problem is, if I try to compile the project with "Discard unused ...
I am trying to run timer interrupt in STM8 microcontroller. But I am not able to do so.Here is the code snippet. void TIM2_Configuration(void) { TIM2_DeInit(); CLK_PeripheralClockConfig(CLK_PCKENR1_TIM2, ENABLE); TIM2_ARRPreloadConfig(EN...