AMIS−49587
www.onsemi.com
31
T_REQ
RxD
TxD Status Message
Local Frame from Base Micro
ACK
t
POLL
t
ACK
t
SR
Figure 26. Transfer from Application Microcontroller to AMIS−49587
If the length and the checksum of the local frame are both
correct, the AMIS−49587 acknowledges with an <ACK>
character. In other cases, it answers with a <NAK>
character. In case of <NAK> response, or no
acknowledgement from AMIS−49587 in the t
ACK
time−out,
a complete sequence must be restarted to repeat the frame.
6.4.6 Transfer from AMIS−49587 to Application
Microcontroller
When the AMIS−49587 wants to send a frame, it can
directly send it without any previous request.
T_REQ
RxD
TxD
NAK
Local Frame from
AMIS49587
Local Frame from
AMIS49587
ACK
t
ACK
t
WBC
t
ACK
t
WBC
Local Frame from
AMIS49587
Figure 27. Transfer from AMIS−49587 to Application Microcontroller
If the length and the checksum of the local frame are both
correct, the application micro controller acknowledges with
an <ACK> character. In other cases, it answers with a
<NAK> character. In case of <NAK> response from the
Application micro controller, the AMIS−49587 will repeat
the frame only once after a delay corresponding to t
WBC
(Wait Before Continue). A non response from the
application micro controller or a framing error when an
<ACK> character is awaited is considered as an
acknowledgment.
6.4.7 Character Time−out in Reception
The time between two consecutive characters in a local
frame should not exceed t
IC
(Time−out Inter Character):
CharacterCharacter
t
IC
t
Figure 28. Character Time−out
AMIS−49587
www.onsemi.com
32
After this delay, the frame reception is finished. If the
length and the checksum are both correct, the local frame is
taken in account otherwise all previous characters are
discarded. The time out Inter Character (t
IC
) is set by default
at 10 ms after a reset. The time out Inter character (t
IC
) is
modified by the bit 7 of repeater parameter in the
configuration frame:
bit 7 = 1 −> the t
IC
value is constant at 10 ms,
bit 7 = 0 −> the t
IC
value represents 5 characters
depending on the communication speed (defined by
two local input ports BR0 and BR1).
See Table 29: Timings for Time−out Values.
Table 29. TIME-OUT VALUES
Time-out Meaning Value
Tpoll Delay max. awaited by the base micro between the T_REQ pull down
and the status message transmission (delay polling)
20 ms
Tsr Delay max. awaited by the AMIS−49587 between the end of the status
transmitting and the reception of the STX character in the base micro
frame (delay status/reception)
200 ms
Tack Delay max. awaited by either the AMIS−49587 or the base micro
between the end of a transmitting and the reception of the ACK or NAK
character sent by the other (delay ACK).
40 ms
Twbc Delay max. awaited by either the AMIS−49587 or the base micro
between the end of a reception and the transmission of the next frame
(delay waiting before continue).
5 ms
Tic Delay max. awaited by either the AMIS 49587 or the
base micro between two characters
(delay inter characters)
Programmable with bit 7 of the repeater parameter in the
configuration frame
Bit 7 = 1 10 ms
Bit 7 = 0
4800 baud 10 ms
9600 baud 5 ms
19200 baud 2.5 ms
38400 baud 1.25 ms
6.4.8 Watchdog
The watchdog supervises the ARM and in case the
firmware doesn’t acknowledge at periodic times, a hard
reset is generated.
6.4.9 Configuration Registers
A number of configuration registers can be accessed by
the user by sending a WriteConfig_Request over the SCI
interface. See also paragraph Configuration of the
AMIS−49587. An overview of the accessible configuration
registers is given below:
R_CONFIG register configures the AMIS_49587 in the
correct mode. The R_CONFIG register is controlled by the
embedded software and can be accessed via a
WriteConfig_Request.
Table 30. R_CONF[9:0] (See Table 41: Configuration Parameters)
ARM Register Hard Reset Soft Reset Description
R_CONF[7] 0 TX_DATA_PRE_SLOT_SEL
R_CONF[5:3] 000 MODE
R_CONF[2:1] 00 BAUDRATE
R_CONF[0] 0 MAINS_FREQ
Where:
TX_DATA_PRE_SLOT_SEL: 0: TX_DATA/PRE_SLOT is PRE_SLOT output pin
1: TX_DATA/PRE_SLOT is TX_DATA output pin
MODE: 000: Initialization
001: Master Mode
010: Slave Mode
011: Reserved
1xx: Test Mode
BAUDRATE: 00: 6 data bits per mains period = 300 baud @ 50 Hz
01: 12 data bits per mains period = 600 baud @ 50 Hz
10: 24 data bits per mains period = 1200 baud @ 50 Hz
AMIS−49587
www.onsemi.com
33
11: 48 data bits per mains period = 2400 baud @ 50 Hz
MAINS_FREQ: 0: 50 Hz
1: 60 Hz
R_FS and R_FM step registers are defining the space and mark frequency. Explanation on the values can be found in paragraph
Sine wave generator. This register can be accessed via a WriteConfig_Request.
Table 31. FS AND FM STEP REGISTERS (See Table 41: Configuration Parameters)
ARM Register
Hard Reset Soft Reset Description
R_FS[15:0] 0000h 0000h Step register for the space frequency f
S
R_FM[15:0] 0000h 0000h Step register for the mark frequency f
M
R_ZC_ADJUST register defines the value which is pre−loaded in the PLL counter. This is used to fine tune the phase
difference between HIP_CLK, CIP_CLK and the – to + zero crossing of the mains. Explanation on the values can be found
in paragraph 50/60 Hz PLL. This register can be accessed via a WriteConfig_Request.
Table 32. ZC_ADJUST REGISTERS (See Table 41: Configuration Parameters)
ARM Register
Hard Reset Soft Reset Description
R_ZC_ADJUST[7:0] 02h 02h Fine tuning of phase difference between CHIP_CLK and rising
edge of Mains zero crossing
R_ALC_CTRL register enables or disables the Automatic Level Control. In case ALC is disabled the attenuation of the TX
output driver is fixed according to the value in R_ALC_CTRL[2:0]. Explanation on the attenuation values can be found in
paragraph Amplifier with Automatic Level Control. This register can be accessed via a WriteConfig_Request.
Table 33. ALC_CTRL REGISTERS (See appendix C)
ARM Register
Hard Reset Soft Reset Description
R_ALC_CTRL[3:0] 00h 00h Control register for the automatic level control
Where:
R_ALC_CTRL[3]: 0: Automatic level control is enabled
1: Automatic level control is disabled and attenuation is fixed
R_ALC_CTRL[2:0]: Fixed attenuation value
Table 34. FIXED TRANSMITTER OUTPUT
ATTENUATION
ALC_CTRL[2:0] Attenuation
000 0 dB
001 −3 dB
010 −6 dB
011 −9 dB
100 −12 dB
101 −15 dB
110 −18 dB
111 −21 dB
6.4.10 Reset and Low Power
AMIS−49587 has 2 reset mode: hard reset and soft reset.
The hard reset initializes the complete IC (hardware and
ARM) excluding the data RAM for the ARM. This makes
sure that start−up of hardware and ARM is guaranteed. A
hard reset is active when pin RESB = 0 or when the power
supply V
DD
< V
POR
(See Table 14 Power On Reset). When
switching on the power supply the output of the crystal
oscillator is disable until a few 1000 clock pulses have been
detected, this to enable the oscillator to start up.
The soft reset initializes part of the hardware. The soft
reset is activated when going into initialization mode for the
duration of maximum 1 CHIP_CLK. Initialization mode is
entered by R_CONF[5:3] = 000.
The concept of AMIS−49587 has a number of provisions
to have low power consumption. When working in transmit
mode the analogue receiver path and most of the digital
receive parts are disabled. When working in receive mode
the analog transmitter and most of the digital transmit parts,
except for the sine generation, are disabled.
When the pin RESB = 0 the power consumption is
minimal. Only a limited power is necessary to maintain the
bias of a minimum number of analog functions and the
oscillator cell.

AMIS49587C5871RG

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