# Title: Expand 11 Click Board™ ## Description: How Does The Expand 11 Click Board™ Work? The Expand 11 Click Board™ is based on the TCA9536, a general-purpose I/O expander from Texas Instruments. It contains four 4-bit configuration ports alongside an I2C-compatible serial interface. Any four I/Os can be configured by the host MCU as an input or output by writing to the configuration register. During the Power-On sequence, the I/Os are configured as inputs with a weak pull-up to the selected mikroBUS™ power rail. The data for each input or output is kept in the corresponding register. The polarity of the Input Port register can be inverted with the Polarity Inversion register. The TCA9536 outputs (latched) have high-current drive capability for directly driving LEDs. This Click board™ communicates with MCU using the standard I2C 2-Wire interface to read data and configure settings with a maximum frequency of 1MHz. The Expand 11 Click can also select the function of one of the ports, the P3 port, between its standard I/O and interrupt function. The selection is made by positioning SMD jumpers labelled P3 SEL in an appropriate position marked as I/O or INT. In addition to the jumper setting to the proper place, this function must also be set in the special function register to disable the internal pull-up resistors and P3 override to an INT output. The Expand 11 Click Board™ can operate with either 3.3V or 5V logic voltage levels selected via the VCC SEL jumper. This way, it is allowed for both 3.3V and 5V capable MCUs to use the communication lines properly. However, the Click board™ comes equipped with a library containing easy-to-use functions and an example code that can be used, as a reference, for further development. SPECIFICATIONS Type Port expander Applications Can be used for system monitoring applications, industrial controllers, portable equipment, and more On-board modules TCA9536 - general-purpose I/O expander from Texas Instruments Key Features I2C to GPIO expander, wide supply range, 5V tolerant I/O ports, reset feature via serial interface, P3 port configurable as interrupt, polarity inversion, low power consumption, and more Interface I2C 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 of the Expand 11 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 NC NC 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 5V Power Supply Ground GND 8 GND GND 9 GND Ground ONBOARD SETTINGS AND INDICATORS Label Name Default Description LD1 PWR - Power LED Indicator JP1 VCC SEL Left Logic Level Voltage Selection 3V3/5V: Left position 3V3, Right position 5V JP2 P3 SEL Left P3 Port Function Selection I/O/INT: Left position I/O, Right position INT EXPAND 11 CLICK ELECTRICAL SPECIFICATIONS Description Min Typ Max Unit Supply Voltage 3.3 - 5 V ## Product type: Click Board ## Vendor: Mikroelektronika d.o.o. ## Tags: Click Board, Interface, Port Expander ## Price range: 12.6 - 12.6 GBP ## Link: https://thedebugstore.com/products/mikroe-5532-expand-11-click-board-uk ## Compare-at price range: 18.0 - 18.0 GBP ## Options - Title: Default Title ## Collections - [New Products](https://thedebugstore.com/a/llms/collections/new-products-debug-store) - [Mikroelektronika d.o.o. (MikroE)](https://thedebugstore.com/a/llms/collections/mikroelektronika-catalogue-uk) - [MikroE Click Boards™](https://thedebugstore.com/a/llms/collections/mikroe-click-boards-catalogue-uk) - [Interface Click Boards™](https://thedebugstore.com/a/llms/collections/interface-click-boards-catalogue) - [Port Expander Click Boards™](https://thedebugstore.com/a/llms/collections/port-expander-click-boards-catalogue) - [Click Boards™ Summer Sale](https://thedebugstore.com/a/llms/collections/inventory-sale) - [MikroE Sale](https://thedebugstore.com/a/llms/collections/mikroe-sale) - [MIKROE Stock](https://thedebugstore.com/a/llms/collections/mikroe-products-in-stock-sale) ## Variants - Default Title, SKU: MIKROE-5532, Available: yes, Inventory: 3 ## Metafields - title_tag: MikroE Expand 11 Click Board™ (MIKROE-5532) - badge:
- widget:The Expand 11 Click Board™ is based on the TCA9536, a general-purpose I/O expander from Texas Instruments. It contains four 4-bit configuration ports alongside an I2C-compatible serial interface. Any four I/Os can be configured by the host MCU as an input or output by writing to the configuration register. During the Power-On sequence, the I/Os are configured as inputs with a weak pull-up to the selected mikroBUS™ power rail. The data for each input or output is kept in the corresponding register. The polarity of the Input Port register can be inverted with the Polarity Inversion register. The TCA9536 outputs (latched) have high-current drive capability for directly driving LEDs.

