AMIS−49587
www.onsemi.com
28
Communication Controller
ARM
Risc
Core
POR
Watchdog
Timer 1 & 2
Interrupt
Control
Data
RAM
RESB
TEST
TX_ENB
TDI
TDO
TMS
TRSTB
TCK
Test
Control
FROM
RECEIVER
TO
TRANSMIT
Serial
Comm.
Interface
Local Port
RX_DATA
TxD
RxD
T_REQ
BR0
BR1
CRC
TX_DATA / PRE_SLOT
Program
ROM
Figure 23. Communication Controller
6.4.1 Local Port
The controller uses 3 output ports to inform the actual
status of the PLC communication. RX_DATA indicates if
AMIS−49587 is waiting for its configuration, if it is in
research of synchronization, or if it is receiving data. CRC
indicates if the received frames are valid: the cyclic
redundancy code (CRC) is correct. TX_DATA/PRE_SLOT
is the output for either the transmitting data (TX_DATA) or
a synchronization signal with the time−slots (PRE_SLOT).
AMIS−49587
www.onsemi.com
29
Table 27. OVERVIEW FUNCTIONALITY LOCAL PORT
Port Function Value Explanation Remark
RX_DATA Data reception
10 Hz Waiting for configuration Output is oscillating
0 After Synchro Confirm Time−out
1 Research of synchronization
CRC CRC OK
0
1 During the pause between 2 timeslots when a correct
frame is received
See paragraph Send
and Receive
Network Data with
the AMIS−49587
TX_DATA /
PRE_SLOT
TX_DATA
0 Transmit of f
S
R_CONF[7] = 1
1 Transmit of f
M
PRE_SLOT
0 See Figure 16: Timing Signals
R_CONF[7] = 0
1 See Figure 16: Timing Signals
6.4.2 Serial Communication Interface (SCI)
The Serial Communication Interface allows
asynchronous communication. It can communicate with a
UART = Universal Asynchronous Receiver Transmitter,
ACIA = Asynchronous Communication Interface Adapter
and all other chips that employ standard asynchronous serial
communication. The serial communication interface has
following characteristics:
Half duplex.
Standard NRZ format.
Start bit, 8 data bits and 1 stop bit.
Hardware programmable baud−rate (4800, 9600,
19200 and 38400 baud).
0−5 V levels with open drain for TxD.
0−5 V levels for RxD and T_REQ.
Communication Controller
ARM
Risc
Core
Serial
Comm.
Interface
Local Port
RX_DATA
TxD
RxD
T_REQ
BR0
BR1
CRC
TX_DATA /
PRE_SLOT
Application
Micro
Controller
AMIS− 49587
Figure 24. Connection to the Application Microcontroller
AMIS−49587
www.onsemi.com
30
6.4.3 Serial Communication Interface Physical Layer
Description
The following pins control the serial communication
interface.
TXD: Transmit data output.
It is the data output of the AMIS−49587 and the input of the
application micro controller.
RXD: Receive data input.
It is the data input of the AMIS−49587 and the output of the
application micro controller.
T_REQ:Transmit Request input
Request for data transmission received from the application
micro controller.
BR0, BR1: Baud rate selection inputs.
These pins are externally strapped to a value or controlled by
the external application micro controller.
Table 28. BR1, BR0 BAUD RATES
BR1 BR0 SCI Baud Rate
0 0 4800
0 1 9600
1 0 19200
1 1 38400
t
BIT
IDLE (mark) LSB MSB IDLE(mark)
t
BIT8 data bits
1 character
D0Start D1 D2 D3 D4 D5 D6
D7 Stop
Figure 25. Data Format
6.4.4 Arbitration and Transfer
In order to avoid collisions between the data sent by the
AMIS−49587 and the application micro controller, the
AMIS−49587 is chosen as the transmitting controller. This
means that when there is no local transfer, the AMIS−49587
can initiate a local communication without taking account of
the application micro controller state. On the other hand,
when the application micro controller wants to send data
(using a local frame), it must first send a request for
communication through the local input port named T_REQ
(Transmitting Request). Then the AMIS−49587 answers
with a status message.
6.4.5 Transfer from Application Microcontroller to
AMIS−49587
When the application micro controller wants to initiate a
local transfer, it must pull down the T_REQ signal. The
AMIS−49587 answers within the t
POLL
delay with the status
message in which the application micro controller can read
if the communication channel is available. If the
communication is possible, the application micro controller
can start to send its local frame within the t
SR
delay. It should
pull up the T_REQ signal as soon as the first character (STX)
has been sent. If the beginning of the local frame is not
received before the t
SR
delay was issued, the AMIS−49587
ignores the local frame. At the end of the data reception sent
by the application micro controller on the RxD line, the
AMIS−49587 sends a byte on the TxD line in order to inform
about the status of the transmitting <ACK> (=0x06) or
<NAK> (=0x15).
Remark: If the application micro controller only wants to
know the state of the AMIS−49587, it has just to pull up the
T_REQ signal after the reception of the status message.

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