# Title: Expand 8 Click Board™ ## Description: How Does the Expand 8 Click Board™ work? The Expand 8 Click Board™ as its foundation uses the MAX7317, a general-purpose input/output (GPIO) peripheral from Maxim Integrated that provides 10 I/O ports, P0 to P9, controlled through a high-speed SPI-compatible serial interface. Each port, P0 to P9 can be configured as open-drain, current-sink outputs rated at 20mA maximum, or as CMOS inputs, or as open-drain outputs. Loads should be connected to a supply voltage no higher than 7V. The MAX7317 contains ten 8-bit internal registers. These ten registers are addressed as 0x00 - 0x09 control an I/O port each. Write 0x00 to the output register to set the port as a logic-low output, or 0x01 to set the port as a logic-high output or logic input. Expand 8 Click communicates with MCU through a 16-bit 4-wire serial interface compatible with standard SPI, QSPI™, MICROWIRE™ guaranteed to operate at 35Mbps on its 3.3V power supply. During the Power-Up sequence, all control registers of the MAX7317 are in a reset state. Power-Up status sets I/O ports, P0 to P9, into a high impedance state and puts the device into Shutdown mode. The I/O ports P0–P9 remains high impedance with up to 8V asserted on them when the MAX7317 is powered down. Therefore, it can be used in hot-swap applications. This 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 Intended for use as a port expander in system monitoring applications, industrial controllers, portable equipment, and many more. On-board modules MAX7317 - 10-Port SPI-interfaced I/O expander with overvoltage and hot-insertion protection from Maxim Integrated Key Features 10-Port I/O expander, overvoltage protection, support hot-insertion, SPI, QSPI™, MICROWIRE™ compatible serial interface, low power consumption, and more. Interface SPI Compatibility mikroBUS Click board size M (42.9 x 25.4 mm) Input Voltage 3.3V PINOUT DIAGRAM This table shows how the pinout on Expand 8 Click 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 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 NC Ground GND 8 GND GND 9 GND Ground ONBOARD SETTINGS AND INDICATORS Label Name Default Description LD1 PWR - Power LED Indicator J1-J2 P0-P9 Populated I/O Expander Port EXPAND 8 CLICK ELECTRICAL SPECIFICATIONS Description Min Typ Max Unit Supply Voltage - 3.3 - V Output Load Voltage P0 - P9 - - 7 V Maximum Output Current - - 20 mA Operating Temperature Range -40 +25 +125 °C ## Product type: Click Board ## Vendor: Mikroelektronika d.o.o. ## Tags: Click Board, I/O Expander, Interface, Maxim Integrated, MikroE, Port Expander, Serial Interface ## Price range: 15.4 - 15.4 GBP ## Link: https://thedebugstore.com/products/mikroe-4442-expand-8-click-board-uk ## Compare-at price range: 22.0 - 22.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) - [Maxim Integrated Device Support - Development Boards & Tools | Debug Store](https://thedebugstore.com/a/llms/collections/devices-maxim-integrated) - [Serial Interface Click Boards™](https://thedebugstore.com/a/llms/collections/serial-interface-click-boards-catalogue) - [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-4442, Available: yes, Inventory: 1 ## Metafields - title_tag: MikroE Expand 8 Click Board™ (MIKROE-4442) - manufacturer: Mikroelektronika d.o.o. - warranty: 12 months - backorder_label: If no stock shown above, check availability - mpn: MIKROE-4442 - badge:
- widget:The Expand 8 Click Board™ as its foundation uses the MAX7317, a general-purpose input/output (GPIO) peripheral from Maxim Integrated that provides 10 I/O ports, P0 to P9, controlled through a high-speed SPI-compatible serial interface. Each port, P0 to P9 can be configured as open-drain, current-sink outputs rated at 20mA maximum, or as CMOS inputs, or as open-drain outputs. Loads should be connected to a supply voltage no higher than 7V.

