AMIS−49587
www.onsemi.com
46
Confirm Format:
<STX> 0x06(Length) 0x42 (AccessDB_Confirm) 0x1300 Soft Version (1 byte) CHK
7.3.5.15 Min−ReceivingGain
This request is used to modify the Min Receiving Gain of the AMIS−49587. The Min Receiving Gain can be set from 1 to
42 dB by step of step 6 dB, or unlimited. The data value for the request is in the field 01 to 0F by step of 2, it indicates a Min
Receiving Gain of ((N − 1) / 2) * 6 dB; or 00, which indicates that the Min Receiving Gain is not used. The data value for the
Confirm is in the field 00 to 07, indicating a Min Receiving Gain of (N * 6) dB, or 08, which indicates an unlimited Max
Receiving Gain.
Request Format:
<STX> 0x06(Length) 0x41 (AccessDB_Request) 0x1400 Min Receiving Gain (1 byte) CHK
Confirm Format:
<STX> 0x06(Length) 0x42 (AccessDB_Confirm) 0x1400 Min Receiving Gain (1 byte) CHK
7.3.5.16 Gain Search Initiator
This request is used to modify the value of the Gain Search Initiator.
Request Format:
<STX> 0x06(Length) 0x41 (AccessDB_Request) 0x1500 Gain Search Initiator (1 byte) CHK
Confirm Format:
<STX> 0x06(Length) 0x42 (AccessDB_Confirm) 0x1500 Gain Search Initiator (1 byte) CHK
7.3.6 AccessDB_Confirm
Like already described in AccessDB_Request, on success the MODEM answers with a AccessDB_Confirm frame.
Frame Format:
<STX> Length 0x42 (AccessDB_Confirm) DB_Data_Id_Echo CHK
7.3.7 AccessDB_Error
If any error occurs during AccessDB_Request, the MODEM answers with a AccessDB_Error frame.
Frame Format:
<STX> Length 0x43 (AccessDB_Error) Error_Code CHK
Table 45. AccessDB_Request ERROR CODES
Error Identifier Error_Code
ERR_UNAVAILABLE_RESOURCE 0x11
ERR_REQUEST_NOT_ALLOWED 0x12
ERR_UNAVAILABLE_MODE 0x21
ERR_ILLEGAL_DATA_COMMAND 0x22
ERR_ILLEGAL_LOCAL_MAC_ADR 0x23
ERR_ILLEGAL_INITIATOR_MAC_ADR 0x24
ERR_UNAVAILABLE_COMMAND 0x25
AMIS−49587
www.onsemi.com
47
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.
Figure 34. Power Line Data Frame Structure (IEC 61334−5−1)
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 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.
AMIS−49587
www.onsemi.com
48
7.4.1 MA_DATA_Indication
AMIS4958x
Command
Interpreter
External CPU
MA_DATA_Indicator(0x50)
AMIS4958x
Phy MAC layer
Received data OK
Figure 35. Sequence Diagram for MA_DATA_Indication
The MA_Data_Indication is sent from the AMIS−49587 (Client or Server) to the external controller to deliver the received
DLC frame.
Frame Format:
<STX> Length MA_Data_Indication > MAC_Frame CHK
7.4.2 MA_DATA_Request
AMIS4958x
Command
Interpreter
External CPU
MA_DATA_Request(0x51)
MA_DATA_Confirm(0x52)
With status fail
AMIS4958x
Phy MAC layer
MA_SendData
Send NOK
Send OK
MA_DATA_Confirm(0x52)
With status success
Figure 36. Sequence Diagram for MA_DATA_Request
The MA_Data_Request is sent from the external controller LLC layer to the AMIS−49587 local MAC sub−layer to request
a DLC frame transmission. This request must be received by the AMIS−49587 in the time−slot preceding the transmitting
one.
When the AMIS−49587 receives in the same time (same time−slot) an MA_Data_Request from the external controller and
a frame made up of one sub−frame with a repetition credit at zero from the mains, it ignores the frame received from the mains.
In all other conflict cases, it refuses the application micro controller request.
Frame Format:
<STX> Length 0x51 (MA_Data_Request) MAC_Frame CHK

AMIS49587C5871G

Mfr. #:
Manufacturer:
ON Semiconductor
Description:
Network Controller & Processor ICs C587- NAF- AMIS49587
Lifecycle:
New from this manufacturer.
Delivery:
DHL FedEx Ups TNT EMS
Payment:
T/T Paypal Visa MoneyGram Western Union