CY3242-IOXLITE Cypress Semiconductor Corp, CY3242-IOXLITE Datasheet - Page 11

KIT EVAL PSOC I2C PORT EXP

CY3242-IOXLITE

Manufacturer Part Number
CY3242-IOXLITE
Description
KIT EVAL PSOC I2C PORT EXP
Manufacturer
Cypress Semiconductor Corp
Series
PSoC®r
Datasheets

Specifications of CY3242-IOXLITE

Main Purpose
Interface, GPIO Expander
Embedded
Yes, MCU, 8-Bit
Utilized Ic / Part
CY8C24894, CY8C9520
Primary Attributes
8-Bit 20-Port GPIO Expander
Secondary Attributes
8 Switches, 11 LEDs
Silicon Manufacturer
Cypress
Application Sub Type
Expander
Kit Application Type
Interface
Silicon Core Number
CY8C9520, CY8C9540 And CY8C9560
Features
I2C Port Expander Lite Demo Kit
Lead Free Status / RoHS Status
Not applicable / Not applicable
Other names
428-2023
CY3242-IOXLITE
5.
5.1
1 kHz tone to speaker. Address is 0x42. Install Jumper J1.
s42 28 03 04 25 10 3
s42 0A FF
s42 18 02
s42 1c 00
s42 1a FF
s42 21 FF
5.2
Read switches states. Address is 0x42.
;Set up Port 0 to read switches
s42 08 00
s42 18 00
s42 1c ff
s42 1e ff
s42 00
s43 x
state
See the I2C Port Expander Data Sheet for more configuration details.
I2C Port Expander Lite Demo Kit Guide
Demonstration Example Scripts
Script 1
Script 2
;select and configuring PWM
;select output port register
;select the Gport to be configured
;configure port as output
;allow port to PWM output
;select strong drive
;Write to port 0 zeros
;select the Gport to be configured
;Set the port direction to input
;select Resistive pull Down drive
;start reading
;repeat this line for continuously reading button
11

Related parts for CY3242-IOXLITE