# Title: Expand 9 Click Board™ ## Description: 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 Ground ONBOARD SETTINGS AND INDICATORS Label Name Default Description LD1 PWR - Power LED Indicator SW1-SW2 VCCA-VCCB - Expander Channels Supply Voltage Selection 3V3/1V8: Left position 3V3, Right position 1V8 EXPAND 9 CLICK ELECTRICAL SPECIFICATIONS Description Min Typ Max Unit Supply Voltage - 3.3 - V Maximum GPIO Input Voltage - - 5.5 V Maximum GPIO Output Current - - 15 mA Operating Temperature Range -40 +25 +85 °C ## Product type: Click Board ## Vendor: Mikroelektronika d.o.o. ## Tags: Click Board, Interface, MikroE, Port Expander, Semitech Corporation ## Price range: 19.6 - 19.6 GBP ## Link: https://thedebugstore.com/products/mikroe-4853-expand-9-click-board-uk ## Compare-at price range: 28.0 - 28.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) - [Semitech Semiconductor Device Support: Debug Tools for Smart Grid & IoT Communication Solutions](https://thedebugstore.com/a/llms/collections/semitech-semiconductor-device-support) - [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-4853, Available: yes, Inventory: 1 ## Metafields - title_tag: MikroE Expand 9 Click Board™ (MIKROE-4854) - description_tag: The Expand 9 Click Board™ is a compact add-on board that contains a multi-port I/O expander. This board features the SX1509QB, the world’s lowest voltage level shifting GPIO expander from Semtech Corporation. Available from Debug Store UK. - badge: - widget:

Customer Reviews

Be the first to write a review
0%
(0)
0%
(0)
0%
(0)
0%
(0)
0%
(0)
- full_description:

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.

Expand 9 Click inner

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 Mikrobus logo.png 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 Ground

ONBOARD SETTINGS AND INDICATORS

Label Name Default  Description
LD1 PWR - Power LED Indicator
SW1-SW2 VCCA-VCCB - Expander Channels Supply Voltage Selection 3V3/1V8: Left position 3V3, Right position 1V8

EXPAND 9 CLICK ELECTRICAL SPECIFICATIONS

Description Min Typ Max Unit
Supply Voltage - 3.3 - V
Maximum GPIO Input Voltage - - 5.5 V
Maximum GPIO Output Current - - 15 mA
Operating Temperature Range -40 +25 +85 °C

 

- examples:

We provide a library for the Expand 9 Click Board™ as well as a demo application (example), developed using MikroElektronika compilers. The demo can run on all the main MikroElektronika development boards.

Package can be downloaded/installed directly from NECTO Studio Package Manager(recommended way), downloaded from our LibStock™ or found on Mikroe Github account.

Library Description

This library contains API for the Expand 9 Click Board™ driver.

Key functions

Example Description

This is an example that demonstrates the use of the Expand 9 Click Board™. The library initializes and defines the I2C bus drivers to write and read data from registers.


 void application_task ( void )  
 {    
     expand9_soft_reset( &expand9 ); 
     Delay_ms( 100 ); 

     for ( uint8_t cnt = 0; cnt < 16; cnt++ ) 
     { 
         expand9_set_ch_output_state( &expand9, cnt, CH_OUTPUT_ON ); 
         Delay_ms( 100 ); 
         expand9_set_ch_output_state( &expand9, cnt, CH_OUTPUT_OFF ); 
         Delay_ms( 100 ); 
     } 

     for ( uint8_t cnt = 15; cnt > 0; cnt-- ) 
     { 
         expand9_set_ch_output_state( &expand9, cnt, CH_OUTPUT_ON ); 
         Delay_ms( 100 ); 
         expand9_set_ch_output_state( &expand9, cnt, CH_OUTPUT_OFF ); 
         Delay_ms( 100 ); 
     } 

     expand9_soft_reset( &expand9 ); 
     Delay_ms( 100 ); 

     for ( uint8_t cnt = 0; cnt < 16; cnt++ ) 
     { 
         expand9_led_driver_config( &expand9, cnt, EXPAND9_FREQ_DIV_1, EXPAND9_LED_MODE_LINEAR ); 
         expand9_set_intensity( &expand9, cnt, 10 ); 
         Delay_ms( 100 ); 
         expand9_led_driver_config( &expand9, cnt, EXPAND9_FREQ_DIV_1, EXPAND9_LED_MODE_LINEAR ); 
         expand9_set_intensity( &expand9, cnt, 200 ); 
         Delay_ms( 100 ); 
     } 

     for ( uint8_t cnt = 15; cnt > 0; cnt-- ) 
     { 
         expand9_led_driver_config( &expand9, cnt, EXPAND9_FREQ_DIV_1, EXPAND9_LED_MODE_LINEAR ); 
         expand9_set_intensity( &expand9, cnt, 200 ); 
         Delay_ms( 100 ); 
         expand9_led_driver_config( &expand9, cnt, EXPAND9_FREQ_DIV_1, EXPAND9_LED_MODE_LINEAR ); 
         expand9_set_intensity( &expand9, cnt, 10 ); 
         Delay_ms( 100 ); 
     } 
 }

