Hi,
I am new to using ST boards and Keil. I have to print a statement when the accelerometer moves each time. How do I do it using the SPI interface in Keil? I am stuck in programming. Please help.
Thank you.
This has nothing specifically to do with Keil!
Padmashree said:I am new to using ST boards and Keil
So are you familiar with any other microcontroller(s) and/or any other IDEs ?
As noted, there is nothing here specific to Keil - it would be the same in any other IDE.
And the basic process of gaining familiarity & working with the STM32 is no different from getting up-to-speed with any other chip.
For general getting started:
http://www.keil.com/books/
blog.antronics.co.uk/.../
For getting started with Keil specifically, see:
http://www2.keil.com/mdk5/learn
For getting started with STM32, go to ST's site - they have loads of training resources, examples, demos, etc:
https://www.st.com/content/st_com/en/support/learning/stm32-education.html
https://www.st.com/content/st_com/en/support/learning/stm32-education/stm32-step-by-step.html
etc, ...
Padmashree said:I am stuck in programming
You need to start with the basics and work up
https://www.avrfreaks.net/comment/2079906#comment-2079906