전자부품 데이터시트 검색엔진
  Korean  ▼
ALLDATASHEET.CO.KR

X  

TIR2000 데이터시트(PDF) 19 Page - Texas Instruments

부품명 TIR2000
상세설명  High-Speed Serial Infrared Controller With 64-Byte FIFO
PDF  63 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
제조업체  TI [Texas Instruments]
홈페이지  http://www.ti.com
Logo TI - Texas Instruments

TIR2000 데이터시트(HTML) 19 Page - Texas Instruments

Back Button TIR2000 Datasheet HTML 15Page - Texas Instruments TIR2000 Datasheet HTML 16Page - Texas Instruments TIR2000 Datasheet HTML 17Page - Texas Instruments TIR2000 Datasheet HTML 18Page - Texas Instruments TIR2000 Datasheet HTML 19Page - Texas Instruments TIR2000 Datasheet HTML 20Page - Texas Instruments TIR2000 Datasheet HTML 21Page - Texas Instruments TIR2000 Datasheet HTML 22Page - Texas Instruments TIR2000 Datasheet HTML 23Page - Texas Instruments Next Button
Zoom Inzoom in Zoom Outzoom out
 19 / 63 page
background image
2–7
When the CPU receives an interrupt, it reads the IIR to identify the source of the interrupt. When the source
of the interrupt is an IIR[1] bit, the CPU requires the following:
•
Disable the IER[1] bit.
•
Write data bytes (maximum number limited to the number selected by the TX FIFO trigger
level) to the TX FIFO.
•
Enable the IER[1] bit.
When the source of the interrupt is the IIR[5] bit, there has been an underrun while transmitting data and
the CPU needs to service the underrun. See paragraph 2.1.1.1.4
.
2.1.2.2
MIR Data Receive Mode
The following register programming steps are required to receive data in MIR mode:
1.
Program the mode definition register (MDR) in order to:
•
Select the MIR mode
•
Disable the low power mode
•
Disable the sleep mode
2.
Program the RXFLL and RXFLH registers for maximum receive-frame length value. The
maximum length of a frame is 2048 bytes. The RXFLL register stores the lower eight bits and the
RXFLH register stores the remaining upper bits. When the intended maximum receive-frame
length is n, program the RXFLH and RXFLL registers to be n + 3.
3.
Reset the RX FIFO. This includes:
•
Write to the LCR register so that the LCR[7] bit is a 1. LCR[7] bit must be a 1 to be able to write
to the FCR[5] bit.
•
Program the FCR register to select 64-/16- bytes of the RX FIFO, the non-DMA/DMA mode
of operation, select the RX FIFO trigger level and to clear the RX FIFO.
•
Write the LCR register to set the LCR[7] bit to a 0 for normal operation.
4.
Program the IER register to enable only the receive related interrupts and disable the remaining
interrupts. Enable the following:
•
RX threshold interrupt (IER[0] bit)
•
The last byte from the RX FIFO interrupt (IER[2] bit)
•
The RX FIFO overrun interrupt (IER[3] bit)
•
The received end of the frame interrupt (IER[7] bit)
5.
Write a 1 to the ACREG[6] bit to enable data receive.
6.
Write a 1 to the MCR[3] bit to enable the selected IRQ channel.
This completes the programming of the registers for data receive and now the device is ready to receive
data.When the CPU is interrupted, it reads the IIR to identify the source of the interrupt. When the source
of the interrupt is the IIR[7] bit, the CPU goes to the byte mode. See paragragh 2.1.1.2.2. The CRC value
is the last two bytes instead of the last four bytes as in the FIR data-transmission mode.
When the source of the interrupt is the IIR[0] bit and not the IIR[7] bit, the CPU goes into the threshold mode.
See paragraph 2.1.1.2.1. If the source of the interrupt is the IIR[4] bit, there has been an overrun while
receiving data and the CPU will need to service the overrun. See paragraph 2.1.1.2.3.



Html Pages

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63


데이터시트 다운로드

Go To PDF Page


링크 URL



ALLDATASHEET 가 귀하에 도움이 되셨나요?  [ DONATE ] 

Alldatasheet는?   |   광고문의   |   운영자에게 연락하기   |   개인정보취급방침   |   링크 투 데이터시트    |   링크교환   |   제조사별 검색
All Rights Reserved©Alldatasheet.com


Mirror Sites
English : Alldatasheet.com  |   English : Alldatasheet.net  |   Chinese : Alldatasheetcn.com  |   German : Alldatasheetde.com  |   Japanese : Alldatasheet.jp
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