MAX188CCAP-T Maxim Integrated, MAX188CCAP-T Datasheet - Page 21
![no-image](/images/no-image-200.jpg)
MAX188CCAP-T
Manufacturer Part Number
MAX188CCAP-T
Description
Analog to Digital Converters - ADC
Manufacturer
Maxim Integrated
Datasheet
1.MAX186CEWP-T.pdf
(24 pages)
Specifications of MAX188CCAP-T
Number Of Channels
8/4
Architecture
SAR
Conversion Rate
133 KSPs
Resolution
12 bit
Input Type
Single-Ended/Differential
Snr
Yes
Interface Type
4-Wire (SPI, Microwire, QSPI, TMS320)
Operating Supply Voltage
+/- 5 V, + 5 V
Maximum Operating Temperature
+ 70 C
Mounting Style
SMD/SMT
Package / Case
SSOP-20
Maximum Power Dissipation
640 mW
Minimum Operating Temperature
0 C
Number Of Converters
1
Voltage Reference
External
Figure 20. MAX186/MAX188 Assembly-Code Listing
*Title : MAX186.ASM
* Description :
*
*
*
*
* Roger J.A. Chen, Applications Engineer
* MAXIM Integrated Products
* November 20, 1992
*
******************************************************************************************************************************************************
MAIN:
MAINLOOP:
WAIT:
ENDPROGRAM:
INITQSPI:
;This routine sets up the QSPI microsequencer to operate on its own.
;The sequencer will read all eight channels of a MAX186/MAX188 each time
;it is triggered. The A/D converter results will be left in the
;receive data RAM. Each 16 bit receive data RAM location will
;have a leading zero, 12 bits of conversion result and three zeros.
;
;Receive RAM Bits 15 14 13 12 11 10 09 08 07 06 05 04 03 02 01 00
;A/D Result
***** Initialize the QSPI Registers ******
INCLUDE
INCLUDE
INCLUDE
ORG
INCLUDE ‘INITSYS.ASM’
INCLUDE ‘INITRAM.ASM’
JSR
JSR
LDAA
ANDA
BEQ
BRA MAINLOOP
PSHA
PSHB
LDAA
STAA
LDAA
STAA
LDAA
STAA
LDD
STD
LDD
STD
This is a shell program for using a stand-alone 68HC16 without any external memory. The internal 1K RAM
is put into bank $0F to maintain 68HC11 code compatibility. This program was written with software
provided in the Motorola 68HC16 Evaluation Kit.
INITQSPI
READ186
SPCR0
SPCR1
#$8008
#$0000
WAIT
$0200
QPDR
QPAR
QDDR
SPSR
#%01111000
#%01111011
#%01111110
#$80
‘EQUATES.ASM’ ;Equates for common reg addrs
‘ORG00000.ASM’ ;initialize reset vector
‘ORG00008.ASM’ ;initialize interrupt vectors
0 MSB
______________________________________________________________________________________
;idle state for PCS0-3 = high
;assign port D to be QSPI
;only MISO is an input
;master mode,16 bits/transfer,
;CPOL=CPHA=0,1MHz Ser Clock
;set delay between PCS0 and SCK,
;turn on internal SRAM at $10000
;start program after interrupt vectors
;set EK=F,XK=0,YK=0,ZK=0
;set sys clock at 16.78 MHz, COP off
;set stack (SK=1, SP=03FE)
;wait for QSPI to finish
LSB 0 0 0
Low-Power, 8-Channel,
Serial 12-Bit ADCs
21