CY8C201A0_12 CYPRESS [Cypress Semiconductor], CY8C201A0_12 Datasheet - Page 27

no-image

CY8C201A0_12

Manufacturer Part Number
CY8C201A0_12
Description
Manufacturer
CYPRESS [Cypress Semiconductor]
Datasheet
Appendix
Examples of Frequently Used I
Document Number: 001-54607 Rev. *G
1
2
3
4
5
6
7
8
8
9
10
Note
S. No.
19. The ‘W’ indicates the write transfer and the next byte of data represents the 7-bit I2C address. The I2C address is assumed to be ‘0’ in the above examples. Similarly
‘R’ indicates the read transfer followed by 7-bit address and data byte read operations.
Enter into setup mode
Enter into normal mode
Load factory defaults to RAM
registers
Do a software reset
Save current configuration to flash
Load factory defaults to RAM
registers and save as user
configuration
Enable GP00/01/02/03/04/05 and
GP10 as CapSense button
Enable 5 segment slider
Read CapSense button (GP10) scan
results
Read CapSense button status
register
Read Slider Centroid position
Requirement
2
C Commands
R 00 RD RD RD RD
I
2
C commands
W 00 06 1F 01
R 00 RD RD
W 00 A0 08
W 00 A0 07
W 00 A0 02
W 00 A0 08
W 00 A0 06
W 00 A0 01
W 00 A0 08
W 00 A0 02
W 00 A0 01
W 00 A0 06
W 00 A0 08
W 00 A0 01
W 00 A0 06
W 00 75 01
W 00 81 81
R 00 RD
W 00 8A
W 00 82
W 00 89
RD RD
[19]
Enter into setup mode
Do software reset
Enter into setup mode
Load factory defaults to SRAM
Save the configuration to flash. Wait for time specified in
CapSense Express Commands on page
Do software reset
Enter into setup mode
Configuring CapSense buttons
Save the configuration to flash. Wait for time specified in
CapSense Express Commands on page
Do software reset
Enable 5 segment slider
Select CapSense button for reading scan result
Set the read point to 82h
Consecutive 6 reads get baseline, difference count and raw
count (all two byte each)
Set the read pointer to 89
Reading a byte gets status CapSense inputs
Set the read pointer to 8A
Reading a byte gets slider Centroid position
Comment
CY8C201A0
14.
14.
Page 27 of 38

Related parts for CY8C201A0_12