@Md Mubdiul Hasan wrote:
Kindly suggest materials/ guidelines/ books/ tutorials that might help me to write coding/ debugging and finding root cause of failure.
98% of this is not specific to the particular microcontroller - these are general, transferrable skills.
Most of it is down to being able to analyse a problem and define a solution.
But here are some links to ST's own learning & reference materials
https://community.st.com/t5/stm32cubeide-mcus/how-to-start-with-stm32/m-p/185269/highlight/true#M8564
https://community.st.com/t5/feedback-forum/1st-time-in-the-forum-hello-to-all/m-p/657526/highlight/true#M1205
https://community.st.com/t5/learning/ct-p/Learning
ST's YouTube channel: https://www.youtube.com/results?search_query=stmicroelectronics
@Md Mubdiul Hasan wrote:
Kindly send link only for STM32.
You can't be so narrow. You need the general topics like the Cortex-M0 architecture, general electronics, and general C programming.
For understanding the Cortex-M architectures, Joseph Yiu's Definitive Guide books are required reading:
https://www.amazon.co.uk/Books-Joseph-Yiu/s?rh=n%3A266239%2Cp_27%3AJoseph+Yiu
For understanding the STM32, the device Datasheet and Reference Manual are key documents - you will find these and much more on the Product Page for the chip in question.
Some general tips on How To Debug:
https://community.st.com/t5/community-guidelines/how-to-write-your-question-to-maximize-your-chances-to-find-a/tac-p/706966/highlight/true#M49
Specifically on debugging Cortex-M Hard Faults:
https://community.st.com/t5/community-guidelines/how-to-write-your-question-to-maximize-your-chances-to-find-a/tac-p/708193/highlight/true#M51
Some learning & reference materials for C programming:
https://blog.antronics.co.uk/2011/08/08/so-youre-thinking-of-starting-with-c/
Some more learning & reference materials applicable to embedded microcontrollers:
https://www.avrfreaks.net/s/topic/a5C3l000000UYGFEA4/t145493?comment=P-1392529
Another important skill is How To Read Compiler Error Messages:
https://community.st.com/t5/stm32cubeide-mcus/type-missing-binary-operator-before-token-quot-quot/m-p/719446/highlight/true#M30606
#GettingStarted