| поискавой системы для электроныых деталей |
|
LTC1090AC датащи(PDF) 17 Page - Linear Technology |
|
|
|||||||||||||||||||||||||||||
LTC1090AC датащи(HTML) 17 Page - Linear Technology |
|
17 / 28 page ![]() 17 LTC1090 1090fc Parallel Port Microprocessors When interfacing the LTC1090 to an MPU which has a parallel port, the serial signals are created on the port with software. Three MPU port lines are programmed to create the CS, SCLK and DIN signals for the LTC1090. A fourth port line reads the DOUT line. An example is made of the Intel 8051/8052/80C252 family. Intel 8051 To interface to the 8051, the LTC1090 is programmed for MSB first format and 10-bit word length. The 8051 gener- ates CS, SCLK and DIN on three port lines and reads DOUT on the fourth. Hardware and Software Interface to Intel 8051 Processor 8051 Code MNEMONIC DESCRIPTION MOV PI,#02H Initialize port 1 (bit 1 is made an input) CLR P1.3 SCLK goes low SETB P1.4 CS goes high CONTINUE: MOV A,#0DH DIN word for the LTC1090 is placed in ACC. CLR P1.4 CS goes low MOV R4,#08 Load counter NOP Delay for deglitcher LOOP: MOV C, P1.1 Read data bit into carry RLC A Rotate data bit into ACC MOV P1.2, C Output DIN bit to LTC1090 SETB P1.3 SCLK goes high CLR P1.3 SCLK goes low DJNZ R4, LOOP Next bit MOV R2, A Store MSBs in R2 MOV C, P1.1 Read data bit into carry CLR A CIear ACC RLC A Rotate data bit into ACC SETB P1.3 SCLK goes high CLR P1.3 SCLK goes low MOV C, P1.1 Read data bit into carry RRC A Rotate right into ACC RRC A Rotate right into ACC MOV R3, A Store LSBs in R3 SETB P1.3 SCLK goes high CLR P1.3 SCLK goes low SETB P1.4 CS goes high MOV R5,#07H Load counter DELAY: DJNZ R5, DELAY Delay for LTC1090 to perform conversion AJMP CONTINUE Repeat program APPLICATIO S I FOR ATIO Figure 5. Several LTC1090’s Sharing One 3-Wire Serial Interface LTC1090 ANALOG INPUTS DOUT DOUT from LTC1090 stored in 8051 RAM DIN SCLK ACLK CS P1.1 P1.2 P1.3 ALE P1.4 8051 B9 R2 R3 *B9 is MSB in unipolar or sign bit in bipolar MSB* LSB B8 B7 B6 B5 B4 B3 B2 B1 B0 000000 LTC1090 • AI14 LTC1090 3 3 21 0 CS 8 CHANNELS OUTPUT PORT SERIAL DATA 3-WIRE SERIAL INTERFACE TO OTHER PERIPHERALS OR LTC1090s MPU LTC1090 3 CS 8 CHANNELS LTC1090 3 CS 8 CHANNELS |
|
ссылки URL |
| Вашему бизинису помогли Аллдатащит? [ DONATE ] |
Что такое Аллдатащит | реклама | контакт | Конфиденциальность | Ссылка на техническое описание | обмен ссыками | поиск по производителю All Rights Reserved©Alldatasheet.com |
| Russian : Alldatasheetru.com | Korean : Alldatasheet.co.kr | Spanish : Alldatasheet.es | French : Alldatasheet.fr | Italian : Alldatasheetit.com Portuguese : Alldatasheetpt.com | Polish : Alldatasheet.pl | Vietnamese : Alldatasheet.vn Indian : Alldatasheet.in | Mexican : Alldatasheet.com.mx | British : Alldatasheet.co.uk | New Zealand : Alldatasheet.co.nz |
|
Family Site : ic2ic.com |
icmetro.com |