Expand 9 Click Board™
Product Code: MIKROE-4853
How Does The Expand 9 Click Board™ Work? The Expand 9 Click Board™ as its foundation uses the SX1509QB, a 16-channel lowest voltage level shifting GPIO expander from Semtech Corporation. The expander devices, like this one, can provide additional control and monitoring when the MCU has insufficient I/O ports or in systems where serial communication and control from a remote location are advantageous. The SX1509QB has a built-in level shifting feature making it highly flexible in power supply systems where communication between incompatible I/O voltages is required, thus eliminating extra level translating circuits. The SX1509QB features a fully programmable LED driver with an internal oscillator for enhanced lighting control such as intensity (via 256-step PWM), blinking, and breathing (fade In/Out) which makes them highly versatile for a wide range of LED applications. Also, keypad applications are supported with an on-chip scanning engine enabling continuous keypad monitoring up to 64 keys (8x8 matrix) without any additional host interaction reducing bus activity.
The Expand 9 Click Board™ communicates with MCU using the standard I2C 2-Wire interface to read data and configure settings, supporting a Fast Mode operation up to 400kHz. The selection of the I2C slave address is also possible, using the ADD pin routed to the AN pin of the mikroBUS™ socket. This way, the SX1509QB provides the opportunity of the two possible different I2C addresses by setting ADD pin to an appropriate logic state. In addition to selecting a Slave address, the SX1509QB can generate mask-programmable interrupts based on a falling/rising edge of any of its GPIO lines. A dedicated interrupt pin, routed to the INT pin of the mikroBUS™ socket, indicates to a host controller that a state change occurred on one or more of the expand lines, while the RST pin of the mikroBUS™ socket represents a Reset feature used to reset the chip at any time.
Each GPIO on I/O Expander channels is programmable via a bank of 8-bit configuration registers, including data, direction, pull-up/pull-down, interrupt mask, and interrupt registers. The user is also given an option of selecting the expander port supply voltage, which is realized by two onboard switches labelled as VCCA and VCCB, allowing one to choose between 3.3V and 1.8V. To obtain 1.8V, a small LDO regulator is added, AP2112 from Dialog Incorporated, to provide 1.8V out of mikroBUS™ power rail.
The Expand 9 Click Board™ can be operated only with a 3.3V logic voltage level. The board must perform appropriate logic voltage level conversion before use with MCUs with different logic levels. However, the Click board™ comes equipped with a library containing functions and an example code that can be used, as a reference, for further development.
SPECIFICATIONS
Type
Port expander
Applications
Can be used for low-power portable equipment, keypad scanning, driving LEDs, and many more
On-board modules
SX1509QB - 16-channel lowest voltage level shifting GPIO expander from Semtech Corporation
Key Features
Low power consumption, integrated LED driver for enhanced lighting, on-chip keypad scanning engine, interrupt and reset feature, selectable I2C slave address, and more
Interface
I2C
Compatibility
mikroBUS
Click board size
L (57.15 x 25.4 mm)
Input Voltage
3.3V
PINOUT DIAGRAM
This table shows how the pinout on the Expand 9 Click Board™ corresponds to the pinout on the mikroBUS™ socket (the latter shown in the two middle columns).
Notes
Pin
Pin
Notes
I2C Address Selection
ADD
1
AN
PWM
16
NC
Reset
RST
2
RST
INT
15
INT
Interrupt
NC
3
CS
RX
14
NC
NC
4
SCK
TX
13
NC
NC
5
MISO
SCL
12
SCL
I2C Clock
NC
6
MOSI
SDA
11
SDA
I2C Data
Power Supply
3.3V
7
3.3V
5V
10
NC
Ground
GND
8
GND
GND
9
GND
Visit the Debug Store website for more information on Expand 9 Click Board™