|
AMIS-49587 Datasheet, PDF (26/59 Pages) ON Semiconductor – Power Line Carrier Modem | |||
|
◁ |
AMISâ49587
LOCAL TRANSFER AND CONFIGURATION COMMANDS (LTC)
DESCRIPTION
The Local Transfer and Configuration Commands (LTC)
supplies the following services:
⢠WriteConfigNew_Request: This command is used by
the Base Micro to set the configuration in the
AMISâ49587. The AMISâ49587 does not need to be
reset before but some parameters cannot be changed
without a reset
⢠WriteConfigNew_Confirm: This command is sent by
the AMISâ49587 to answer to a correct
WriteConfigNew_Request. Its data is the result of the
memory and register reading.
WriteConfigNew_Error: This commands is sent by the
AMISâ49587 to answer to an incorrect
WriteConfigNew_Request. It contains an Error_Code
that indicates which error has been detected.
⢠TestMode_Request: This command is used by the
Base Micro to put the AMISâ49587 in a special mode.
It is used to perform tests on emission level.
⢠Reset_Request: The Reset_Request is used to reset the
AMISâ49587 by software when the Base Micro wants
to do it.
⢠Synchro_Indication: This command is sent by the
AMISâ49587 to inform about the new synchronization
state. Three possibilities could be performed:
synchronization found, synchronization confirmed, and
synchronization lost. Specific data are associated with
each command.
⢠Desynchro_Request: This command is used by the
Base Micro to set the AMISâ49587 in the not
synchronized state and therefore it starts looking for the
synchronization.
CONFIGURATION COMMANDS
Description
The configuration allows to send to AMISâ49587 all the
parameters it needs to work correctly. Most of these
parameters are also accessible by a WriteDB_request.
The configuration version 3 is the same as the one used on
the previous versions of AMISâ49587, but some additional
functionalities are available. To ensure a perfect
compatibility with the old versions, make sure that:
⢠the bits corresponding to the number of alarm
repetitions are set to 0 (to disable the alarm
functionality)
⢠the bit corresponding to Bad CRC Frame transmitting is
set to 0 (to disable this functionality)
⢠The bits corresponding to the baudrate are set to 10 for
1200 bauds (since 11 will put the AMISâ49587 at 2400
bauds)
⢠The bits corresponding to the Search Method and SINC
Filter are set to 0
⢠Intelligent synchronization
The configuration version 4 enables is a bit different than
the version 3, and it enables one more functionality : the
intelligent synchronization. All the new functionalities are
also available with this configuration as well as with
configuration version 3.
WriteConfigNew_Request (Tag 71h)
Description: The field Data_Config contains the future configuration of the AMISâ49587 (36 bytes). This field is structured
as shown in 7.4.4.
Syntax:
Not Set
Initiator
Command (arguments)
Possible Response
Base Micro
WriteConfigNew_Request (Data_Config)
WriteConfigNew_confirm (Data_Config_Echo)
WriteConfigNew_Error (Error_Code)
Since the AMISâ49587 has no nonâvolatile RAM memory, the information about the chip configuration are lost after each
hard or soft reset and also after a power up.
Therefore the AMISâ49587 software waits for a WriteConfig_Request or WriteConfigNew_Request after each reset. The
software remains in this state until the configuration is correctly received.
Frame Format:
<STX>
Length
<WriteConfigNew_Request>
Data_Config
CHK
Notice: New Functionality: This command can be used to modify several parameters of the AMISâ49587 at the same time,
even if AMISâ49587 is configured yet. This avoids the use of several successive Write_Db.Request. If the AMISâ49587 is
set yet, some parameters cannot be changed any more and wonât be taken into account. The AMISâ49587 will return a
WriteConfig_Error if the Base Micro tries to modify one of these parameters:
http://onsemi.com
26
|
▷ |