|
AMIS-49587_15 Datasheet, PDF (47/56 Pages) ON Semiconductor – Power Line Carrier Modem | |||
|
◁ |
AMISâ49587
7.4 SEND AND RECEIVE NETWORK DATA WITH
THE AMISâ49587
The data path should be implemented like specified in IEC
61334â5â1. The MAC layer is implemented by the
AMISâ49587, 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 AMISâ49587,
encapsulating a LLC Layer Frame that should be provided
by the external processors LLC layer.
Note that IEC 61334â5â1 specifies that the maximum
length of a MAC layer frame is only 38 bytes. The maximum
number of bytes that the AMISâ49587 accepts in one
transmit command is 242 bytes. The AMISâ49587 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.
Preamble
0xAAAA
Delimiter
0 x54C7
Frame indicator
16 bit
Physical Layer Frame
MAC Layer Frame
LCC Layer Frame
Header
56 bit
M _ SDU
208 bit
PAD
# bit as needed
FCS
24 bit
# Subframes
16 bit
Initial
Credit
3 bit
Current
Credit
3 bit
Delta
Credit
3 bit
Source Address Destination Address Pad Length
12 bit
12 bit
8 bit
Figure 34. Power Line Data Frame Structure (IEC 61334â5â1)
Table 46. DATA PATH COMMANDS AND RESPONSES
Command
Unsolicited*
Initiator
Valid Command in Mode: Code
MA_DATA_Indication
â
AMISâ49587 (MAC_Frame)
Master / Slave
50h
MA_DATA_Request
no
Application micro controller (MAC_Frame) Master / Slave
51h
MA_DATA_Confirm
no
AMISâ49587 (Transmission_Status)
Master / Slave
52h
MA_DATA_Indication_Bad_CRC
â
AMISâ49587 (MAC_Frame)
Master / Slave
53h
ISA_Request
no
Application micro controller (Data_ISA)
Master / Slave
61h
ISA_Confirm
no
AMISâ49587 (Transmission_Status)
Master / Slave
62h
SPY_No_SubFrame
â
AMISâ49587 (SpyData)
Monitor
A0h
SPY_SubFrame
â
AMISâ49587 (SpyData, PHY_sdu)
Monitor
B0h
SPY_Search_Synchro
â
AMISâ49587 ()
Monitor
C0h
SPY_Synchro_Found
â
AMISâ49587 (SpyData)
Monitor
D0h
Spy_Alarm_Found
â
AMISâ49587 (SpyData, AlarmPattern)
Monitor
F0h
Spy_No_Alarm_Found
â
AMISâ49587 (SpyData, AlarmPattern)
Monitor
E0h
Synchro_Indication
â
AMISâ49587 (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
AMISâ49587 (DB_Data_Id_Echo)
Master / Slave
42h
AccessDB_Error
no
AMISâ49587 (Error_Code)
Master / Slave
43h
*An unsolicited message is a message that is originating from the AMISâ49587, based upon an AMISâ49587 internal event. The message is
not provoked by a prior command sent by the external processor.
www.onsemi.com
47
|
▷ |