NSC ADC12130 Test Interface

with dot matrix LCD Display
 

Table of Contents [Toc]

Overview
Specifications
Project Resources
   Available Microchip PIC Assembler Source Code
 

Overview   [Toc] [Top]

The output data format can be chosen from 8 different configurations.
I finally arrived to get some status data out of the converter, I had so much trouble, because the data sheet is not very convenient to read and so I made a mistake. The bad representation of the data sheet is confusing: They describe all different types of the 1213x series together in one data sheet, you have to be careful to get the right commands for the 12130 type.
To get rid of crosstalk, separate every data wire from each other with an extra ground wire between them (ADC to PIC interface).
At the beginning I got really confusing results because of crosstalk due to the high frequency parts of the very short clock pulses.
I use now flat band wire, each data (and clock) connection is isolated with a ground connection.
The data from the AD converter is now pretty clean and consistent.
 

Specifications   [Toc] [Top]

National Semiconductors ADC12130 A/D Converter
Resolution: 12 bit + sign
Max. conversion clock frequency: 5 MHz
Max. serial clock frequency: 5 MHz
Min. conversion time: 8.8 us
Min. throughput time: 14 us
Integral linearity error: ± 2 LSB max
Single supply: 3.3 - 5.0 V  ± 10 %

Hint

Do not try to connect the NSC ADC12130 to the PIC SSP interface of some more sophisticated PICs, eg. PIC 16C74. I've spent a complete weekend trying to do that until I finally found out that the PIC SSP is not compatible with the one of the NSC ADC12130. The clock and the data specifications of the PIC does not match with the ones of the ADC, there's an incompatible "skew" between them.
 

Project Resources   [Toc] [Top]

Available Microchip PIC Assembler Source Code   [Toc] [Top]

Main File HEX Files
Download assembler source code:
nsc12130.asm
Download Hex File:
nsc12130.hex
The above program needs additional include files (modules) to get successfully assembled: m_bank.asm, m_wait.asm, m_lcd.asm

Schematic of the interface:  NSC_ADC12130.pdf    (12.8 KB)

 

Last updated: 27.04.2004

[Toc] [Top]


If you see only this page in your browser window,
click here
to get the entire site.