Hey guys. I'm trying to lean how to work with stm32f2 series of microcontrollers.I just was very successful in lpc1768 and i programmed every thing i wanted using the user manual and the registers.I just built my project then added the start up file and just programming it by programming the registers.But in stm series i did this and it did'nt work. Has any one have experience on programming this series without using cmsis?
The chip neither knows nor cares how you write your source code:
- with/without CMSIS;
- with/without HAL;
- with/without SPL;
- C / Assembler / whatever.
If you want to write at the register level, then it's up to you to carefully study all the documentation and ensure that you are using all the registers correctly, in the correct order, etc, ...
If it's not working, then you're just going to have to get down and debug it to find what you've done wrong.
Is reference manual enough?
The Reference Manual describes the ST-specific bits.
You will also need to understand the standard ARM Core bits.
"programming without cmsis" as Andy said : The chip neither knows nor cares how you write your source code: You can cook food on any heat source I have a cookstove but could, of course, go outside and build a fire to cook on.
Thank yo guys for responses.