AMIS−49587
www.onsemi.com
49
Table 47. DESCRIPTION OF THE MAC_Frame FIELD
Field Name Length Value Description
Initial Credit 3 bits b7−b5 0h to 7h Initial Credit
Current Credit 3 bits b4−b2 0h to 7h Current Credit = Initial Credit
Delta Credit 2 bits b1,b0 0h to 3h Delta Credit is Received Delta Credit for Slave mode and 0 for
Master mode
Source Address 12 bits b23−b12
Not used Slave Mode (Filled by MAC layer)
000h to FFFh Master Mode
Destination Address 12 bits b11−b0 000h to FFFh Destination MAC address of the target station DLC
Pad length 1 byte Not used Filled by MAC layer
M_sdu up to 242 bytes MAC service data unit, the application data from the LLC layer
implemented in the external processor.
7.4.3 MA_DATA_Confirm
The MA_DATA_Confirm is sent from AMIS−49587 to a
external controller (SLAVE or MASTER) either as positive
acknowledgment when a MA_DATA_Request has
successfully been transmitted by the physical layer, or as
negative acknowledgment when the transmission has been
refused. The positive acknowledgment is sent after the
frame transmission on the mains and before the beginning of
the repetition (if the credit is higher than zero). The
Transmission_Status byte contains a value corresponding at
this positive or negative acknowledgment. The different
values for the Transmission_Status field are described
Table 48.
Table 48. TRANSMISSION STATUS
Field Name Value Description
OK FFh No error has been found
LM_TU1 00h MA Data Confirm NEG
Resources Temporary Unavailable at the MAC sub−layer
LM_SE 03h Syntax Error at the MAC sub−layer
LM_TU2 0Ah Command not authorized or Asic is not synchronized on the mains
LM_TU3 14h PLC buffer not free or Asic is busy
Resources Temporary Unavailable at the MAC sub−layer
LM_TU4 1Eh PLC buffer not free or Asic is busy
Resources Temporary Unavailable at the MAC sub−layer
Frame Format:
<STX> Length 0x52 (MA_Data_Confirm) Transmission_Status CHK
7.4.4 MA_DATA_Indication_Bad_CRC
The MA_Data_Indication_Bad_CRC is sent from the AMIS−49587 (Client or Server) to the external micro controller to
deliver an erroneous frame. This command is only used if the Bad CRC transmitting option is chosen during the configuration.
The frame with errors can be used by the external controller to analyze the faults.
Frame Format:
<STX> Length 0x53 (MA_Data_Indication_Bad_CRC) MAC_Frame CHK
7.4.5 SPY_No_SubFrame
The SPY_No_SubFrame is sent by the AMIS−49587 local PHY layer to indicate that a sub−frame has not been received
correctly, due to either a method not found, or a non recognition of the Start Sub−frame Delimiter (SSD).
Frame Format:
<STX> Length 0xA0 (SPY_No_SubFrame) SpyData CHK
AMIS−49587
www.onsemi.com
50
Table 49. DESCRIPTION OF THE SpyData FIELD
Field Name Length Description
S0 2 Bytes Value of the zero signal envelope
N0 2 Bytes Value of the zero noise envelope
S1 2 Bytes Value of the one signal envelope
N1 2 Bytes Value of the one noise envelope
Threshold 2 Bytes Indicates the threshold value for ASK method or the FSK factor.
Method 1 Byte Indicates the found method:
0 No method
1 ASK0
2 ASK1
3 FSK (S0 ^ S1)
4 FSK0 (S0 > S1)
5 FSK1 (S1 > S0)
PAD 1 Bit (b7) 0
Synchro_bit Value 3 Bits
(b6,b5,b4)
Synchronization bit value when synchronization was found
PAD 1 Bit (b3) 0
Reception Gain 3 Bits
(b2,b1,b0)
Indicates the gain value (0 to 7) used during the synchronization
7.4.6 SPY_SubFrame
The SPY_SubFrame is sent by the AMIS−49587 local PHY layer to indicate that a sub−frame has been correctly received.
All information concerning the reception conditions (SpyData) and the data (PHY_sdu) are supplied in this command. For the
format of the SpyData field, see Table 49.
Frame Format:
<STX> Length 0xB0 (Spy_SubFrame) SpyData Field, PHY_sdu CHK
7.4.7 SPY_Search_Synchro
The SPY_Search_Synchro is sent periodically by the AMIS−49587 local MAC sub−layer to indicate synchronization is in
progress.
Frame Format:
<STX> Length 0xC0 (Spy_Search_Synchro) CHK
7.4.8 SPY_Synchro_Found
The SPY_Synchro_Found is sent by the AMIS−49587 local MAC sub−layer as soon as it has correctly found
synchronization when it was receiving a sub−frame. Thus, it is now synchronized and it is waiting for another correct frame
for confirmation.
For the format of the SpyData field, see Table 49.
Frame Format:
<STX> Length 0xD0 (Spy_ Synchro_Found) SpyData CHK
7.4.9 Spy_Alarm_Found
The SPY_No_Alarm_Found is sent by the AMIS−49587 local MAC sub−layer at the end of a time−slot, when it has not found
an Alarm indication in the pause time.
For the format of the SpyData field, see Table 49.
The AlarmPattern has a length of 2 bytes.
Frame Format:
<STX> Length 0xF0 (SPY_ No_Alarm_Found) SpyData, AlarmPattern CHK
AMIS−49587
www.onsemi.com
51
7.4.10 Spy_No_Alarm_Found
The SPY_Alarm_Found is sent by the AMIS−49587 local MAC sub−layer as soon as it has correctly found a Alarm
indication in the pause time.
For the format of the SpyData field, see Table 49.
The AlarmPattern has a length of 2 bytes.
Frame Format:
<STX> Length 0xE0 (SPY__Alarm_Found) SpyData, AlarmPattern CHK
7.4.11 Synchro_Indication
AMIS4958x
Command
Interpreter
SLAVE ONLY
External CPU
Synchro_Indication(0x10)
Figure 37. Sequence Diagram for Synchro_Indication
The Synchro_Indication is sent by the AMIS−49587 in order to indicate that something has changed in the synchronization
state. The field Synchro_Data contains the change reason and data corresponding with this change.
Frame Format:
<STX> Length 0x10 (Synchro_Indication) Synchro_Data 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