cy8c20111 Cypress Semiconductor Corporation., cy8c20111 Datasheet - Page 21

no-image

cy8c20111

Manufacturer Part Number
cy8c20111
Description
Manufacturer
Cypress Semiconductor Corporation.
Datasheet
7.27 CS_READ_STATUS
CS_READ_STATUS: 88h
This register gives the sensor ON/OFF status. A bit ‘1’ indicates sensor is ON and ‘0’ indicates sensor is OFF.
7.28 COMMAND_REG
COMMAND_REG: A0h
Commands are executed by writing the command code to the command register.
Document Number: 001-53516 Rev. **
Bit
1:0
Bit
7:0
00h
01h
02h
03h
Command
Access: FD
Access: FD
Access: FD
1/2 Button
1 Button
Bit Name
2 Button
Bit Name
Bit Name
Code
Sensor On Status Register
Command Register
Get Firmware Revision
Store Current Configu-
ration to NVM
Restore Factory
Configuration
Write POR Defaults
Name
BT_ST [1:0]
Name
Cmnd [7:0]
7
7
7
Name
6
6
6
The I
after writing this command returns the firmware revision. The upper nibble of the
firmware revision byte is the major revision number and the lower nibble is the minor
revision number.
The current register settings are saved in nonvolatile memory (Flash). This setting is
automatically loaded after the next device reset/power up or if the Reconfigure Device
(06h) command is issued.
Replaces the saved user configuration with the factory default configuration. Current
settings are unaffected by this command. New settings are loaded after the next device
reset/power up or if the 06h command is issued.
Sends new power up defaults to the CapSense controller without changing current
settings unless the 06h command is issued afterwards. This command is followed by
123 data bytes according to the POR Default Data Structure table. The CRC is calculated
as the XOR of the 122 data bytes (00h-79h). If the CRC check fails or an incomplete
block is sent, the slave responds with an ACK and the data is NOT saved to Flash.
To define new POR defaults:
Write command 03h
Write 122 data bytes with new values of registers (use the _flash.iic file generated
from s/w tool)
Write one CRC byte calculated as XOR of previous 122 data bytes
2
5
5
5
PRELIMINARY
C buffer is loaded with the one byte firmware revision value. Reading one byte
Description
These bits used to represent sensor status.
0
1
Refer to the following table for command register opcodes.
Description
4
4
4
Cmnd [7:0]
W: 00
Sensor OFF
Sensor ON
3
3
3
Description
2
2
2
CY8C20111, CY8C20121
1
1
1
BT_ST[1:0]
R: 00
BT_ST[0]
R: 0
0
0
0
Page 21 of 34
[+] Feedback

Related parts for cy8c20111