The MAX7317 contains ten 8-bit internal registers. These ten registers are addressed as 0x00 - 0x09 control an I/O port each. Write 0x00 to the output register to set the port as a logic-low output, or 0x01 to set the port as a logic-high output or logic input.
Expand 8 Click communicates with MCU through a 16-bit 4-wire serial interface compatible with standard SPI, QSPI™, MICROWIRE™ guaranteed to operate at 35Mbps on its 3.3V power supply. During the Power-Up sequence, all control registers of the MAX7317 are in a reset state. Power-Up status sets I/O ports, P0 to P9, into a high impedance state and puts the device into Shutdown mode. The I/O ports P0–P9 remains high impedance with up to 8V asserted on them when the MAX7317 is powered down. Therefore, it can be used in hot-swap applications.
This 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.
| Type | Port expander |
| Applications | Intended for use as a port expander in system monitoring applications, industrial controllers, portable equipment, and many more. |
| On-board modules | MAX7317 - 10-Port SPI-interfaced I/O expander with overvoltage and hot-insertion protection from Maxim Integrated |
| Key Features | 10-Port I/O expander, overvoltage protection, support hot-insertion, SPI, QSPI™, MICROWIRE™ compatible serial interface, low power consumption, and more. |
| Interface | SPI |
| Compatibility | mikroBUS |
| Click board size | M (42.9 x 25.4 mm) |
| Input Voltage | 3.3V |
This table shows how the pinout on Expand 8 Click 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 | 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 | NC | |
| Ground | GND | 8 | GND | GND | 9 | GND | Ground |
| Label | Name | Default | Description |
|---|---|---|---|
| LD1 | PWR | - | Power LED Indicator |
| J1-J2 | P0-P9 | Populated | I/O Expander Port |
| Description | Min | Typ | Max | Unit |
|---|---|---|---|---|
| Supply Voltage | - | 3.3 | - | V |
| Output Load Voltage P0 - P9 | - | - | 7 | V |
| Maximum Output Current | - | - | 20 | mA |
| Operating Temperature Range | -40 | +25 | +125 | °C |
We provide a library for the Expand 8 Click on our LibStock page, as well as a demo application (example), developed using MikroElektronika compilers. The demo can run on all the main MikroElektronika development boards.
The library covers all the necessary functions to control Expand 8 click board. The library performs a standard SPI interface communication.
void expand8_write_data ( uint8_t addr, uint8_t tx_data ) - Generic write data function.uint8_t expand8_read_data ( uint8_t addr ) - Generic read data function.EXPAND8_RETVAL_T expand8_set_port ( uint8_t sel_port, uint8_t sel_imped ) - Set port function.The application is composed of three sections :
void application_task ( )
{
expand8_set_port( select_port,
EXPAND8_SET_LOW_IMPEDANCE );
mikrobus_logWrite( " Port P", _LOG_TEXT );
ByteToStr( select_port, demo_text );
Ltrim( demo_text );
mikrobus_logWrite( demo_text, _LOG_TEXT );
mikrobus_logWrite( " ON", _LOG_LINE );
mikrobus_logWrite( "- - - - - - - - - - -", _LOG_LINE );
Delay_ms( 1000 );
expand8_set_port( select_port,
EXPAND8_SET_HIGH_IMPEDANCE );
mikrobus_logWrite( " Port P", _LOG_TEXT );
ByteToStr( select_port, demo_text );
Ltrim( demo_text );
mikrobus_logWrite( demo_text, _LOG_TEXT );
mikrobus_logWrite( " OFF", _LOG_LINE );
mikrobus_logWrite( "---------------------", _LOG_LINE );
Delay_ms( 1000 );
select_port++;
if ( select_port > EXPAND8_ADDR_OUT_LVL_PORT_P9 )
{
select_port = EXPAND8_ADDR_OUT_LVL_PORT_P0;
}
}
The full application code, and ready to use projects can be found on our LibStock page.
Other mikroE Libraries used in the example:
Depending on the development board you are using, you may need a USB UART click, 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. The terminal available in all MikroElektronika compilers, or any other terminal application of your choice, can be used to read the message.
This Click board™ is supported with mikroSDK - MikroElektronika 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 8 Click Board™ Schematic"}],"download_filetype":[{"download_filetype":"pdf"}]},{"download_file":[{"download_file":"Maxim MAX7317 10-Port I/O Expander Datasheet"}],"download_filetype":[{"download_filetype":"pdf"}]}] - condition: new - custom_product: false - mpn: MIKROE-4442 - google_product_category: Electronics - custom_label_0: Click Board - key_feature_2: 10-Port I/O expander, overvoltage protection, support hot-insertion, SPI, QSPI™, MICROWIRE™ compatible serial interface, low power consumption, and more. - key_feature_3: Based on the MAX7317 - 10-Port SPI-interfaced I/O expander with overvoltage and hot-insertion protection from Maxim Integrated - key_feature_4: Intended for use as a port expander in system monitoring applications, industrial controllers, portable equipment, and many more - key_feature_5: mikroBUS: SPI Interface - device_vendor: Maxim Integrated - device_type: MAX7317AEE+T - warranty: 12 months - brand: MikroE - manufacturer: Mikroelektronika d.o.o. - target_keyword: Expand 8 Click Board - brands: gid://shopify/Metaobject/56256004319 - breadcrumbs: ["gid://shopify/Collection/447955239135","gid://shopify/Collection/241680580797","gid://shopify/Collection/279382950077","gid://shopify/Collection/279383179453"] - customhs_code: 847330 - detailed_description: {"type":"root","children":[{"type":"heading","level":3,"children":[{"type":"text","value":"How Does the Expand 8 Click Board™ work?"}]},{"type":"paragraph","children":[{"type":"text","value":"The"},{"type":"text","value":" Expand 8 Click Board™","bold":true},{"type":"text","value":" as its foundation uses the MAX7317, a general-purpose input/output (GPIO) peripheral from Maxim Integrated that provides 10 I/O ports, P0 to P9, controlled through a high-speed SPI-compatible serial interface. Each port, P0 to P9 can be configured as open-drain, current-sink outputs rated at 20mA maximum, or as CMOS inputs, or as open-drain outputs. Loads should be connected to a supply voltage no higher than 7V."}]},{"type":"paragraph","children":[{"type":"text","value":""}]},{"type":"paragraph","children":[{"type":"text","value":"The MAX7317 contains ten 8-bit internal registers. These ten registers are addressed as 0x00 - 0x09 control an I/O port each. Write 0x00 to the output register to set the port as a logic-low output, or 0x01 to set the port as a logic-high output or logic input."}]},{"type":"paragraph","children":[{"type":"text","value":"Expand 8 Click communicates with MCU through a 16-bit 4-wire serial interface compatible with standard SPI, QSPI™, MICROWIRE™ guaranteed to operate at 35Mbps on its 3.3V power supply. During the Power-Up sequence, all control registers of the MAX7317 are in a reset state. Power-Up status sets I/O ports, P0 to P9, into a high impedance state and puts the device into Shutdown mode. The I/O ports P0–P9 remains high impedance with up to 8V asserted on them when the MAX7317 is powered down. Therefore, it can be used in hot-swap applications."}]},{"type":"paragraph","children":[{"type":"text","value":"This 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."}]},{"type":"heading","level":3,"children":[{"type":"text","value":"SPECIFICATIONS"}]},{"type":"paragraph","children":[{"type":"text","value":"Type\nPort expander\nApplications\nIntended for use as a port expander in system monitoring applications, industrial controllers, portable equipment, and many more.\nOn-board modules\nMAX7317 - 10-Port SPI-interfaced I/O expander with overvoltage and hot-insertion protection from Maxim Integrated\nKey Features\n10-Port I/O expander, overvoltage protection, support hot-insertion, SPI, QSPI™, MICROWIRE™ compatible serial interface, low power consumption, and more.\nInterface\nSPI\nCompatibility\nmikroBUS\nClick board size\nM (42.9 x 25.4 mm)\nInput Voltage\n3.3V"}]},{"type":"heading","level":3,"children":[{"type":"text","value":"PINOUT DIAGRAM"}]},{"type":"paragraph","children":[{"type":"text","value":"This table shows how the pinout on Expand 8 Click 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\nNC\nSPI Chip Select\nCS\n3\nCS\nRX\n14\nNC\nSPI Clock\nSCK\n4\nSCK\nTX\n13\nNC\nSPI Data OUT\nSDO\n5\nMISO\nSCL\n12\nNC\nSPI Data IN\nSDI\n6\nMOSI\nSDA\n11\nNC\nPower Supply\n3.3V\n7\n3.3V\n5V\n10\nNC\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\nJ1-J2\nP0-P9\nPopulated\nI/O Expander Port"}]},{"type":"heading","level":3,"children":[{"type":"text","value":"EXPAND 8 CLICK ELECTRICAL SPECIFICATIONS"}]},{"type":"paragraph","children":[{"type":"text","value":"Description\nMin\nTyp\nMax\nUnit\nSupply Voltage\n-\n3.3\n-\nV\nOutput Load Voltage P0 - P9\n-\n-\n7\nV\nMaximum Output Current\n-\n-\n20\nmA\nOperating Temperature Range\n-40\n+25\n+125\n°C"}]},{"type":"heading","level":3,"children":[{"type":"text","value":" "}]}]} - summary:The Expand 8 Click Board™ is a compact add-on board that contains a multi-port I/O expander with bi-directional input/outputs. This board features the MAX7317, 10-Port SPI-interfaced I/O expander with overvoltage and hot-insertion protection from Maxim Integrated. The MAX7317 provides microprocessors with 10 I/O ports rated to 7V. Each port can be individually configured as either an open-drain output or an overvoltage-protected Schmitt input that supports hot insertion. All port pins remain high impedance in Power-Down mode with up to 8V asserted on them. This Click Board™ is intended for use as a port expander in system monitoring applications, industrial controllers, portable equipment, and many more.
Expand 8 Click is supported by a mikroSDK compliant library, which includes functions that simplify software development. This Click Board™ comes as a fully tested product, ready to be used on a system equipped with the mikroBUS™ socket.