Hi all, My question is about the stm8 series. I am currently working with stm8s001jm3 and am trying to generate 2 MHz from a pin. The problem is that I can only generate a maximum of 380 kHz, although I have set everything correctly.
Im using the COSMIC Toolchain with the standard library.Here is the setting:##########################################################void clock_init(void){ CLK_DeInit(); CLK_HSECmd(DISABLE); CLK_LSICmd(DISABLE); CLK_HSICmd(ENABLE); whi...