The HCS12 9S12: An Introduction to Software and Hardware by Han-Way Huang

By Han-Way Huang

This new e-book presents a complete resolution for studying and educating embedded process layout in keeping with the Freescale HCS12/9S12 microcontroller. Readers will study step by step how one can application the HCS12 utilizing either meeting and C languages, in addition to tips on how to use such improvement instruments as CodeWarrior, ImageCraft ICC12, MiniIDE, GNU C, and EGNU IDE. Supportive examples essentially illustrate all purposes of the HCS12 peripheral services, together with parallel port, timer features, PWM, UART port, SPI, I2C, CAN, on-chip flash and EEPROM programming, exterior reminiscence growth, and extra. New sections on C programming sort, software program improvement method, and software program reuse were additional in theis revision. A back-of-book CD includes the resource code for all examples within the ebook, numerous teams of reusable software services, and complimentary freeware improvement instruments for better studying.

Show description

Read or Download The HCS12 9S12: An Introduction to Software and Hardware Interfacing PDF

Best control systems books

Modeling and Control of Complex Physical Systems: The Port-Hamiltonian Approach

Power trade is a huge beginning of the dynamics of actual platforms, and, for that reason, within the examine of complicated multi-domain platforms, methodologies that explicitly describe the topology of strength exchanges are instrumental in structuring the modeling and the computation of the system's dynamics and its keep an eye on.

Intelligent Diagnosis and Prognosis of Industrial Networked Systems (Automation and Control Engineering)

In an period of in depth pageant the place plant working efficiencies has to be maximized, downtime as a result of equipment failure has turn into extra high priced. to chop working expenses and elevate sales, industries have an pressing have to expect fault development and ultimate lifespan of commercial machines, methods, and platforms.

Fault Detection and Diagnosis in Engineering Systems

That includes a model-based method of fault detection and prognosis in engineering platforms, this e-book comprises up to date, useful info on fighting product deterioration, functionality degradation and significant equipment harm. ;College or collage bookstores might order 5 or extra copies at a different scholar fee.

Additional resources for The HCS12 9S12: An Introduction to Software and Hardware Interfacing

Example text

Most arithmetic functions are performed on these two registers. These two accumulators can also be concatenated to form a single, 16-bit accumulator referred to as the D accumulator. 10 ■ HCS12 CPU registers Index registers X and Y. These two registers are used mainly in forming operand addresses during the instruction execution process. However, they are also used in several arithmetic operations. Stack pointer (SP). A stack is a last-in-first-out data structure. 11). The stack grows toward lower addresses.

6 Read-Only Memory ROM is nonvolatile. When power is removed from ROM and then reapplied, the original data will still be there. As its name implies, ROM data can only be read. If the processor attempts to write data to a ROM location, ROM will not accept the data, and the data in the addressed ROM memory location will not be changed. However, this statement is not completely true. For some ROM technologies (EEPROM and flash memory), the user program can still write data into the memory by following a special procedure prescribed by the manufacturer.

The memory organization of a memory chip or a memory system is often indicated by m 3 n; where m specifies the number of memory locations in the memory chip or memory system and n specifies the number of bits in each location. Every memory location has two components: contents and address. A memory location can be used to store data, instruction, and the status of peripheral devices. The size of memory is measured in bytes; a byte consists of 8 bits. 2 ■ Block diagram of a simplified memory system called a nibble.

Download PDF sample

Rated 4.39 of 5 – based on 3 votes