CY8CPLC10 Cypress Semiconductor, CY8CPLC10 Datasheet - Page 10

no-image

CY8CPLC10

Manufacturer Part Number
CY8CPLC10
Description
Powerline Communication Solution
Manufacturer
Cypress Semiconductor
Datasheet
www.DataSheet.in
External Host Application
The application residing on the external host microcontroller has
direct access to the local PLC memory over I
nication enables the host controller to instantiate several PLC
functions by reading or writing to the appropriate memory
locations in the PLC chip. Thus the host application can
configure the CY8CPLC10, read status and configuration infor-
mation, and transmit data to remote Powerline nodes. Refer to
the CY8CPLC10 application note (AN52478) on how to build a
PLC command set using the CY8CPLC10 memory map. The
device has a dedicated pin (I2C_ADDR) for selecting the I
slave address while communicating with the external controller.
The two I
The PLC commands can be classified into two types based on
which Powerline node they are designated to: local node or
remote node.
Local Commands
These commands act solely on the attached local PLC device.
No transmissions are sent over the Powerline to a remote PLC
device when executing these local transceiver commands.
These commands are used for configuring the local PLC node
such as setting the local logical address or reading the status and
configuration information.
Table 5. Remote Commands
Document Number: 001-50001 Rev. *D
0x01
0x02
0x03
0x04
0x05
0x06
Cmd ID
2
C slave addresses available are 0x01 and 0x7F.
SetRemote_TXEnable
SetRemote_Reset
SetRemote_ExtendedAddr
SetRemote_LogicalAddr
GetRemote_LogicalAddr
GetRemote_PhysicalAddr
Command Name
Sets the TX Enable bit in the
PLC Mode Register. Rest of the
PLC Mode register is
unaffected
Reset the Remote Node
Configuration
Set the Addressing to
Extended Addressing Mode
Assigns the specified logical
address to the remote PLC
node
Get the Logical Address of the
remote PLC node
Get the Physical Address of the
remote PLC node
2
C. The I
Description
2
C commu-
2
C
Remote Commands
These commands initiate transmission over the Powerline to a
remote PLC node. These commands when instantiated over I
enable the host application to send and receive data over
Powerline. Along with the data payload, the I
carry additional information for the Powerline transmission to a
remote node:
Variable header and payload definitions enable flexibility in appli-
cation development. The available remote commands are
described in
EEPROM Back Up for Remote Reset
The device also has an EEPROM to back up Memory Registers
0x00-0x05 and 0x30-0x32. When the device is reset remotely by
the SetRemote_Reset command (described in
its memory map and loads from the EEPROM and returns to idle
mode.
Destination address (8-bit logical, 16-bit extended logical, or
64-bit physical)
Transmission retries
Payload length
0 - Disable Remote TX
1 - Enable Remote TX
None
None
If Ext Address = 0,
Payload = 8-bit Logical
Address
If Ext Address = 1,
Payload = 16-bit
Logical Address
None
None
Payload (TX Data)
Table 5
with the respective Command IDs.
If Remote Lock Config = 0,
Response = 00 (Success)
If Remote Lock Config = 1,
Response = 01 (Denied)
If Remote Lock Config = 0,
Response = 00 (Success)
If Remote Lock Config = 1,
Response = 01 (Denied)
If Remote Lock Config = 0,
Response = 00 (Success)
If Remote Lock Config = 1,
Response = 01 (Denied)
If Remote Lock Config = 0,
Response = 00 (Success)
If Remote Lock Config = 1,
Response = 01 (Denied)
If Remote TX Enable = 0,
Response = None
If Remote TX Enable = 1,
If Remote TX Enable = 0,
Response = None
If Remote TX Enable = 1,
Response = 64-bit Physical
Address
{If Ext Address = 0, Response
= 8-bit Logical Address
If Ext Address = 1, Response
= 16-bit Logical Address}
Response (RX Data)
CY8CPLC10
Table
2
C packets also
Page 10 of 25
5), it clears
2
C
[+] Feedback

Related parts for CY8CPLC10