Download Print this page

Cypress Semiconductor CY3242-IOXlite Kit Manual

I2c port expander lite demo kit guide

Advertisement

Quick Links

CY3242-IOXlite
2
I
C Port Expander Lite Demo Kit Guide
Cypress Semiconductor
198 Champion Court
San Jose, CA 95134-1709
Phone (USA): 880.858.1810
Phone (Intnl): 408.943.2600
http://www.cypress.com

Advertisement

loading
Need help?

Need help?

Do you have a question about the CY3242-IOXlite and is the answer not in the manual?

Questions and answers

Summary of Contents for Cypress Semiconductor CY3242-IOXlite

  • Page 1 CY3242-IOXlite C Port Expander Lite Demo Kit Guide Cypress Semiconductor 198 Champion Court San Jose, CA 95134-1709 Phone (USA): 880.858.1810 Phone (Intnl): 408.943.2600 http://www.cypress.com...
  • Page 2 PSoC® is a registered trademark and PSoC Designer™, Programmable System-on-Chip™, and PSoC Express™ are trademarks of Cypress Semiconductor Corporation (Cypress), along with Cypress® and Cypress Semiconductor™. All other trademarks or registered trademarks referenced herein are the property of their respective owners.
  • Page 3 Contents Using the I2C Port Expander Demonstration Kit ............5 1. Board Specifications and Component Location ..........5 1.1 Board Specifications ......................5 1.2 Components Location....................6 2. Jumper Settings and Connector Descriptions............. 6 2.1 J1 Speaker Enable Jumper ...................6 2.2 J2 - J9 Address Selection Jumpers ................6 2.3 J10 Interrupt Selection Jumper..................6 2.4 J11 - External I2C Interface ...................7 2.5 J12 USB Connector .......................7...
  • Page 4: Table Of Contents

    4. I2C Port Expander Address Select Examples............9 4.1 I2C Port Expander Address Example 1 .................9 4.2 I2C Port Expander Address Example 2 .................9 4.3 I2C Port Expander Address Example 3...............10 5. Demonstration Example Scripts ................11 5.1 Script 1.........................11 5.2 Script 2.........................11 6.
  • Page 5 Using the I2C Port Expander Demonstration Associated Project: Yes Associated Part Family: CY8C9520A Software Version: PSoC Designer™ V4.3 Associated Application Notes and Kits: AN2352, CY3242-IOX, and CY3240-I2USB Board Specifications and Component Location Board Specifications Feature Description Number of Port Expander Devices Device Part Number CY8C9520A...
  • Page 6 Components Location Switches Port Expander IC Speaker Enable (CY8C9520) Jumper LED Indicators I2C Bus Source Select Switch Address Selection Jumpers Reset External I2C Interface I2C_USB Bridge I2C Interrupt Source Jumper External Power Supply Power Source Select Jumper Jumper Settings and Connector Descriptions J1 Speaker Enable Jumper Open - Speaker is disconnected from the I/O Expander pin.
  • Page 7 J11 - External I2C Interface Interrupt Clock Data J12 USB Connector Connects the I2C-USB Bridge circuit to the USB port for configuration and data collection. J13 I2C-USB Bridge ISSP Connector Used for reprogramming the I2C-USB Bridge circuit's firmware. J14 Power Source Selection Jumper Closed 2, 3 –...
  • Page 8 J4 - A2 Pin Mode 1-2 (I): I/O mode (default) 2-3 (S): Strong Address 3-4 (W): Weak Address J5 - A2 High/Low Select 1-2 (H): Pull up (default) 2-3 (L): Pull down J6 - A1 Pin Mode 1-2 (I): I/O mode (default) 2-3 (S): Strong Address 3-4 (W): Weak Address J7 - A1 High/Low Select...
  • Page 9: I2C Port Expander Address Select Examples

    I2C Port Expander Address Select Examples I2C Port Expander Address Example 1 To set the I2C address to 0x40 (0100000), set A0 to Strong Pull Down using jumpers J8 and J9. The other address pins are made available for use as GPIO by placing J2, J4 and J6 to the I (I/O) position. The resulting I2C address is: Expander Address Pins I2C Address Bits...
  • Page 10: I2C Port Expander Address Example 3

    I2C address is set to 0x46. I2C Port Expander Address Example 3. To set the I2C address to 0x56 (0101110), set A0 to Weak Pull Down, A1 to Weak Pull Up, A2 to Weak Pull Down, and A3 to Strong Pull Up. The resulting I2C address is: Expander Address Pins I2C Address Bits Bit Value...
  • Page 11: Demonstration Example Scripts

    Demonstration Example Scripts Script 1 1 kHz tone to speaker. Address is 0x42. Install Jumper J1. s42 28 03 04 25 10 3 ;select and configuring PWM s42 0A FF ;select output port register s42 18 02 ;select the Gport to be configured s42 1c 00 ;configure port as output s42 1a FF...
  • Page 12: I2C Port Expander Board Schematics

    I2C Port Expander Board Schematics I2C Port Expander Lite Demo Kit Guide...
  • Page 13 I2C Port Expander Lite Demo Kit Guide I2C Port Expander Lite Demo Kit Guide...