background image

UM11623

PCA9959HN-ARD evaluation board

Rev. 1 — 21 May 2021

User manual

Document information

Information

Content

Keywords

PCA9959HN, SPI, Arduino port, EVK, LED, LED driver

Abstract

The PCA9959HN-ARD evaluation board is a daughter card equipped with

Arduino ports, designated for easy test and design of the PCA9959HN IC, 24-

channel SPI serial bus 63 mA / 5.5 V constant current LED driver. The board

is fully compliant with IMXRT1050-EVKB, LPCXpresso55S69 (LPC55S69-

EVK) and i.MX 8M Mini LPDDR4 EVK (8MMINILPD4-EVK, 8MMINID4-EVK),

including GUI software control. The board can be attached to any device

equipped with Arduino ports.

Summary of Contents for PCA9959HN-ARD

Page 1: ...oard is a daughter card equipped with Arduino ports designated for easy test and design of the PCA9959HN IC 24 channel SPI serial bus 63 mA 5 5 V constant current LED driver The board is fully compliant with IMXRT1050 EVKB LPCXpresso55S69 LPC55S69 EVK and i MX 8M Mini LPDDR4 EVK 8MMINILPD4 EVK 8MMINID4 EVK including GUI software control The board can be attached to any device equipped with Arduino...

Page 2: ... board 1 Revision history Rev Date Description v 1 05 05 2021 Initial version Table 1 Revision history UM11623 All information provided in this document is subject to legal disclaimers NXP B V 2021 All rights reserved User manual Rev 1 21 May 2021 2 32 ...

Page 3: ...e LEDs allocated to all 24 outputs of the PCA9959HN DUT The board also contains jumpers and connectors that allow users to disconnect the onboard LEDs to perform short tests and to connect external LEDs to PCA9959HN outputs Additionally a Graphical User Interface Windows platform is provided to facilitate the evaluation of the daughter board The GUI is used in combination with the following NXP ev...

Page 4: ...ing or handling the hardware 4 4 Minimum system requirements This evaluation board requires a Windows PC workstation Meeting these minimum specifications should produce great results when working with this evaluation board PC with Windows 10 operating system One USB port either 3 0 or 2 0 or 1 1 compatible One of three EVK boards MIMXRT1050 EVK LPC55S69 EVK 8MMINILPD4 EVK along with the associated...

Page 5: ...ndows 10 see Note Note i MX Mini LPDDR4 EVK boards require the use of an IMX8MMINI IARD interposer board between the EVK and PCA9959HN ARDUINO daughter board see IMX8MMINI IARD User Manual 5 2 Kit featured components Figure 1 shows the top silkscreen of the board See Figure 2 and Figure 3 for top and bottom view of the PCA9959HN ARD daughter card The following figures allow users to quickly find t...

Page 6: ... board The block diagram includes Arduino interface J5 J6 J35 and J36 connectors and the data lines connected to the port The blue lines in the drawing refer to the SPI bus and the purple lines represents the control bus The J46 and J47 connectors are Fuji connectors UM11623 All information provided in this document is subject to legal disclaimers NXP B V 2021 All rights reserved User manual Rev 1...

Page 7: ...PCA9959 J65 J66 J67 J68 J69 J70 J71 J72 J73 J74 D5 D7 D9 D11 D13 D15 D6 D8 D10 D12 D14 J23 VCC_5V0_MAIN VCC_5V0_MAIN VCC_5V0_MAIN WHITE LED RGB LED U5 VCC_5V0_MAIN D16 J58 J57 J49 J76 J78 J81 J80 J79 J77 J26 J47 J47 FUJI CONN IN NEXT BOARD FUJI CONN OUT TOP SIDE ARDUINO INTERFACE FUJI CONN IN BOTTOM SIDE J46 J36 J5 VCC_5V0_MAIN J21 VCC_5V0_MAIN VCC_3V3 D2 J6 VCC_5V0 VCC_3V3 J35 J84 Figure 4 PCA995...

Page 8: ...ectors J46 and J47 allow several PCA9959HN ARD daughter boards to be configured in a stack architecture The connector J46 is the Fuji output pin header placed on top of the layout Fuji connector J46 is the pin receptacle located on the bottom of the layout When two boards are connected J47 of the secondary board is inserted into Fuji output connector J46 of the primary base daughter board Table 3 ...

Page 9: ...irst board is pulled down to ground through pin 3 of J46 and J47 of the next board The switch U5 first board is open the signal path of the SPI is MOSI Arduino port SDI input U2 first board SDO output U2 first board pin 6 J46 first board pin 6 J47 second board SDI U2 second board SDO U2 second board U5 second board which is closed pin 8 J47 second board pin 8 J46 first board MISO Arduino port The ...

Page 10: ...uts LED0 to LED11 The outputs LED12 to LED23 drives white LEDs The LEDs can be disconnected from the IC outputs with jumpers The RGB LED D16 has jumpers connected in parallel for short testing The jumpers J76 to J81 allow the user to redirect the corresponding output lines of D16 and D17 RGB LEDs from the onboard LEDs to the RGB LED external connectors J21 and J26 Using the connectors the user can...

Page 11: ...ectors max 3 boards LPCXpresso55S69 EVK limited by the current rating of the USB connector max 2 boards i MX LPDDR4 EVK limited by the current delivered by the EVK power supply max 2 boards The onboard LED D2 is a 3 3 V rail indicator and D3 is a 5 0 V rail indicator 5 10 Schematic board layout and bill of materials The schematic board layout and bill of materials for the PCA9959HN ARD evaluation ...

Page 12: ...le for download from the NXP site allowing rapid testing and operation of the PCA9959HN ARD daughter board in conjunction with the EVK The GUI application is common for all three EVKs and for the PCA995x LED Controller development card family manufactured by NXP PCA9957 PCA9959 and PCA9955B ICs For details regarding installation of the EVK firmware and GUI host software see UM11581 Arduino shields...

Page 13: ... connected to J28 the EVK can be powered and at the same time linked to the PC for data exchange The older USB ports from PC are not able to deliver the necessary current 500 mA before establishing the communication use an external power supply connected to J2 From J1 on the EVK board see Figure 6 the user can select the power configuration for the mother board For more details see i MX RT1050 Eva...

Page 14: ...d Figure 8 shows the necessary hardware involved when using the PCA9959HN ARD board with an LPCXpresso55S69 board This configuration consists of One LPCXpresso55S69 development board One PCA9959HN ARD daughter board One USB A USB Micro B cable A PC with Windows 10 operating system The LPCXpresso55S69 development board is equipped with four USB Micro B connectors P5 P6 P9 and P10 The board can be p...

Page 15: ...959HN ARD daughter card to P16 P19 connectors located on LPCXpresso55S69 development board see the marked pins of P16 P19 Figure 8 2 Connect the development board using port P6 USB port of PC 3 Install the LPCXpresso55S69 target firmware download from NXP site and see UM11581 for step by step instructions UM11623 All information provided in this document is subject to legal disclaimers NXP B V 202...

Page 16: ...DDR4 is not equipped with an Arduino port instead it has a 2 x 20 pin expansion connector J1003 see i MX 8M Mini LPDDR4 EVK user manual J1003 is a multipurpose port containing various digital I O lines including specialized I 2 C and SPI buses Starting from the expansion connector pin chart an Arduino port interposer board was developed with the role of signal to signal bridge between the 2 x 20 c...

Page 17: ...rding the power up and operation of the setup assembly see i MX 8M Mini LPDDR4 EVK Board Hardware User s Guide IMX8MMEVKHUG pdf and IMX8MMINI IARD User Manual The files can be downloaded from NXP site Figure 10 PCA9959HN ARD daughter board IMX8MMINI IARD interposer board and 8MMINILPD4 EVK board assembly To configure the hardware and workstation complete the following procedure 1 Insert the PCA995...

Page 18: ...other device The PCA9959HN ARD daughter board can be operated with other EVK board with an Arduino port In this case a firmware shall be developed according with PCA9959 specifications and then attach PCA9959HN ARD daughter board to the EVK to operate the board For non Arduino devices using the pin chart of Arduino connectors see Table 2 make the necessary electrical connections for power SPI bus ...

Page 19: ...nly flags mapped in MODE2 register 01h The FAULT flag indicates that the PCA9959HN ARD s internal controller has detected an LED output error no load short The OVERTEMP flag indicates that the PCA9959 die temperature exceeds its specified limit see section 7 2 3 LED error detection and section 7 2 4 Overtemperature protection in PCA9959 data sheet Note Due to the absence of status registers for th...

Page 20: ...roups of LED gradation control each LED channel being assigned to one of groups For each group PCA9959 supports 64 grid gradation brightness control allowing for each LED output to be on with individual preset current value or off The GUI application is reflecting the PCA9959 allowing the user to set the values of the registers without any constraint Therefore the user must fully understand the in...

Page 21: ...ails the names and address of the registers Secondary tab Register name Register address Remarks Grid Duration Figure 13 GRID_DUR 08h Read Write Page Select Figure 14 PAGE_SEL 0Bh Read Write Gradation Figure 15 GRD_CTL 09h Read Write Side Figure 16 SIDE_CTL 0Ah Read Write Table 4 Secondary tabs under Global Figure 14 Graphical interface Global Page Select tab activated UM11623 All information prov...

Page 22: ...re 15 Graphical interface Global Gradation tab activated Figure 16 Graphical interface Global Side tab activated UM11623 All information provided in this document is subject to legal disclaimers NXP B V 2021 All rights reserved User manual Rev 1 21 May 2021 22 32 ...

Page 23: ...Channels secondary tabs when PAGE_SEL value is 0 while Table 6 displays the group of secondary tabs when PAGE_SEL value is 1 Secondary tab Register name Register HEX Remarks Errors Figure 17 EFLAG0 to EFLAG5 02h 07h Read only Grid Figure 18 GRID0 to GRID63 3Fh 5Fh Read Write Write All Table 5 Secondary tabs under Channels PAGE_SEL 0 UM11623 All information provided in this document is subject to l...

Page 24: ... 20h 7Ch Read Write Preset Current 1 Figure 20 CH0_CFG1 to CH23_CFG2 21h 7Dh Read Write Write all Preset Current 2 Figure 21 CH0_CFG1 to CH23_CFG3 22h 7Eh Read Write Write all Preset Current 3 Figure 22 CH0_CFG1 to CH23_CFG4 23h 7Fh Read Write Write all Table 6 Secondary tabs under Channels PAGE_SEL 1 UM11623 All information provided in this document is subject to legal disclaimers NXP B V 2021 Al...

Page 25: ... ARD evaluation board Figure 19 Graphical interface Channels Group Config tab activated UM11623 All information provided in this document is subject to legal disclaimers NXP B V 2021 All rights reserved User manual Rev 1 21 May 2021 25 32 ...

Page 26: ...RD evaluation board Figure 20 Graphical interface Channels Preset Current 1 tab activated UM11623 All information provided in this document is subject to legal disclaimers NXP B V 2021 All rights reserved User manual Rev 1 21 May 2021 26 32 ...

Page 27: ...RD evaluation board Figure 21 Graphical interface Channels Preset Current 2 tab activated UM11623 All information provided in this document is subject to legal disclaimers NXP B V 2021 All rights reserved User manual Rev 1 21 May 2021 27 32 ...

Page 28: ...COM if more than one is available 4 From the Select Board list select PCA9959 5 Click Connect When the connection is established all onboard LEDs are turned On 6 In the Device Setting section click Reset Chip The LEDs are turned Off and a pop up window announces the successful chip reset 7 Select Disable for the OE input of the DUT and click Set all This disables the driver outputs inside the DUT ...

Page 29: ...H0 Preset Current 1 and click WriteAll to set all channels with the same preset current 14 Go back to the Settings tab select Enable for OE and then click Set all The selected LEDs turn On with the intensity according with the Preset Current 1 value Starting from these steps and using the data sheet the user can combine different values for the internal registers of the DUT to understand and test ...

Page 30: ...er s third party customer s NXP does not accept any liability in this respect Terms and conditions of commercial sale NXP Semiconductors products are sold subject to the general terms and conditions of commercial sale as published at http www nxp com profile terms unless otherwise agreed in a valid written individual agreement In case an individual agreement is concluded only the terms and conditi...

Page 31: ...rd LPCXpresso55S69 board assembly 16 Fig 10 PCA9959HN ARD daughter board IMX8MMINI IARD interposer board and 8MMINILPD4 EVK board assembly 17 Fig 11 PCA9959HN ARD daughter board 8MMINILPD4 EVK board operation 18 Fig 12 Graphical user interface Settings tab activated 19 Fig 13 Graphical interface Global tab activated 21 Fig 14 Graphical interface Global Page Select tab activated 21 Fig 15 Graphical...

Page 32: ...ling and configuring software tools 12 7 Configuring the hardware 13 7 1 Using the PCA9959HN ARD with MIMXRT1050 EVK board 13 7 2 Using the PCA9959HN ARD with an LPCXpresso55S69 development board 14 7 3 Using the PCA9959HN ARD with an i MX 8M Mini LPDDR4 EVK 16 7 4 Using the PCA9959HN ARD with another device 18 8 GUI description 19 8 1 Settings 19 8 2 Global 21 8 3 Channels 23 9 Operation example ...

Reviews: