I am using arduino for very long time, Arduino IDE and Language is very easy as compared to the STM. I want to use STM8S001 but i am not be able to write code more than the LED BLINK. please recommend any useful links
I think you don't want anyone to use STM microcontrollers, The initial settings of the stm microcontroller is very difficult ( like Clock configuration , GPIO enable etc )
Hi rhame.1, using STM8 and STM32 devices requires
1) the C-programming language, which is a very popular programming language for embedded systems, and
2) studying the architecture of the STM device you are planning to use.
For your first STM project I recommend to download the C-library for your specific device. For example, for a STM8S processor you would use the STM8S Standard Peripheral Library (SPL), which can be downloaded HERE. The SPL includes a reference manual and also many helpful code examples that demonstrate how to initialize the device and then run the application algorithm. I suggest that you buy the NUCLEO development board for your specific processor to get started.
Good luck!
A
Anonymous
October 22, 2022
You have 2 ways ahead of yourself.
you can start programming using standard peripheral libraries which the related link has been commented by Kmath.1
try to use stm8's registers and configure any peripheral you wanna use step by step and bit by bit.
prior to these 2 aforementioned points, you definitely need to fully understand stm8 reference manual and its structure
after that, I really recommend you to go over example projects provided by st.com