HPB Flagship 5803 E Northwest HWY Dallas, TX 75231
Store Hours:
Monday 9 AM -10 PM
Tuesday 9 AM -10 PM
Wednesday 9 AM -10 PM
Thursday 9 AM -10 PM
Friday 9 AM -10 PM
Saturday 9 AM -10 PM
Sunday 9 AM -10 PM
HPB Preston Village 13388 Preston Rd Dallas, TX 75240
Store Hours:
Monday 10 AM -8 PM
Tuesday 10 AM -8 PM
Wednesday 10 AM -8 PM
Thursday 10 AM -8 PM
Friday 10 AM -8 PM
Saturday 10 AM -8 PM
Sunday 10 AM -8 PM
HPB Richardson Heights 100 S Central Expwy Richardson, TX 75080
Store Hours:
Monday 10 AM -8 PM
Tuesday 10 AM -8 PM
Wednesday 10 AM -8 PM
Thursday 10 AM -8 PM
Friday 10 AM -8 PM
Saturday 10 AM -8 PM
Sunday 10 AM -8 PM
HPB Garland 3085 N George Bush Fwy Garland, TX 75040
Store Hours:
Monday 10 AM -8 PM
Tuesday 10 AM -8 PM
Wednesday 10 AM -8 PM
Thursday 10 AM -8 PM
Friday 10 AM -8 PM
Saturday 10 AM -8 PM
Sunday 10 AM -8 PM
HPB Plano 2440 Preston Rd Plano, TX 75093
Store Hours:
Monday 10 AM -8 PM
Tuesday 10 AM -8 PM
Wednesday 10 AM -8 PM
Thursday 10 AM -8 PM
Friday 10 AM -8 PM
Saturday 10 AM -8 PM
Sunday 10 AM -8 PM
HPB Las Colinas 7631 N MacArthur Blvd Irving, TX 75063
Store Hours:
Monday 10 AM -8 PM
Tuesday 10 AM -8 PM
Wednesday 10 AM -8 PM
Thursday 10 AM -8 PM
Friday 10 AM -8 PM
Saturday 10 AM -8 PM
Sunday 10 AM -8 PM
HPB Lewisville 420 E FM 3040 Lewisville, TX 75067
Store Hours:
Monday 10 AM -8 PM
Tuesday 10 AM -8 PM
Wednesday 10 AM -8 PM
Thursday 10 AM -8 PM
Friday 10 AM -8 PM
Saturday 10 AM -8 PM
Sunday 10 AM -8 PM
HPB Frisco 3221 Preston Rd Frisco, TX 75034
Store Hours:
Monday 10 AM -8 PM
Tuesday 10 AM -8 PM
Wednesday 10 AM -8 PM
Thursday 10 AM -8 PM
Friday 10 AM -8 PM
Saturday 10 AM -8 PM
Sunday 10 AM -8 PM
HPB Rockwall 959 E I-30 Rockwall, TX 75087
Store Hours:
Monday 10 AM -8 PM
Tuesday 10 AM -8 PM
Wednesday 10 AM -8 PM
Thursday 10 AM -8 PM
Friday 10 AM -8 PM
Saturday 10 AM -8 PM
Sunday 10 AM -8 PM
HPB McKinney 3190 S Central Expwy McKinney, TX 75070
Store Hours:
Monday 10 AM -8 PM
Tuesday 10 AM -8 PM
Wednesday 10 AM -8 PM
Thursday 10 AM -8 PM
Friday 10 AM -8 PM
Saturday 10 AM -8 PM
Sunday 10 AM -8 PM
HPB Bedford 713 Harwood Rd Bedford, TX 76021
Store Hours:
Monday 10 AM -8 PM
Tuesday 10 AM -8 PM
Wednesday 10 AM -8 PM
Thursday 10 AM -8 PM
Friday 10 AM -8 PM
Saturday 10 AM -8 PM
Sunday 10 AM -8 PM
HPB South Arlington 2211 S Cooper St Arlington, TX 76013
Store Hours:
Monday 10 AM -8 PM
Tuesday 10 AM -8 PM
Wednesday 10 AM -8 PM
Thursday 10 AM -8 PM
Friday 10 AM -8 PM
Saturday 10 AM -8 PM
Sunday 10 AM -8 PM
HPB Watauga 7620 Denton Hwy Watauga, TX 76148
Store Hours:
Monday 10 AM -8 PM
Tuesday 10 AM -8 PM
Wednesday 10 AM -8 PM
Thursday 10 AM -8 PM
Friday 10 AM -8 PM
Saturday 10 AM -8 PM
Sunday 10 AM -8 PM
HPB Mansfield 1551 Hwy 287 N Mansfield, TX 76063
Store Hours:
Monday 10 AM -8 PM
Tuesday 10 AM -8 PM
Wednesday 10 AM -8 PM
Thursday 10 AM -8 PM
Friday 10 AM -8 PM
Saturday 10 AM -8 PM
Sunday 10 AM -8 PM
Microcontrollers are embedded into larger systems to provide benefits such as better performance, more features, better efficiency, lower costs and better dependability. This textbook introduces students to creating microcontroller-based embedded systems featuring an ARM Cortex-M CPU core.
Chapter 1 introduces students to the concepts of MCU-based embedded systems, and how they differ from general-purpose computers. It then introduces the ARM Cortex-M0+ CPU, the Kinetis KL25Z MCU, and the low cost FRDM-KL25Z MCU development board.
Chapter 2 presents the general purpose I/O peripheral to provide an early, hands-on experience with reading switches and lighting LEDs using C code. It also introduces the CMSIS hardware abstraction layer, which simplifies software access to peripherals.
Chapter 3 introduces multitasking on the CPU, with the goals of improving responsiveness and software modularity while reducing CPU overhead. The interplay of interrupts, peripherals and schedulers (both cooperative and preemptive) is examined.
Chapter 4 presents the ARM Cortex-M0+ processor core, including organization, registers, memory, and instruction set. It then discusses interrupts and exceptions, including CPU response and hardware configuration. Designing software for a system with interrupts is discussed, including program design (including partitioning work), interrupt configuration, writing handlers in C, and sharing data safely given preemption.
Chapter 5 first gives an overview of tool-chain which translates a program from C source code to executable object code. It then shows side-by-side the source code and the object code the tool-chain has generated to implement it. Topics covered include functions, arguments, return values, activation records, exception handlers, control flow constructs for loops and selection, memory allocation and use, and accessing data in memory.
Chapter 6 presents analog interfacing, starting with theory and ending with practical implementations. Quantization and sampling are presented as a foundation for digital to analog conversion, and analog to digital conversion. The DAC, ADC and analog comparator peripherals are presented and used.
Chapter 7 presents timer peripherals and their use for generating a periodic interrupt or a pulse-width modulated signal, or for measuring elapsed time or a signal's frequency. Watchdog timers, used to detect and reset an out-of-control program, are also discussed. The SysTick, PIT, TPM and COP timers are examined.
Chapter 8 discusses serial communications, starting with the fundamentals of data serialization, framing, error detection, media access control and addressing. Software queues are introduced to show how to buffer data between communication ISRs and other parts of the program. Three protocols and their supporting peripherals are investigated next: SPI, asynchronous serial (UART) and I2C. UART communication is demonstrated using the FRDM-KL25Z's debug MCU as a serial port bridge over USB to the PC. I2C communication is demonstrated using the FRDM-KL25Z's built-in 3 axis accelerometer with I2C interface.
Chapter 9 introduces the direct memory access peripheral and its ability to transfer data autonomously, offloading work from the CPU and offering dramatically improved performance. Examples include using DMA for bulk data copying, and for DAC-based analog waveform generation with precise timing.
An appendix covers how to measure the power and energy use on the FRDM-KL25Z board, including disconnecting the debug MCU to reduce power. Energy measurement using an ultracapacitor is also presented.
For use in ECE, EE, and CS departments.