Description
Significant changes within the third edition come with up to date serial communication description (UART, SPI, and I2C), new serial communication examples, incorporation of GNU gcc compiler, low power modes, modification of example programs from STM32L1 (Cortex-M3) to STM32L4 (Cortex-M4).
The book introduces basic programming of ARM Cortex-M cores in assembly and C on the register level, and the basics of embedded system design. It presents basic concepts such as knowledge representations (integer, fixed-point, floating-point), assembly instructions, stack, and implementing basic controls and purposes of C language on the assembly level. It covers advanced topics such as interrupts, mixing C and assembly, direct memory get admission to (DMA), system timers (SysTick), multi-tasking, SIMD instructions for digital signal processing (DSP), and instruction encoding/decoding. The book also gives detailed examples of interfacing peripherals, such as general purpose I/O (GPIO), LCD motive force, keypad interaction, stepper motor regulate, PWM output, timer input capture, DAC, ADC, real-time clock (RTC), and serial communication (USART, I2C, SPI, and USB).