0Microcontroller Based DataAcquisition Using the TLC254312-Bit Serial-Out ADCSLAA012July 1995Printed on Recycled Paper
6TLC2543 TO TMS370 Microcontroller InterfaceMicrocontroller FeaturesWithin the family of TMS370 microcontrollers there are several versions which cont
7The user can put channel select and ADC mode control data into the holding register within the microcontroller, via the8-bit wide port A bidirectiona
8List 1 (Continued) LINE LOC OBJ SOURCE 61 402b ’00d3 JMP START 62
9List 1 (Continued) LINE LOC OBJ SOURCE 129 409c f9 RETURN RTS 130 ; 131
10VP0610VP0610VP0610VP0610VCCI/O CLOCKDATA INPUTDATA OUTCSVSSAIN0AIN1AIN2AIN3AIN4AIN5AIN6AIN7AIN8AIN9AIN10TLC2543VCCSPICLKSPISOMID7VSSTMS370A0A1A2A3A4
11TLC2543 to H8/325 Microcontroller InterfaceMicrocontroller FeaturesThe individual members of the H8 family of microcontrollers can be differentiated
12List 2 LINE LOC OBJ SOURCE 1 ;* * * * * * * * * * * * * * * * * * * * * 2 ;*
13List 2 (Continued) LINE LOC OBJ SOURCE 68 1052 47FA BEQ TESTB61 ;If not empty, repeat check 69 1
14List 2 (Continued) LINE LOC OBJ SOURCE 136 10C4 120F ROTXL R7L ;* * 137 10
15TLC2543 to MC68HC11 Microcontroller InterfaceMicrocontroller FeaturesAll members of the MC68HC11 family of microcontrollers contain an SPI. As is th
IMPORTANT NOTICETexas Instruments (TI) reserves the right to make changes to its products orto discontinue any semiconductor product or service withou
16List 3 LINE LOC OBJ SOURCE 1 A * * * * * * * * * * * * * * * * * * * * * 2 A *
17List 3 (Continued) LINE LOC OBJ SOURCE 69 A * If MSB/LSB–first bit = 1 go to MSB 70 A F849 39 RETURN RTS
18TLC2543 to 80C51 Microcontroller InterfaceMicrocontroller FeaturesThe 80C51 microcontroller family does not provide an SPI or equivalent facility. I
19The second byte of data is tranferred between the TLC2543 and the 80C51 by repeating the entire sequence of eight setsof data transfer and clock pul
20List 4 (Continued) LINE LOC OBJ SOURCE0146 A4 58 MUL AB0147 2430 59 ADD A,#030H ;Add
21Analog ConsiderationsPower Supply DecouplingCare should be taken with the design of the printed circuit board when using 12-bit devices such as the
22Appendix AReferencesH8/325 Hardware User’s Manual HitachiH8/300 Series Programming Manual HitachiEmbedded Microcontrollers and Processors Vol 1 Inte
iiiContentsTitle PageIntroduction 1. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
ivList of IllustrationsFigure Title Page1. TLC2543 Block Diagram 1. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
1IntroductionScope of this Application ReportThis application report describes how to construct 12-bit data acquisition systems using the TLC2543 seri
2Figure 2 shows the timing for the method which uses 16 clock cycles for each conversion and data transfer cycle andwhich inserts CS between each of t
3Serial Peripheral Interface (SPI)The fastest and most efficient method of implementing a data transfer between the TLC2543 and a microcontroller isto
4B7 B6 B5 B4 B3 B2 B1 B7 B6 B5 B4 B3 B2 B1B0 B0A14 A13 A12 A11 A10 A9 A8 A6 A5 A4 A3A7A15 A2 A1 A0tconvI/OCLOCKDATAINDATAOUTCSEOC( = 0) ( = 0)( = 0) (
5Read Channel/ModeData Into ChosenRegisterMap Channel NumbersTo RegistersOr RAMPut DestinationAddress Into ChosenRegisterReturnDATAINStore MSBYTE In E
Commentaires sur ces manuels