| 전자부품 데이터시트 검색엔진 |
|
TIR2000 데이터시트(PDF) 22 Page - Texas Instruments |
|
|
|||||||||||||||||||||||||||||
TIR2000 데이터시트(HTML) 22 Page - Texas Instruments |
|
22 / 63 page ![]() 2–10 4. Program the mode-definition register (MDR) in order to: • Select the SHARP Ir mode • Enable/disable the low-power mode. For normal operation, the low-power mode is enabled. • Enable/disable the sleep mode. For normal operation, the sleep mode is disabled. 5. Program the TV configuration (TVCFG) register in order to: • Enable/disable the receiver internal demodulation. • Select the transmission carrier-frequency range. • Select the receiver carrier-frequency range. 2.1.4.1 SHARP IR Data-Transmission Mode The following register programming steps are required for data transmission in the SHARP IR mode: 1. Program the PLR to select the TX FIFO trigger level. 2. Reset the TX FIFO. This includes the following: • Write to the LCR register to set the LCR[7] bit to a 1. The 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 TX FIFO, non-DMA mode of operation, select the RX FIFO trigger level and to clear the TX FIFO. • Write the LCR register so that the LCR[7] bit = 0 (for normal operation). 3. Program the IER register to enable only the data-transmission related interrupts. • Enable the transmit threshold interrupt. • Enable the transmit underrun interrupt. • Disable the RX FIFO over threshold interrupt. • Disable the RX FIFO overrun error interrupt. 4. Program the transmit modulation carrier-frequency register (TVMDCFG) to select the desired carrier frequency and pulse duration. 5. Write a 1 to the ACREG[7] bit to enable data transmission. 6. Write a 1 to the MCR[3] bit to enable the selected IRQ channel. This completes the programming of registers and now the device is ready for data transmission. 2.1.4.2 SHARP Infrared Data-Receive Mode The following register programming steps are required for data receive in the SHARP infrared mode: 1. Program the infrared-configuration register (IRCFG). Select the SHARP infrared data-receive terminal to be either IRRVL (IRCFG[1] = 1) or IRRVH (IRCFG[1] = 0). 2. Program the RX demodulation configuration register (TVDMCFG). Select the desired incoming infrared data carrier frequency range. 3. Reset the RX FIFO. This includes: • Write to the LCR register to set the LCR[7] bit to a 1. The LCR[7] bit must be a 1 to be able to write to the FCR(5) bit. • Program the FCR to select 64-/16-bytes TX FIFO, non-DMA mode of operation, select the RX FIFO trigger level and to clear the TX FIFO. |
|
링크 URL |
| ALLDATASHEET 가 귀하에 도움이 되셨나요? [ DONATE ] |
Alldatasheet는? | 광고문의 | 운영자에게 연락하기 | 개인정보취급방침 | 링크 투 데이터시트 | 링크교환 | 제조사별 검색 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 |