ARM-Based Microcontroller Multitasking Projects: Using the FreeRTOS Multitasking Kernel
Ibrahim, Dogan
Most microcontroller-based applications nowadays are large, complex, and may require several tasks to share the MCU in multitasking applications. Most modern high-speed microcontrollers support multitasking kernels with sophisticated scheduling algorithms so that many complex tasks can be executed on a priority basis. ARM-based Microcontroller Multitasking Projects: Using the FreeRTOS multitasking kernel explains how to multitask ARM Cortex microcontrollers using the FreeRTOS multitasking kernel. The book describes in detail the features of multitasking operating systems such as scheduling, priorities, mailboxes, event flags, semaphores etc. before going onto present the highly popular FreeRTOS multitasking kernel. Practical working real-time projects using the highly popular Clicker 2 for STM32 development board (which can easily be transferred to other boards) together with FreeRTOS are an essential feature of this book. Projects include: LEDs flashing at different rates; Refreshing of 7-segment LEDs; Mobile robot where different sensors are controlled by different tasks; Multiple servo motors being controlled independently; Multitasking IoT project; Temperature controller with independent keyboard entry; Random number generator with 3 tasks: live, generator, display; home alarm system; car park management system, and many more. Explains the basic concepts of multitaskingDemonstrates how to create small multitasking programsExplains how to install and use the FreeRTOS on an ARM Cortex processorPresents structured real-world projects that enables the reader to create their own INDICE: 1. Microcomputer systems 2. Architecture of arm microcontrollers 3. Arm cortex microcontroller development boards 4. Clicker 2 for STM32 development board 5. Programming the arm microcontrollers 6. Programming using the mikroc pro for arm 7. Introduction to multitasking 8. Introduction to freertos 9. Using the freertos functions 10. Queue management 11. Semaphores and mutexes 12. Event groups 13. Software timer 14. Some example projects 15. The idle task and idle task hook 16. Task notification 17. Critical sections 18. Interrupts in cortex-M4 based microcontrollers 19. Using the freertos API function calls from an ISR 20. Car park management system 21. Time in different cities 22. Mobile robot project - the buggy
- ISBN: 978-0-12-821227-1
- Editorial: Newnes
- Encuadernacion: Rústica
- Páginas: 325
- Fecha Publicación: 01/06/2020
- Nº Volúmenes: 1
- Idioma: Inglés