This Click board™ communicates with MCU using the standard I2C 2-Wire interface to read data and configure settings with a maximum frequency of 1MHz. The Expand 11 Click can also select the function of one of the ports, the P3 port, between its standard I/O and interrupt function. The selection is made by positioning SMD jumpers labelled P3 SEL in an appropriate position marked as I/O or INT. In addition to the jumper setting to the proper place, this function must also be set in the special function register to disable the internal pull-up resistors and P3 override to an INT output.
The Expand 11 Click Board™ can operate with either 3.3V or 5V logic voltage levels selected via the VCC SEL jumper. This way, it is allowed for both 3.3V and 5V capable MCUs to use the communication lines properly. However, the Click board™ comes equipped with a library containing easy-to-use functions and an example code that can be used, as a reference, for further development.
| Type | Port expander |
| Applications | Can be used for system monitoring applications, industrial controllers, portable equipment, and more |
| On-board modules | TCA9536 - general-purpose I/O expander from Texas Instruments |
| Key Features | I2C to GPIO expander, wide supply range, 5V tolerant I/O ports, reset feature via serial interface, P3 port configurable as interrupt, polarity inversion, low power consumption, and more |
| Interface | I2C |
| Compatibility | mikroBUS |
| Click board size | M (42.9 x 25.4 mm) |
| Input Voltage | 3.3V or 5V |
This table shows how the pinout of the Expand 11 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 | NC | ||
| NC | 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 | 5V | Power Supply |
| Ground | GND | 8 | GND | GND | 9 | GND | Ground |
| Label | Name | Default | Description |
|---|---|---|---|
| LD1 | PWR | - | Power LED Indicator |
| JP1 | VCC SEL | Left | Logic Level Voltage Selection 3V3/5V: Left position 3V3, Right position 5V |
| JP2 | P3 SEL | Left | P3 Port Function Selection I/O/INT: Left position I/O, Right position INT |
| Description | Min | Typ | Max | Unit |
|---|---|---|---|---|
| Supply Voltage | 3.3 | - | 5 | V |
We provide a library for the Expand 11 Click Board™ as well as a demo application (example), developed using MikroE compilers. The demo can run on all the main MikroE development boards.
The package can be downloaded/installed directly from NECTO Studio The package Manager(recommended), downloaded from our LibStock™ or found on MikroE Github account.
Library Description
This library contains API for the Expand 11 Click Board™ driver.
Key functions
expand11_set_pin_direction This function sets the direction of the selected pins.
expand11_set_all_pins_value This function sets the value of all output pins.
expand11_read_port_value This function reads the value of the port input pins.
Example Description
This example demonstrates the use of the Expand 11 Click Board™ by setting and reading the port state.
void application_task ( void )
{
static uint16_t pin_num = EXPAND11_PIN_0_MASK;
uint8_t port_value = 0;
if ( EXPAND11_OK == expand11_set_all_pins_value( &expand11, pin_num ) )
{
if ( EXPAND11_OK == expand11_read_port_value( &expand11, &port_value ) )
{
log_printf( &logger, " PORT STATUS rn" );
log_printf( &logger, " P0: %urn", ( uint16_t ) ( port_value & EXPAND11_PIN_0_MASK ) );
log_printf( &logger, " P1: %urn", ( uint16_t ) ( ( port_value & EXPAND11_PIN_1_MASK ) >> 1 ) );
log_printf( &logger, " P2: %urn", ( uint16_t ) ( ( port_value & EXPAND11_PIN_2_MASK ) >> 2 ) );
log_printf( &logger, " P3: %urnn", ( uint16_t ) ( ( port_value & EXPAND11_PIN_3_MASK ) >> 3 ) );
pin_num = ( ~pin_num ) & EXPAND11_ALL_PINS_MASK;
}
}
Delay_ms( 1000 );
}
The full application code, and ready to use projects can be installed directly from NECTO Studio The package Manager(recommended), downloaded from our LibStock™ or found on MikroE Github account.
Other MikroE Libraries used in the example:
Additional Notes and Information
Depending on the development board you are using, you may need USB UART Click Board™, USB UART 2 Click or RS232 Click to connect to your PC, for development systems with no UART to USB interface available on the board. UART terminal is available in all MikroE compilers.
The Expand 11 Click Board™ is supported with mikroSDK - MikroE Software Development Kit. To ensure proper operation of mikroSDK compliant Click board™ demo applications, mikroSDK should be downloaded from the LibStock and installed for the compiler you are using.
- attachments: [{"download_file":[{"download_file":"Expand 11 Click Board™ Schematic"}],"download_filetype":[{"download_filetype":"pdf"}]},{"download_file":[{"download_file":"Texas Instruments TCA9536 I/O Bus Expander Datasheet"}],"download_filetype":[{"download_filetype":"pdf"}]}] - 1115249: What is Expand 11 Click Board™?***SIMP***Expand 11 Click Board™ is a compact add-on board that contains a multi-port I/O expander based on the TCA9536 from Texas Instruments. It allows for easy addition of I/O through a standard I2C serial interface. - 1115250: What is the TCA9536?***SIMP***The TCA9536 is a general-purpose remote I/O expansion IC designed for most microcontroller families. It comes in a 4-port configuration and allows for easy addition of I/O through a standard I2C serial interface. - 1115269: Expand 11 Click Board™ has 4 ports.***SIMP***Each port can be configured as either a logic input or logic output by writing to the I/O configuration register bits. - 1115268: How many ports does Expand 11 Click Board™ have?***SIMP***The Expand 11 Click Board™ has 4 ports. - 1115270: Can port P3 be used as an interrupt feature?***SIMP***Yes, port P3 can be configured as an interrupt feature in addition to its standard I/O function. - 1115273: Is Expand 11 Click Board™ supported by a software library?***SIMP***Yes, Expand 11 Click Board™ is supported by a mikroSDK compliant library, which includes functions that simplify software development. - 1115274: Is Expand 11 Click Board™ a tested product?***SIMP***Yes, Expand 11 Click Board™ comes as a fully tested product, ready to be used on a system equipped with the mikroBUS™ socket. An example application program is included to get you started. - device_vendor: Texas Instruments - device_type: TCA9536DGKR - warranty: 12 months - brand: MikroE - manufacturer: Mikroelektronika d.o.o. - target_keyword: Expand 11 Click Board - brands: gid://shopify/Metaobject/56256004319 - breadcrumbs: ["gid://shopify/Collection/447955239135","gid://shopify/Collection/241680580797","gid://shopify/Collection/279382950077","gid://shopify/Collection/279383179453"] - mpn: MIKROE-5532 - customhs_code: 847330 - detailed_description: {"type":"root","children":[{"type":"heading","level":3,"children":[{"type":"text","value":"How Does The Expand 11 Click Board™ Work?"}]},{"type":"paragraph","children":[{"type":"text","value":"The "},{"type":"text","value":"Expand 11 Click Board™","bold":true},{"type":"text","value":" is based on the TCA9536, a general-purpose I/O expander from Texas Instruments. It contains four 4-bit configuration ports alongside an I2C-compatible serial interface. Any four I/Os can be configured by the host MCU as an input or output by writing to the configuration register. During the Power-On sequence, the I/Os are configured as inputs with a weak pull-up to the selected mikroBUS™ power rail. The data for each input or output is kept in the corresponding register. The polarity of the Input Port register can be inverted with the Polarity Inversion register. The TCA9536 outputs (latched) have high-current drive capability for directly driving LEDs."}]},{"type":"paragraph","children":[{"type":"text","value":""}]},{"type":"paragraph","children":[{"type":"text","value":"This Click board™ communicates with MCU using the standard I2C 2-Wire interface to read data and configure settings with a maximum frequency of 1MHz. The Expand 11 Click can also select the function of one of the ports, the P3 port, between its standard I/O and interrupt function. The selection is made by positioning SMD jumpers labelled P3 SEL in an appropriate position marked as I/O or INT. In addition to the jumper setting to the proper place, this function must also be set in the special function register to disable the internal pull-up resistors and P3 override to an INT output."}]},{"type":"paragraph","children":[{"type":"text","value":"The "},{"type":"text","value":"Expand 11 Click Board™","bold":true},{"type":"text","value":" can operate with either 3.3V or 5V logic voltage levels selected via the VCC SEL jumper. This way, it is allowed for both 3.3V and 5V capable MCUs to use the communication lines properly. However, the Click board™ comes equipped with a library containing easy-to-use functions and an example code that can be used, as a reference, for further development."}]},{"type":"heading","level":3,"children":[{"type":"text","value":"SPECIFICATIONS"}]},{"type":"paragraph","children":[{"type":"text","value":"Type\nPort expander\nApplications\nCan be used for system monitoring applications, industrial controllers, portable equipment, and more\nOn-board modules\nTCA9536 - general-purpose I/O expander from Texas Instruments\nKey Features\nI2C to GPIO expander, wide supply range, 5V tolerant I/O ports, reset feature via serial interface, P3 port configurable as interrupt, polarity inversion, low power consumption, and more\nInterface\nI2C\nCompatibility\nmikroBUS\nClick board size\nM (42.9 x 25.4 mm)\nInput Voltage\n3.3V or 5V"}]},{"type":"heading","level":3,"children":[{"type":"text","value":"PINOUT DIAGRAM"}]},{"type":"paragraph","children":[{"type":"text","value":"This table shows how the pinout of the "},{"type":"text","value":"Expand 11 Click Board™","bold":true},{"type":"text","value":" corresponds to the pinout on the mikroBUS™ socket (the latter shown in the two middle columns)."}]},{"type":"paragraph","children":[{"type":"text","value":"Notes\nPin\nPin\nNotes\nNC\n1\nAN\nPWM\n16\nNC\nNC\n2\nRST\nINT\n15\nINT\nInterrupt\nNC\n3\nCS\nRX\n14\nNC\nNC\n4\nSCK\nTX\n13\nNC\nNC\n5\nMISO\nSCL\n12\nSCL\nI2C Clock\nNC\n6\nMOSI\nSDA\n11\nSDA\nI2C Data\nPower Supply\n3.3V\n7\n3.3V\n5V\n10\n5V\nPower Supply\nGround\nGND\n8\nGND\nGND\n9\nGND\nGround"}]},{"type":"heading","level":3,"children":[{"type":"text","value":"ONBOARD SETTINGS AND INDICATORS"}]},{"type":"paragraph","children":[{"type":"text","value":"Label\nName\nDefault\nDescription\nLD1\nPWR\n-\nPower LED Indicator\nJP1\nVCC SEL\nLeft\nLogic Level Voltage Selection 3V3/5V: Left position 3V3, Right position 5V\nJP2\nP3 SEL\nLeft\nP3 Port Function Selection I/O/INT: Left position I/O, Right position INT"}]},{"type":"heading","level":3,"children":[{"type":"text","value":"EXPAND 11 CLICK ELECTRICAL SPECIFICATIONS"}]},{"type":"paragraph","children":[{"type":"text","value":"Description\nMin\nTyp\nMax\nUnit\nSupply Voltage\n3.3\n-\n5\nV"}]},{"type":"heading","level":3,"children":[{"type":"text","value":" "}]}]} - summary:In the modern world of technology, having limited Input/Output (I/O) ports can hinder your system's smooth functioning. To cater to this problem, Texas Instruments has come up with a compact add-on board called the Expand 11 Click Board™. This board features a multi-port I/O expander with the TCA9536, providing a simple and effective solution for adding extra I/Os to your system.
Each port on the Expand 11 Click Board™ is easily configurable with a standard I2C serial interface, making it the perfect solution for monitoring applications, industrial controllers, and portable equipment. The I2C interface simplifies the configuration process, making it accessible to even non-technical users.
The Expand 11 Click Board™ features an additional special function register that allows port P3 to be configured as an interrupt feature. This feature gives you more options and opens up new possibilities for your system. With the interrupt feature, you can set up alarms and notifications that can be triggered when specific conditions are met.
Software development has never been easier with the Expand 11 Click Board™. It comes with a mikroSDK compliant library, which makes software development a breeze. With this library, you can quickly and easily develop and test your code.
The Expand 11 Click Board™ is fully tested and ready to use with the mikroBUS™ socket. It's a straightforward upgrade that will take your system to the next level. Don't let limited I/O hold you back - get the Expand 11 Click Board™ today and expand your possibilities.
In conclusion, the Expand 11 Click Board™ is a compact and effective solution for adding extra I/Os to your system. With easy configuration, an interrupt feature, and a mikroSDK-compliant library, this add-on board will help you unlock new possibilities and take your system to the next level. Upgrade your system today and enjoy the benefits of the Expand 11 Click Board™.