AN-929| Application Note

AN-929 PDF

AN-929| Application Note


Microcontroller Interface to the ADC12038 Families

Microcontroller Interface to the ADC12038 Families

National Semiconductor Application Note 929 Emmy Denton February 1994

Table of Contents
1.0 General Overview ................................................................................................................................... 2 1.1 THE SERIAL INTERFACE ................................................................................................................... 2 1.2 THE SERIAL OUTPUT WORD FORMAT ............................................................................................ 4 1.3 SELECTING OUTPUT WORD FORMAT AND MODE ........................................................................ 5 1.4 MULTIPLEXER ADDRESSING ............................................................................................................ 7 1.5 STATUS REGISTER DEFINITION ...................................................................................................... 8 1.6 PROGRAMMING PROCEDURE ......................................................................................................... 8 2.0 General Flow Chart for a Microcontroller Interface ................
.............................................................. 10 3.0 Examples of Microcontroller Hardware Implementations ..................................................................... 11 3.1 THE 68HC11 ...................................................................................................................................... 11 3.2 NATIONAL'S HPC AND COP ............................................................................................................ 11 3.3 THE 8051 ........................................................................................................................................... 11 4.0 68HC11 SPI Interface ........................................................................................................................... 11 4.1 68HC11 SPI PORT AND REGISTER INITIALIZATION FOR THE ADC12038 ................................. 11 4.1.1 DDRD ..................................................................................................................
......................... 12 4.1.2 SPCR ............................................................................................................................................ 12 4.2 68HC11 Program Listing .................................................................................................................... 14 5.0 References ............................................................................................................................................ 16

AN-929

COPSTM, HPCTM and MICROWIRETM are trademarks of National Semiconductor Corporation.

2002 National Semiconductor Corporation

AN011973

www.national.com


AN-929 Application Note national Download PDF

Add this permalink to your bookmarks for future download of AN-929 ApplicationNote

Permalink: http://application.emcelettronica.com/national/AN-929

PDF AN-929 APPLICATION NOTE