Embedded systems design with the Atmel AVR microcontroller. Part I

This textbook provides practicing scientists and engineers an advanced treatment of the Atmel AVR microcontroller. This book is intended as a follow on to a previously published book, titled "Atmel AVR Microcontroller Primer: Programming and Interfacing." Some of the content from this earl...

Full description

Bibliographic Details
Main Author: Barrett, Steven F. 1957-
Format: Electronic
Language:English
Published: San Rafael, Calif. (1537 Fourth Street, San Rafael, CA 94901 USA) : Morgan & Claypool Publishers, c2010.
Series:Synthesis lectures on digital circuits and systems (Online), # 24.
Subjects:
Online Access:Abstract with links to full text
Table of Contents:
  • 1. Embedded systems design
  • What is an embedded system
  • Embedded system design process
  • Problem description
  • Background research
  • Pre-design
  • Design
  • Implement prototype
  • Preliminary testing
  • Complete and accurate documentation
  • Example: kinesiology and health laboratory instrumentation
  • Summary
  • Chapter problems
  • References
  • 2. Atmel AVR architecture overview
  • ATmega164 architecture overview
  • Reduced instruction set computer, RISC
  • Assembly language instruction set
  • C operator size
  • Bit twiddling
  • ATmega164 architecture overview
  • Nonvolatile and data memories
  • In-system programmable flash EEPROM
  • Byte-addressable EEPROM
  • Accessing byte-addressable EEPROM example
  • Static random access memory (SRAM)
  • Programmable lock bits
  • Port system
  • Peripheral features, internal subsystems
  • Time base
  • Timing subsystem
  • Pulsewidth modulation channels
  • Serial communications
  • Analog to digital converter, ADC
  • Analog comparator
  • Interrupts
  • Physical and operating parameters
  • Packaging
  • Power consumption
  • Speed grades
  • Choosing a microcontroller
  • Application: ATmega164 Testbench
  • Hardware configuration
  • Software configuration
  • Programming the ATmega164
  • Programming procedure
  • In-system programming (ISP)
  • Software portability
  • Summary
  • Chapter problems
  • References.
  • 3. Serial communication subsystem
  • Serial communications
  • ASCII
  • Serial USART
  • System overview
  • System operation and programming
  • Full duplex USART-based microcontroller link
  • USART-based radio frequency microcontroller link
  • USART-to-PC
  • USART serial liquid crystal display
  • Serial peripheral interface, SPI
  • Extending the Atmel AVR features via the SPI
  • Networked microcontrollers
  • Two-wire serial interface
  • Controller area network (CAN)
  • Zigbee wireless IEEE 802.15.4 interface
  • Summary
  • Chapter problems
  • References
  • 4. Analog to digital conversion (ADC)
  • Sampling, quantization and encoding
  • Resolution and data rate
  • Analog-to-digital conversion (ADC) process
  • Transducer interface design (TID) circuit
  • Operational amplifiers
  • ADC conversion technologies
  • Successive-approximation
  • The Atmel ATmega164 ADC system
  • Block diagram
  • Registers
  • Programming the ADC
  • Examples
  • ADC rain gage indicator
  • ADC rain gage indicator with SPI
  • Transmitting ADC values via the USART or SPI
  • One-bit ADC, threshold detector
  • Digital-to-analog conversion (DAC)
  • Octal channel, 8-bit DAC via the SPI
  • Summary
  • Chapter problems
  • References
  • 5. Interrupt subsystem
  • Interrupt theory
  • ATmega164 interrupt system
  • Programming an interrupt system
  • Application
  • External interrupts
  • Internal interrupt
  • Foreground and background processing
  • Interrupt examples
  • Real time clock
  • Interrupt driven USART
  • Summary
  • Chapter problems
  • References
  • A. ATmega164 register set
  • B. ATmega164 header file
  • Author's biography
  • Index.