Electronic Components Datasheet Search
  English  ▼

X  

PCAL9722 Datasheet(PDF) 24 Page - NXP Semiconductors

Part # PCAL9722
Description  Ultra low-voltage translating 22-bit SPI I/O expander with Agile I/O features, interrupt output and reset
PDF  63 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
Manufacturer  NXP [NXP Semiconductors]
Direct Link  http://www.nxp.com
Logo NXP - NXP Semiconductors

PCAL9722 Datasheet(HTML) 24 Page - NXP Semiconductors

Back Button PCAL9722 Datasheet HTML 20Page - NXP Semiconductors PCAL9722 Datasheet HTML 21Page - NXP Semiconductors PCAL9722 Datasheet HTML 22Page - NXP Semiconductors PCAL9722 Datasheet HTML 23Page - NXP Semiconductors PCAL9722 Datasheet HTML 24Page - NXP Semiconductors PCAL9722 Datasheet HTML 25Page - NXP Semiconductors PCAL9722 Datasheet HTML 26Page - NXP Semiconductors PCAL9722 Datasheet HTML 27Page - NXP Semiconductors PCAL9722 Datasheet HTML 28Page - NXP Semiconductors Next Button
Zoom Inzoom in Zoom Outzoom out
 24 / 63 page
background image
NXP Semiconductors
PCAL9722
Ultra low-voltage translating 22-bit SPI I/O expander with Agile I/O features, interrupt output and
reset
changed. A pin configured as an output cannot cause an interrupt. Changing an I/O from an output to an input
may cause a false interrupt to occur, if the state of the pin does not match the contents of the input port register.
In order to enable the interrupt output, the following three conditions must be satisfied:
• The GPIO must be configured as an input port by writing "1" to configuration port registers (0Ch, 0Dh, 0Eh)
• The interrupt mask registers (54h, 55h, 56h) must set to "0" to unmask interrupt sources.
• The interrupt edge registers (60h to 65h) select what action on each input pin will cause an interrupt; there are
four different interrupt trigger modes: level trigger, rising-edge trigger, falling-edge trigger, or any edge trigger.
The input latch registers (48h, 49h, 4Ah) control each input pin either to enable latched input state or non-
latched input state. When input pin is set to latch state, it will hold or latch the input pin state (keep the logic
value) and generate an interrupt until the master can service the interrupt. This minimizes the host's interrupt
service response for fast moving inputs.
Any interrupt status bit can be cleared and INT pin de-asserted by using one of the following methods and
conditions:
• Power on reset (POR), hardware reset from RESET pin
• Read input port registers (00h, 01h, 02h)
• Write logic 1 to interrupt clear registers (68h, 69h, 6Ah)
• Write logic 1 to interrupt mask registers (54h, 55h, 56h)
• Write logic 0 to configuration registers (0Ch, 0Dh, 0Eh), set pin as output port.
• Input pin goes back to its initial state in level trigger and non-latch mode
• Input pin goes back to its initial state in level trigger and change latch to non-latch mode
• Change the interrupt trigger mode from level trigger to edge trigger or vice versa in interrupt edge registers
When using the input latch feature, the input pin state is latched. The interrupt is de-asserted only when data is
read from the port that generated the interrupt. The interrupt reset occurs when CS is de-asserted (from LOW to
HIGH). Any change of the inputs after resetting is detected and is transmitted as INT.
6.9 Switch debounce circuitry
Mechanical switches do not make clean make-or-break connections and the contacts can ‘bounce’ for a
significant period of time before settling into a steady-state condition. This can confuse fast processors and
make the physical interface difficult to design and the software interface difficult to make reliable.
The PCAL9722 implements hardware to ease the hardware interface by debouncing switch closures with
dedicated circuitry. P0_1 to P0_7, P1_0 to P1_7 can connect to this debounce hardware on a pin-by-pin basis.
These switch debouncers remove bounce when a switch opens or closes by requiring that sequentially clocked
inputs remain in the same state for a number of sampling periods. The output does not change until the input is
stable for a programmable duration. The circuit block diagram (Figure 7) shows the functional blocks consisting
of an external oscillator, counter, edge detector, and D flip-flop. When the switch input state changes, the edge
detector will reset the counter. When the switch input state is stable for the full qualification period, the counter
clocks the flip-flop, updating the output. Figure 8 shows the typical opening and closing switch debounce
operation timing.
To use the debounce circuitry, set the port pins (P0_1 to P0_7, and P1_0 to P1_7) with switches attached in
the Switch Debounce Enable 0 and 1 registers (74h, 75h). Connect an external oscillator signal on P0_0, which
serves as a time base to the debounce timer. Finally, set a delay time in the Switch Debounce Count register
(76h). The combination of time base of the external oscillator and the debounce count sets the qualification
debounce period or tDP in Figure 8. Note that all debounce counters will use the same time base and count, but
they all function independently.
PCAL9722
All information provided in this document is subject to legal disclaimers.
© 2023 NXP B.V. All rights reserved.
Product data sheet
Rev. 1.1 — 1 May 2023
24 / 63



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


Datasheet Download

Go To PDF Page


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


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