This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Has any one tried this method?"programming without cmsis"

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?

Parents
  • Hello. almost everything can be done at the register level :) there will be a lot of scribblings :) first you need to connect a file with notations and register values, namely #include "stm32f10x.h" and then everything is as usual :)
    eg:
    timer 1 access to the register ARR will be as follows TIM1-> ARR = 130;
    port With pin 13 set to 1 so that GPIOC-> BSRR = GPIO_BSRR_BR13;
    but in general, look inside the stm32f10x.x and you will be happy :)

Reply
  • Hello. almost everything can be done at the register level :) there will be a lot of scribblings :) first you need to connect a file with notations and register values, namely #include "stm32f10x.h" and then everything is as usual :)
    eg:
    timer 1 access to the register ARR will be as follows TIM1-> ARR = 130;
    port With pin 13 set to 1 so that GPIOC-> BSRR = GPIO_BSRR_BR13;
    but in general, look inside the stm32f10x.x and you will be happy :)

Children