Below is some basic ARM program for the STM32L152 Discovery Board (Cortex M3) without using any programming library. Here, we directly configure the registers using self defined macros. This will help understand the hardware architecture as well. This is the method how libraries are built. But for fast programming, programming libraries such as CMSIS is recommended. Refer STM32L152 Datasheet for register memory-map (~Chapter 5).
1. Blink LED
2. Timer2 programming
3. USART1 programming
4. Automated Power Tiller - A project with ISR and modular code
No comments:
Post a Comment
Comment will be published after moderation only. Do not advertise here.