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.
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 –...
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...
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...
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...
Need help?
Do you have a question about the CY3242-IOXlite and is the answer not in the manual?
Questions and answers