background image

NXP Semiconductors

UM11711

PCAL6524EV-ARD evaluation board

4.6 I

2

C-bus

The PCAL6524EV-ARD board communicates with the host through an I

2

C-bus (pin

A3 – SCL, pin A2 – SDA). The communication provides internal configuration of the I/

O expander, reads the logic levels of the I/O pins configured as inputs, and sets the

logic level on the I/O pins configured as outputs. The internal configuration of the DUT

includes: direction of the digital I/O lines (input or output), polarity inversion, pull-up /

pull-down resistor enable, output strength, output configuration (push-pull or open-

drain), input latch configuration, interrupt register. The transaction speed of the I

2

C-bus

is compliant with Standard-mode (100kHz), Fast-mode (400kHz), and Fast-mode plus

(1MHz). For more details about I

2

C description and bus transactions, see PCAL6524

datasheet (NXP Semiconductors). The pull-up resistors of the I

2

C-bus are R43 and R44

(see SPF-46658.pdf schematic file).

4.7 Control bus

The control bus manages RESET, ADDR, and INT pins of the PCAL6524 IC. The

RESET pin is digital input and is controlled by the system host. Its role is to reset the I/

O expander when a time-out or other improper operation occurs. Asserting a low level of

this line forces a reset operation of the internal control section of the IC (puts the internal

registers in their default state and force a re-initialization of the I

2

C state machine, in

the same manner as power-on sequence). The RESET pin is controlled by the EVK

motherboard through J3-1 (ARDUINO port).
The ADDR pin is digital input and represents a programmable hardware address

package which can be asserted low or high, to assign two different slave addresses. The

input is controlled by the EVK through J3-2 (Arduino port).
The INT pin is an open-drain interrupt output, activated when any input state differs from

its corresponding input port register state, indicating to the host system that an input

state has changed. The line is monitored by the EVK through J3-3 ARDUINO port and

locally by the LED (D4) located on the daughterboard. The LED D4 can be deactivated

by removing JP1 jumper. When D4 is inactive (JP1 removed) the open-drain is polarized

through R42. R42 also has the role to compensate the voltage drop of D4 assuring 3.3V

high level in high state of the interrupt line (see SPF-46658.pdf schematic file).

4.8 I/O bus

The PCAL6524 IC contains 24 configurable I/O pins, organized in three ports, P0, P1,

and P2. All three ports are 8-bit wide. P0 and P1 are allocated to the four-digit LED

display (through MAX V CPLD, U2). The on-board LEDs (D5 to D8) and user switches

SW1 to SW4 are connected to port P2. All I/O lines of the PCAL6524 IC are linked to

the I/O port connectors for external access of the I/O lines (see the schematic file of the

PCAL6524EV-ARD daughterboard). 

Table 2

 shows the allocation of the PCAL6524 I/O

lines (U1).

PCAL6524

(U1) pin

Direction

CPLD

(U2) pin

LED

Switch

16 BIT – I/O PORT (J6)

8 BIT – I/O PORT (J7)

P0_0

I/O

IO_9

-

-

3

-

P0_1

I/O

IO_10

-

-

4

-

P0_2

I/O

IO_11

-

-

5

-

Table 2. I/O allocation

UM11711

All information provided in this document is subject to legal disclaimers.

© NXP B.V. 2022. All rights reserved.

User manual

Rev. 1.0 — 19 January 2022

9 / 30

Summary of Contents for PCAL6524EV

Page 1: ...ation board is a daughter card equipped with Arduino port designated for easy test and design of PCAL6524 IC 24 bit port expander controlled through FM I 2 C 2 wire bus with RESET The board is fully c...

Page 2: ...evaluation board Rev Date Description v 1 0 20220119 Initial version Revision history UM11711 All information provided in this document is subject to legal disclaimers NXP B V 2022 All rights reserved...

Page 3: ...eavily depends on proper printed circuit board layout and heat sinking design as well as attention to supply filtering transient suppression and I O signal quality The product provided may not be comp...

Page 4: ...for external access to the I O pins J6 and J7 see the schematic diagram of the PCAL6524EV ARD evaluation board Additionally a Graphical User Interface Windows platform is provided to facilitate the e...

Page 5: ...EVK along with the associated firmware GUI software USB cable for power and data connection between PC and EVK board if not included in the EVK package 4 Getting to know the hardware 4 1 PCAL6524EV AR...

Page 6: ...ls that assures the operation of the board U1 is linked to Arduino interface J1 to J4 through two busses the I 2 C bus and the control bus The port P0 and P1 8 bit wide each controls the four digit LE...

Page 7: ...d J4 are the mated pin headers of Arduino Uno R3 connectors with the same electrical function and placed on the board so that the daughterboard can be directly inserted in the Arduino port The daughte...

Page 8: ...0 J4 digital UART PWM 8 D7 MAX_CLK 1 D8 RESET control bus 2 D9 PWM ADDR control bus 3 D10 SS PWM INT control bus 4 D11 MOSI PWM Not used 5 D12 MISO Not used 6 D13 SCK Not used 7 GND Power supply retur...

