AMIS49587
http://onsemi.com
46
7.4
SEND AND RECEIVE NETWORK DATA WITH
THE AMIS49587
The data path should be implemented like specified in IEC
6133451. The MAC layer is implemented by the
AMIS49587, the LLC layer should be implemented by the
external processor (See Figure
29).Figure
34 shows how a complete frame like it shows up on
the power line (Physical Layer Frame) is composed of a
MAC Layer Frame, taken care of by the AMIS49587,
encapsulating a LLC Layer Frame that should be provided
by the external processors LLC layer.
Note that IEC 6133451 specifies that the maximum
length of a MAC layer frame is only 38 bytes. The maximum
number of bytes that the AMIS49587 accepts in one
transmit command is 242 bytes. The AMIS49587 takes
care of splitting these 242 bytes in smaller chunks,
encapsulate them in correct frames and send them over the
power line.
The “Frame Indicator” and the “Number of the subframe”
fields are omitted when the MAC frame is sent to the
external processor since they don’t contain useful
information to the LLC layer.
Figure 34. Power Line Data Frame Structure (IEC 6133451)
Preamble
0xAAAA
Delimiter
0x54C7
Frame indicator
16 bit
Header
56 bit
M_SDU
208 bit
# Subframes
16 bit
Initial
Credit
3 bit
Current
Credit
3 bit
Delta
Credit
3 bit
Source Address
12 bit
Destination Address
12 bit
Pad Length
8 bit
PAD
# bit as needed
FCS
24 bit
LCC Layer Frame
MAC Layer Frame
Physical Layer Frame
Table 46. DATA PATH COMMANDS AND RESPONSES
Command
Unsolicited*
Initiator
Valid Command in Mode:
Code
MA_DATA_Indication
√
AMIS49587 (MAC_Frame)
Master / Slave
50h
MA_DATA_Request
no
Application micro controller (MAC_Frame)
Master / Slave
51h
MA_DATA_Confirm
no
AMIS49587 (Transmission_Status)
Master / Slave
52h
MA_DATA_Indication_Bad_CRC
√
AMIS49587 (MAC_Frame)
Master / Slave
53h
ISA_Request
no
Application micro controller (Data_ISA)
Master / Slave
61h
ISA_Confirm
no
AMIS49587 (Transmission_Status)
Master / Slave
62h
SPY_No_SubFrame
√
AMIS49587 (SpyData)
Monitor
A0h
SPY_SubFrame
√
AMIS49587 (SpyData, PHY_sdu)
Monitor
B0h
SPY_Search_Synchro
√
AMIS49587 ()
Monitor
C0h
SPY_Synchro_Found
√
AMIS49587 (SpyData)
Monitor
D0h
Spy_Alarm_Found
√
AMIS49587 (SpyData, AlarmPattern)
Monitor
F0h
Spy_No_Alarm_Found
√
AMIS49587 (SpyData, AlarmPattern)
Monitor
E0h
Synchro_Indication
√
AMIS49587 (Synchro_Data)
Master / Slave
10h
Desynchro_Request
no
Application micro controller ()
Master / Slave / Monitor
11h
AccessDB_Request
no
Application micro controller (DB_Data_Id)
Master / Slave
41h
AccessDB_Confirm
no
AMIS49587 (DB_Data_Id_Echo)
Master / Slave
42h
AccessDB_Error
no
AMIS49587 (Error_Code)
Master / Slave
43h
*An unsolicited message is a message that is originating from the AMIS49587, based upon an AMIS49587 internal event. The message is
not provoked by a prior command sent by the external processor.