The full application code, and ready to use projects can be installed directly from NECTO Studio Package Manager(recommended way), 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 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. UART terminal is available in all MikroElektronika compilers.

MIKROSDK

The Expand 9 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.

- manufacturer: Mikroelektronika d.o.o. - warranty: 12 months - backorder_label: If no stock shown above, check availability - attachments: [{"download_file":[{"download_file":"Expand 9 Click Board™ Schematic"}],"download_filetype":[{"download_filetype":"pdf"}]},{"download_file":[{"download_file":"Semtech SC1509QB 16-channel GPIO Expander Datasheet"}],"download_filetype":[{"download_filetype":"pdf"}]},{"download_file":[{"download_file":"Dialog Inc A_2112 LDO Regulator Datasheet"}],"download_filetype":[{"download_filetype":"pdf"}]}] - condition: new - custom_product: false - mpn: MIKROE-4853 - google_product_category: Electronics - custom_label_0: Click Board - mpn: MIKROE-4853 - key_feature_2: Low power consumption, integrated LED driver for enhanced lighting, on-chip keypad scanning engine, interrupt and reset feature, selectable I2C slave address, and more - key_feature_3: Based on the SX1509QB - 16-channel lowest voltage level shifting GPIO expander from Semtech Corporation - key_feature_4: Can be used for low-power portable equipment, keypad scanning, driving LEDs, and many more - key_feature_5: mikroBUS: I2C Interface - device_vendor: Semtech Corporation - device_type: SX1509QBIULTRT - warranty: 12 months - brand: MikroE - manufacturer: Mikroelektronika d.o.o. - target_keyword: Expand 9 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 9 Click Board™ Work?"}]},{"type":"paragraph","children":[{"type":"text","value":"The "},{"type":"text","value":"Expand 9 Click Board™","bold":true,"italic":true},{"type":"text","value":" 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."}]},{"type":"paragraph","children":[{"type":"text","value":""}]},{"type":"paragraph","children":[{"type":"text","value":"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."}]},{"type":"paragraph","children":[{"type":"text","value":"The "},{"type":"text","value":"Expand 9 Click Board™","bold":true},{"type":"text","value":" 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."}]},{"type":"paragraph","children":[{"type":"text","value":"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."}]},{"type":"paragraph","children":[{"type":"text","value":"The "},{"type":"text","value":"Expand 9 Click Board™","bold":true},{"type":"text","value":" 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\nCan be used for low-power portable equipment, keypad scanning, driving LEDs, and many more\nOn-board modules\nSX1509QB - 16-channel lowest voltage level shifting GPIO expander from Semtech Corporation\nKey Features\nLow power consumption, integrated LED driver for enhanced lighting, on-chip keypad scanning engine, interrupt and reset feature, selectable I2C slave address, and more\nInterface\nI2C\nCompatibility\nmikroBUS\nClick board size\nL (57.15 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 the "},{"type":"text","value":"Expand 9 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\nI2C Address Selection\nADD\n1\nAN\nPWM\n16\nNC\nReset\nRST\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\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\n Description\nLD1\nPWR\n-\nPower LED Indicator\nSW1-SW2\nVCCA-VCCB\n-\nExpander Channels Supply Voltage Selection 3V3/1V8: Left position 3V3, Right position 1V8"}]},{"type":"heading","level":3,"children":[{"type":"text","value":"EXPAND 9 CLICK ELECTRICAL SPECIFICATIONS"}]},{"type":"paragraph","children":[{"type":"text","value":"Description\nMin\nTyp\nMax\nUnit\nSupply Voltage\n-\n3.3\n-\nV\nMaximum GPIO Input Voltage\n-\n-\n5.5\nV\nMaximum GPIO Output Current\n-\n-\n15\nmA\nOperating Temperature Range\n-40\n+25\n+85\n°C"}]},{"type":"heading","level":3,"children":[{"type":"text","value":" "}]}]} - summary:

The Expand 9 Click Board™ is a compact add-on board that contains a multi-port I/O expander. This board features the SX1509QB, the world’s lowest voltage level shifting GPIO expander from Semtech Corporation. The SX1509QB comes in a 16-channel configuration and allows easy serial expansion of I/O through a standard I2C serial interface. It also has a built-in level shifting feature making it highly flexible in power supply systems where communication between incompatible I/O voltages is required, an integrated LED driver for enhanced lighting, and a keypad scanning engine to implement keypad applications up to 8x8 matrix.

The Expand 9 Click Board™ provides a simple solution when additional I/Os are needed, suitable for low-power portable equipment, keypad scanning, driving LEDs, and many more.