| Electronic Components Datasheet Search |
|
AD7877 Datasheet(PDF) 26 Page - Analog Devices |
|
|
|||||||||||||||||||||||||||||
AD7877 Datasheet(HTML) 26 Page - Analog Devices |
|
26 / 46 page ![]() Data Sheet AD7877 If fDCLK = 20 MHz (maximum), then tDCLK = 50 ns. t2 = 512 µs with timer set to 1024 (TMR bits = 01b) tWRITE = tREAD = 16 CLK period × tDCLK = 800 ns t3 = maximum time taken to write read address and read 11 registers = 800 ns (write) + [800 ns (read) × 11] = 9.6 µs. t4MAX = t2 − t3 = 512 µs − 9.6 µs = 502.4 µs Pen Interrupt (PENIRQ) The pen interrupt request output (PENIRQ) goes low whenever the screen is touched. The pen interrupt equivalent output circuitry is outlined in Figure 43. This is a digital logic output with an internal pull-up resistor of 50 kΩ, which means it does not need an external pull-up. The PENIRQ output idles high. The PENIRQ circuitry is always enabled, except during conversions. X+ TOUCH SCREEN Y+ 50k Ω Y– X– PENIRQ ENABLE PENIRQ VCC VCC Figure 43. PENIRQ Output Equivalent Circuit When the screen is touched, PENIRQ goes low. This generates an interrupt request to the host. When the screen touch ends, and if the ADC is idle, PENIRQ immediately goes high. If the ADC is converting, PENIRQ goes high once the ADC becomes idle. The PENIRQ operation for these two conditions is shown in Figure 44. SCREEN PENIRQ ADC STATUS TOUCHED NOT TOUCHED NOT TOUCHED NOT TOUCHED NOT TOUCHED ADC IDLE SCREEN PENIRQ ADC STATUS TOUCHED ADC IDLE ADC CONVERTING ADC IDLE RELEASE NOT DETECTED PENIRQ DETECTS RELEASE PENIRQ DETECTS RELEASE PENIRQ DETECTS TOUCH PENIRQ DETECTS TOUCH Figure 44. PENIRQ Operation for ADC Idle and ADC Converting SYNCHRONIZING THE AD7877 TO THE HOST CPU The two suggested methods for synchronizing the AD7877 to its host CPU are slave mode, in which the mode bits can be either 01b or 10b, and master mode, in which the mode bits are 11b. In slave mode, PENIRQ can be used as an interrupt to the host. When PENIRQ goes low to indicate that the screen has been touched, the host is awakened. The host can then program the AD7877 to begin converting in either Mode 01b or Mode 10b, and can read the result registers after the conversions are completed. In master mode, DAV can also be used as an interrupt to the host. However, the host should first initialize the AD7877 in Mode 11b. The host can then go into sleep mode to conserve power. The wake-up on touch feature of the AD7877 is active in this mode, therefore, when the screen is touched, the programmed sequence of conversions begins automatically. When the DAV signal asserts, the host reads the new data avail- able in the AD7877 results registers and returns to sleep mode. This method can significantly reduce the load on the host. Rev. E | Page 25 of 45 |
|
Link URL |
| Does ALLDATASHEET help your business so far? [ DONATE ] |
About Alldatasheet | Advertisement | Contact us | Privacy Policy | Link to Datasheet | Link Exchange | Manufacturer List 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 |