Expand 11 Click Board
Expand 11 Click Board
Key Features
- I2C-zu-GPIO-Expander, weiter Versorgungsspannungsbereich, 5V-tolerante I/O-Ports, Reset-Funktion über serielle Schnittstelle, P3-Port als Interrupt konfigurierbar, Polaritätsumkehr, geringer Stromverbrauch und mehr
- Basierend auf dem TCA9536 – einem universellen I/O-Expander von Texas Instruments
- Kann für Systemüberwachungsanwendungen, Industriesteuerungen, tragbare Geräte und mehr verwendet werden
- mikroBUS: I2C- und MCU-Interrupt-Schnittstellen
Entdecken Sie neue Möglichkeiten mit Expand 11 Click Board™: Die ultimative I/O-Expander-Lösung"
In der modernen Welt der Technologie kann eine begrenzte Anzahl von Ein-/Ausgabe-Ports (E/A) den reibungslosen Betrieb Ihres Systems behindern. Um dieses Problem zu lösen, hat Texas Instruments eine kompakte Zusatzkarte namens Expand 11 Click Board™ entwickelt. Diese Karte verfügt über einen Multiport-E/A-Expander mit dem TCA9536 und bietet eine einfache und effektive Lösung zum Hinzufügen zusätzlicher E/A zu Ihrem System.
Einfache Konfiguration mit der seriellen I2C-Schnittstelle
Jeder Port auf dem Expand 11 Click Board™ lässt sich mit einer standardmäßigen seriellen I2C-Schnittstelle problemlos konfigurieren. Damit ist es die perfekte Lösung für Überwachungsanwendungen, Industriesteuerungen und tragbare Geräte. Die I2C-Schnittstelle vereinfacht den Konfigurationsprozess und macht ihn auch für technisch nicht versierte Benutzer zugänglich.
Erweitern Sie Ihre Optionen mit der Interrupt-Funktion
Das Expand 11 Click Board™ verfügt über ein zusätzliches Spezialfunktionsregister, mit dem Port P3 als Interrupt-Funktion konfiguriert werden kann. Diese Funktion bietet Ihnen mehr Optionen und eröffnet neue Möglichkeiten für Ihr System. Mit der Interrupt-Funktion können Sie Alarme und Benachrichtigungen einrichten, die ausgelöst werden können, wenn bestimmte Bedingungen erfüllt sind.
Einfache Softwareentwicklung mit MikroSDK-kompatibler Bibliothek
Mit dem Expand 11 Click Board™ war die Softwareentwicklung noch nie so einfach. Es wird mit einer mikroSDK-kompatiblen Bibliothek geliefert, die die Softwareentwicklung zum Kinderspiel macht. Mit dieser Bibliothek können Sie Ihren Code schnell und einfach entwickeln und testen.
Aktualisieren Sie Ihr System noch heute
Das Expand 11 Click Board™ ist vollständig getestet und mit der mikroBUS™-Buchse einsatzbereit. Es ist ein unkompliziertes Upgrade, das Ihr System auf die nächste Stufe bringt. Lassen Sie sich nicht von begrenzten E/A abhalten – holen Sie sich noch heute das Expand 11 Click Board™ und erweitern Sie Ihre Möglichkeiten.
Zusammenfassend lässt sich sagen, dass das Expand 11 Click Board™ eine kompakte und effektive Lösung ist, um Ihrem System zusätzliche E/As hinzuzufügen. Dank einfacher Konfiguration, einer Interrupt-Funktion und einer mikroSDK-kompatiblen Bibliothek hilft Ihnen dieses Zusatzboard, neue Möglichkeiten zu erschließen und Ihr System auf die nächste Stufe zu bringen. Aktualisieren Sie Ihr System noch heute und genießen Sie die Vorteile des Expand 11 Click Board™.
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 |
Software Support
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:
- MikroSDK.Board
- MikroSDK.Log
- Click.Expand11
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.
MIKROSDK
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.
Software Support
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:
- MikroSDK.Board
- MikroSDK.Log
- Click.Expand11
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.
MIKROSDK
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.
Expand 11 Click Board
Frequently Asked Questions
Ask a Question-
Is Expand 11 Click Board™ a tested product?
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.
-
Is Expand 11 Click Board™ supported by a software library?
Yes, Expand 11 Click Board™ is supported by a mikroSDK compliant library, which includes functions that simplify software development.
-
Can port P3 be used as an interrupt feature?
Yes, port P3 can be configured as an interrupt feature in addition to its standard I/O function.
-
Expand 11 Click Board™ has 4 ports.
Each port can be configured as either a logic input or logic output by writing to the I/O configuration register bits.
-
How many ports does Expand 11 Click Board™ have?
The Expand 11 Click Board™ has 4 ports.
-
What is the TCA9536?
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.
-
What is Expand 11 Click Board™?
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.