Embedded systems interfacing for engineers using the Freescale HCS08 microcontroller
Subtitle: Digital and analog hardware interfacing
By: Douglas H. Summerville
Series: Synthesis lectures on digital circuits and systems -- # 22
Publisher: Morgan & Claypool Publishers
Published: 2009
Place of publication: San Rafael, Calif. (1537 Fourth Street, San Rafael, CA 94901 USA)
Language: eng
Format: [electronic resource] /
ISBN-13: 9781608450091; 9781608450084
Subjects: Embedded computer systems; Programming; Computer interfaces; Microcontrollers
Other titles: Digital and analog hardware interfacing.; Synthesis digital library of engineering and computer science.
Description: The vast majority of computers in use today are encapsulated within other systems. In contrast to general-purpose computers that run an endless selection of software, these embedded computers are often programmed for a very specific, low-level and often mundane purpose. Low-end microcontrollers, costing as little as one dollar, are often employed by engineers in designs that utilize only a small fraction of the processing capability of the device because it is either more cost-effective than selecting an application-specific part or because programmability offers custom functionality not otherwise available. Embedded Systems Interfacing for Engineers using the Freescale HCS08 Microcontroller is a two-part book intended to provide an introduction to hardware and software interfacing for engineers.^

Building from a comprehensive introduction of fundamental computing concepts, the book suitable for a first course in computer organization for electrical or computer engineering students with a minimal background in digital logic and programming. In addition, this book can be valuable as a reference for engineers new to the Freescale HCS08 family of microcontrollers. The HCS08 processor architecture used in the book is relatively simple to learn, powerful enough to apply towards a wide-range of interfacing tasks, and accommodates breadboard prototyping in a laboratory using freely available and low-cost tools. In Part II: Digital and Analog Hardware Interfacing, hardware and software interfacing concepts are introduced. The emphasis of this work is on good hardware and software engineering design principles.^

Device drivers are developed illustrating the use of general-purpose and special-purpose digital I/O interfaces, analog interfaces, serial interfaces and real-time I/O processing.The hardware side of each interface is described and electrical specifications and related issues are considered. The first part of the book provides the programming skills necessary to implement the software in this part.
Notes: Part of: Synthesis digital library of engineering and computer science.

Title from PDF t.p. (viewed on August 9, 2009).

Series from website.

Includes bibliographical references.

Abstract freely available; full-text restricted to subscribers or individual document purchasers.

Also available in print.

Mode of access: World Wide Web.

System requirements: Adobe Acrobat reader.
Table of contents: title: Introduction to the MC9S08QG4/8 hardware; title: Input/output basics; title: Pin diagrams; title: Memory-mapped I/O; title: I/O synchronization; title: Device drivers; title: A MC9S08QG4/8 skeleton program; title: System configuration registers; title: Computer operating properly (COP) watchdog; title: Interrupt vector table; title: HCS08 modes of operation; title: Program skeleton for the MC9S08QG4/8; title: General-purpose digital I/O; title: General purpose I/O on the MC9S08QG4/8; title: Electrical specifications; title: Switch input interface; title: Switch bounce; title: LED indicators; title: Emulation of open-drain and tri-state outputs; title: Interrupt synchronization; title: HCS08 CPU interrupt processing; title: IRQ interrupt pin; title: Keyboard interrupt; title: Chapter problems; title: Analog input; title: Analog to digital conversion; title: ADC basics; title: Converting ADC output to fixed-point; title: ADC on the MC9S08QG4/8; title: MC9S08QG4/8 ADC I/O interface registers; title: Driver examples for the MC9S08QG4/8 ADC; title: Basic 8-bit single-pin polled I/O driver; title: ^; title: Basic 10-Bit Single Conversion with Software Selectable Pin; title: Interrupt-Based 8-Bit Driver; title: Multiple ADC pin scanning using interrupt-based driver; title: Bit polled driver with compare function; title: Bit interrupt-based driver with compare function; title: Bit interrupt-based driver with hysteresis; title: Analog comparator; title: Analog comparator on the MC9S08QG4/8; title: Analog comparator driver examples; title: DC voltage monitoring; title: Analog signal to digital waveform generation; title: Hardware switch debouncing using the analog comparator; title: Chapter problems; title: Serial communication; title: Serial communication interface; title: MC9S08QG8 SCI; title: SCI driver examples; title: Polled-I/O full-duplex SCI driver; title: Interrupt-based ring-buffered SCI simplex (receive-only) driver; title: Interrupt-based ring-buffered SCI simplex (transmit) driver; title: Serial peripheral interface (SPI); title: MC9S08GQ8 SPI; title: MC9S08QG8 SPI driver examples; title: Full-duplex 8-bit polled-I/O SPI driver; title: Simplex 16-bit polled-I/O SPI driver; title: ^; title: ^^; title: Inter-integrated circuit (IIC); title: MC9S08QG8 IIC; title: IIC driver examples; title: Generic IIC driver for devices with simple read/write behavior; title: Driver for an Atmel AT24C02B EEPROM interfaced via the IIC bus; title: Chapter problems; title: Real-time I/O processing; title: Real-time interrupt; title: MC9S08QG4/8 real-time interrupt module; title: Periodic system wakeup using the real time interrupt; title: Modulo timer module (MTIM); title: Generating delays with the MTIM; title: Non-blocking software delays using the MTIM; title: Pulse width modulation; title: MC9S08QG4/8 TPM; title: TPM variable duty cycle driver; title: Chapter problems.; title: ^^