×

SparkFun will be closed Monday 7/4/2022 for the 4th of July holiday. Orders placed after 2 pm MT on Friday 7/1/2022 will be processed on Tuesday 7/6/2022. SparkFun Support will also resume on Tuesday 7/6/2022. Have a safe holiday!

MIKROE EXPAND 6 Click

EXPAND 6 Click is a compact add-on board that contains an I2C configurable multi-port I/O expander with independently configurable pins as bi-directional input/outputs or PWM outputs. This board features the CY8C9520A, 20-bit I/O expander with EEPROM, and 4 independently configurable 8-bit PWM outputs from Infineon. The CY8C9520A operates as two I2C peripheral devices, first as a multi-port I/O expander, and second as a serial EEPROM with 3 Kbyte address space. It has a user default storage, flexible I2C address configuration, and a programmable interrupt function that indicates input pin level changes and PWM state changes. This Click board™ can be used to monitor and control LEDs and system intrusion detection devices, but also as a storage for information such as error codes or board manufacturing data for diagnostic purposes.

EXPAND 6 Click is supported by a mikroSDK compliant library, which includes functions that simplify software development.

EXPAND 6 Click is based on the CY8C9520A, 20-bit I/O expander with EEPROM, and 4 independently configurable 8-bit PWM outputs from Infineon. The main blocks of the CY8C9520A include the control unit, PWMs, EEPROM, and I/O ports. The I/O expander's data pins can be independently assigned as inputs, outputs, or PWM outputs, and can be configured as open-drain or collector, strong drive (10 mA source, 25 mA sink), resistively pulled up or down, or high impedance which can be selected in the Port Drive Mode register. It operates as two I2C peripheral devices, where the first device is a multi-port I/O expander (single I2C address to access all ports through registers), and the second device is a serial EEPROM with 3 Kbyte address space.

Configuration and output register settings are storable as user defaults in a dedicated section of the EEPROM. If user defaults were stored in EEPROM, they are restored to the ports at Power-Up. The EEPROM is byte readable and supports byte-by-byte writing. A pin 3 of the Port 2 on this Click board™ can be configured as an EEPROM Write Disable (WD) input that blocks write operations when set high. The configuration registers can also disable EEPROM operations.

EXPAND 6 Click communicates with MCU using the standard I2C 2-Wire interface with a maximum frequency of 100kHz. The CY8C9520A has, by default, two possible I2C peripheral address formats: the first is used to access the multi-port device, and the second to access the EEPROM. This selection of I2C peripheral addresses is performed by setting the logic level on the A0 pin of the CY8C9520A which can be done by using the SMD jumper labeled as ADDR SEL.

It also generates a programmable interrupt signal routed on the INT pin of the mikroBUS™, which can inform the system controller that there is incoming data on its ports or that the PWM output state was changed. The reset signal routed on the RST pin of the mikroBUS™ socket is similar to POR (Power-ON Reset) function. When the CY8C9520A is held in Reset, all In and Out pins are held at their default High-Z State.

This Click board™ is designed to be operated with both 3.3V and 5V logic voltage levels that can be selected via VCC SEL jumper. This allows for both 3.3V and 5V capable MCUs to use the I2C communication lines properly.

  • Interface: I2C
  • Compatibility: mikroBUS™
  • Dimensions: 57.15 x 25.4mm
  • Input Voltage: 3.3V or 5V
  • Supply Voltage: Min. -0.5V, Max. 6V
  • High Level Source Current: 10mA
  • Low Level Sink Current: 25mA
  • Operating Temperature Range: Min. -40°C, Max. +85°C

MIKROE EXPAND 6 Click Product Help and Resources

Comments

Looking for answers to technical questions?

We welcome your comments and suggestions below. However, if you are looking for solutions to technical questions please see our Technical Assistance page.

Customer Reviews

No reviews yet.