Discuss STM8 microcontrollers, including SWIM, USART configurations, RTC usage, ADC issues, and debugging.
Using the Cosmic IDE, I have the non-inverting input of COMP1 driven from PA4 by closing RI_AnalogSwitch_14 and RI_AnalogSwitch_0 and enabling RI_IOSwitch_3. I have COMP1 configured for COMP_Edge_Rising and the COMP1 interrupt is enabled. I see inter...
I use STVD with the cosmic compiler, SPL library and STVD to flash. I am able to control the STM8S208RB Nucelo board with this setup, and verify the board is functioning correctly.I then lay out a PCB with a STM8S003F in a TSSOP-20 package. The layou...
Hi all.I tried to use GPIOB4 as output but failed.But it works as I2C SCL so I guess the chip ok.I cant find alternate function for it.Someone please help me.
Good morning. I've been trying for a while to put the MCU in low power with the wfe() instruction and wake it up with TIME2 but the MCU gets stuck in wfe() and doesn't wake up. With the debugger active it seems to work even if it doesn't respect the ...
Hello,Problem opening the Programmer, I can't click on the Integrated Circuit icon.The error occurs almost always, eventually when reinstalling, once or twice the programmer window opens correctly. After giving this error, it does not open again and ...
Just changing over to the STM8 using STVD and Cosmic.I have converted an existing project over to the new chip and compiler and have a clean compile of all the modules. The Linker is complaining that #error clnk Debug\5971.lkf:1 @svlreg missing for ...
Hello,W1209 W1219 W3230 boards and several others of Chinese origin are usually equipped with STM8S003. But I got a board with ES7P003FGTF.It looks like a PIC inside the body of an STM8. Programming system uses Data and Clock, and no capacitor pi...
Hello, I am new to ITC. I use a the TIM4 interrupt as a 10ms time base, using a callback function for the SPL interrupt handler INTERRUPT_HANDLER(TIM4_UPD_OVF_IRQHandler, 23).The callback transmits a UART2 packet to an external device and then waits ...