Page 9: ...ard through J3 1 ARDUINO port The ADDR pin is digital input and represents a programmable hardware address package which can be asserted low or high to assign two different slave addresses The input i...

Page 10: ...52 to avoid bus conflict short circuit if the line is set accidentally as output and the switch is pressed 4 9 CPLD The PCAL6524EV ARD board contains a MAX V series CPLD from Intel Altera U2 5M80ZE64C...

Page 11: ...See Table 4 and Figure 3 for details PCAL6534 pin Direct write Count Idle P0_0 P0_1 P0_2 P0_3 Write decimal numbers from the GUI to Digit 1 D12 The PCAL6524 pins are configured as outputs Read the cur...

Page 12: ...red as inputs and displayed in the GUI The range of the counter value is from 000 to 999 Bus line Function State Description 0 Low speed 7 5 Hz MAX_CTRL_0 Speed 1 High speed 60 Hz 0 down MAX_CTRL_1 Di...

Page 13: ...s Table 6 and Figure 4 detail the jumper locations and their default configurations Table 7 describes the test points located on the PCAL6524EV ARD board Ref Des Label Default Description JP1 INT MONI...

Page 14: ...P6 RST RESET input of PCAL6524 IC TP7 SDA SDA line I 2 C bus TP8 SCL SCL line I 2 C bus TP9 ADDR ADDR input of PCAL6524 IC Table 7 PCAL6524EV ARD test points 5 Installing and configuring software tool...

Page 15: ...ring the hardware 6 1 Using the PCAL6524EV ARD with an IMXRT1050 EVK board Figure 5 shows the required hardware for operation of the PCAL6524EV ARD daughterboard with IMXRT1050 EVK The following items...

Page 16: ...sing USB connector J28 connect the EVK board to an USB port of the computer 4 Install the IMXRT1050 target firmware download from NXP site and see UM11581 Arduino Arduino shields GUI and firmware inst...

Page 17: ...B connectors P5 P6 P9 and P10 The board can be powered through any USB port Using P6 USB connector to connect the board to the PC simplifies the start up operation because P6 is designated for debuggi...

Page 18: ...LPCXpresso55S69 motherboard before starting The following steps describe how to assemble program and operate the configuration shown in Figure 7 UM11711 All information provided in this document is su...

Page 19: ...EV ARD with an i MX 8M Mini LPDDR4 EVK board When an i MX 8M Mini LPDDR4 EVK board is used with the PCAL6524EV ARD board a third board IMX8MMINI IARD interposer board must be used especially designed...

Page 20: ...p the EVK an USB C type cable connected to PORT 2 of the EVK is used The power switch SW101 on the EVK board must be set to ON position to power up the setup Data communication is achieved by routing...

Page 21: ...4EV ARD with another device The PCAL6524EV ARD daughterboard can be operated with other EVK board which has an Arduino port There are two options to connect the board using other EVK equipped with an...

Page 22: ...window with the message Unable to Connect with EVK appears on the screen Select COM port displays port selected for the communication The port is automatically selected by the system in the picture i...

Page 23: ...igit display in the upper blue area indicates the current value of the physical LED display D9 to D12 located on the PCAL6524EV ARD daughterboard Direct Write Mode in this mode the user can set the va...

Page 24: ...errupt mask for the input Polarity Inversion enable disable the polarity inversion function for the input Interrupt Edge select the trigger type of the interrupt level or edge Interrupt Clear clear th...

Page 25: ...Value set the status of the on board user LED the logic state of the output Output drive strength sets the drive strength of the output The Write button sets the internal registers of the DUT with the...

Page 26: ...sters of the IC every time when Read button is clicked To find details about internal registry see the PCAL6524 datasheet https www nxp com docs en data sheet PCAL6524 pdf Figure 15 Graphical interfac...

Page 27: ...oard User manual NXP Semiconductors 5 LPC556x 32 bit ARM Cortex M33 M33 coprocessor TrustZone PowerQuad CASPER 320KB SRAM 640 KB flash USB HS Flexcomm Interface SDIO 32 bit counter timers SCTimer PWM...

Page 28: ...is responsible for doing all necessary testing for the customer s applications and products using NXP Semiconductors products in order to avoid a default of the applications and the products or of the...

Page 29: ...ughterboard IMXRT1050 EVK board operation 16 Fig 7 PCAL6524EV ARD daughterboard and LPCXpresso55S69 motherboard before starting 18 Fig 8 PCAL6524EV ARD daughterboard LPCXpresso55S69 motherboard operat...

Page 30: ...rs and test points 13 5 Installing and configuring software tools 14 6 Configuring the hardware 15 6 1 Using the PCAL6524EV ARD with an IMXRT1050 EVK board 15 6 2 Using the PCAL6524EV ARD with an LPCX...

Page 31: ...Mouser Electronics Authorized Distributor Click to View Pricing Inventory Delivery Lifecycle Information NXP PCAL6524EV ARD...

Reviews: