LED Driver 8 Click Board™
Product Code: MIKROE-4268
How Does The LED Driver 8 Click Board™ Work? The LED Driver 8 Click Board™ is based on the PCA9957, a daisy-chain SPI compatible 4-wire serial bus controlled 24-channel constant current LED driver optimized for dimming and blinking 32 mA RGBA LEDs from NXP Semiconductors. The PCA9957 has 24 internal 8-bit DACs with an operating frequency of 31.25 kHz and a duty cycle from 0% to 100% used to adjust brightness levels for each LED current source. Each LED output is programmable and can be turned off, on (with no PWM control), set at its individual PWM controller value, or both individual and group PWM controller values. Its output peak current is adjustable with an 8-bit linear DAC from 125 μA to 31.875 mA because of the R4 resistor of 2kΩ connected to the REXT pin. Gradation control for all current sources is achieved through serial interface and allows the user to ramp current automatically without any help from the MCU. It has two operation modes for each group: Single-Shot Mode (output pattern once) and Continuous Mode (output pattern repeat).
Each channel can be set to either Gradation Mode or Normal Mode and assigned to any one of six gradation control groups. These groups have four independent registers to control ramp-up and ramp-down rate, step time, hold ON/OFF time, and final hold ON output current.
The LED Driver 8 Click Board™ communicates with MCU through a daisy-chain SPI compatible 4-wire serial interface with a clock frequency up to 10 MHz. The input labeled as OE routed to the PWM pin on the mikroBUS™ blinks all the LED outputs and can be used to externally PWM the outputs, which is useful when multiple devices need to be dimmed or blinked together without using software control. The PCA9957 also has a short load and overtemperature detection circuitry, thermal shutdown feature which protects the device when the internal junction temperature exceeds the factory-defined limit, and a Reset function routed to the RST pin on the mikroBUS™ which is activated by sending an active low input on this pin with a minimum pulse width of 2.5μs.
The LED Driver 8 Click Board™ is designed to be operated with both 3.3V and 5V logic voltage levels that can be selected via VCC SEL jumper. This allows for both 3.3V and 5V capable MCUs to use the SPI communication lines properly.
SPECIFICATIONS
Type
LED Drivers
Applications
Can be used in the purpose of LED Status signalization, in LED displays, LED backlight, keypad backlights for cellular phones, or handheld devices, and many more.
On-board modules
The LED Driver 8 Click Board™ is based on the PCA9957, a daisy-chain SPI compatible 4-wire serial bus controlled 24-channel constant current LED driver optimized for dimming and blinking 32 mA RGBA LEDs from NXP Semiconductors.
Key Features
Low power consumption, programmable LED drivers channels, gradation control for all channels, low standby current, no glitch on LED outputs on Power-Up, and more.
Interface
SPI
Compatibility
mikroBUS
Click board size
M (42.9 x 25.4 mm)
Input Voltage
3.3V or 5V
PINOUT DIAGRAM
This table shows how the pinout on the LED Driver 8 Click Board™ corresponds to the pinout on the mikroBUS™ socket (the latter shown in the two middle columns).
Notes
Pin
Pin
Notes
NC
1
AN
PWM
16
OE
Enable Input
Reset Input
RST
2
RST
INT
15
NC
SPI Chip Select
CS
3
CS
RX
14
NC
SPI Clock
SCK
4
SCK
TX
13
NC
SPI Data OUT
SDO
5
MISO
SCL
12
NC
SPI Data IN
SDI
6
MOSI
SDA
11
NC
Power Supply
3.3V
7
3.3V
5V
10
5V
Power Supply
Ground
GND
8
GND
GND
9
GND
Ground
ONBOARD SETTINGS AND INDICATORS
Label
Name
Default
Visit the Debug Store website for more information on LED Driver 8 Click Board™