NCN49599
www.onsemi.com
28
Communication Controller
ARM
Risc
Core
POR
Watchdog
Timer 1 & 2
Interrupt
Control
Program
ROM
RESB
PC20120530.4
FROM
RECEIVER
TO
TRANSMIT
Flash SPI
Serial
Comm.
Interface
TxD
RxD
BR0
BR1
Local Port
IO[9:0]
DATA /PRES
TEST
Test
Control
CSB
SDO
SDI
Data / Program
RAM
SEN
SCK
Figure 32. The communication controller is based on a standard ARM Cortex M0 core
The processor is an ARM Cortex M0 32−bit core with a
reduced instruction set computer (RISC) architecture,
optimized for IO handling. Most instructions complete in a
single clock cycle, including byte multiplication. The
peripherals include a watchdog, test and debug control,
RAM, ROM containing the boot loader, UART, two timers,
an SPI interface to optional external memory, I/O ports and
the power−on reset. The microcontroller implements
interrupts.
The 32 kB RAM contains the necessary space to store the
firmware and the working data. A full−duplex serial
communication block (the SCI section) allows interfacing to
the application microcontroller.
Local Port
Ten bidirectional general purpose input/output (GPIO)
pins (IO0..IO9) are provided. All general purpose IO pins
can be configured as an input or an output. In addition, the
firmware can emulate open−drain or open−source pins. All
pins are 5 V tolerant.
When the modem is booting, IO2 is configured as an input
and must be pulled low to enable uploading firmware over
the serial interface. At the same time, IO0 and IO1 are
configured as outputs and show the status of the boot loader.
A LED may be connected to IO0 to help with debugging.
After the firmware has been loaded successfully, IO0..IO2
become available as normal IOs.
Typically, the firmware provides status indication on
some IO pins; other IO pins remain available to the
application microcontroller as IO extensions.
The application microcontroller has also low−level access
to internal timing of the modem through the digital output
DATA/PRES pin. The function of this pin depends on the
register bit R_CONF[7].
If the bit is cleared (0), the preslot synchronization signal
(PRE_SLOT) appears on the pin.
If the bit is set (1), the modem outputs the baseband,
unmodulated, data. Thus, DATA/PRES is driven high when
a space symbol is being transmitted (i.e., the space
frequency f
S
appears on pin TX_OUT); it is driven low when
a mask symbol is transmitted (f
M
on TX_OUT).
Testing
A JTAG debug interface is provided for development,
debugging and production test. An internal pull−down
resistor is provided on the input pins (TDI, TCK, TMS, and
TRSTB).
In practice, the end user of the modem will not need this
interface; this input pins may be tied to ground
(recommended) or left floating; TDO should be left floating.
The pin TEST enables the internal hardware test mode
when driven high. During normal operation, it should be tied
to ground (recommended) or left floating.
Serial Communication Interface (SCI)
The Serial Communication Interface allows
asynchronous communication with any device
incorporating a standard Universal Asynchronous Receiver
Transmitter (UART).
The serial interface is full−duplex and uses the standard
NRZ format with a single start bit, eight data bits and one
stop bit (Figure 34). The baud rate is programmable from
9600 to 115200 baud through the BR0 and BR1 pins.
NCN49599
www.onsemi.com
29
t
BIT
IDLE (mark) LSB MSB IDLE (mark)
t
BIT8 data bits
1 character
PC20080523.3
D0Start D1 D2 D3 D4 D5 D6
D7 Stop
Figure 33. Data Format of the Serial Interface
Serial data is sent from the NCN49599 to the application
microcontroller on pin TxD; data is received on pin RxD.
Both pins are 5 V tolerant, allowing communication with
both 3.3 V−and 5 V−powered devices.
On the open−drain output pin TxD an external pull−up
resistor must be provided to define the logic high level
(Figure 34). A value of 10 kW is recommended. Depending
on the application, an external pull−up resistor on RxD may
be required to avoid a floating input.
V
SSD
+5V
Output
R
Figure 34. Interfacing to 5 V logic using a 5 V safe
output and a pull−up resistor
Communication Controller
ARM
Risc
Core
Serial
Comm.
Interface
TxD
RxD
BR0
BR1
Local Port
IO[7:0]
8
TXD/PRES
NCN49599
Application
Micro
Controller
3V3_D
Figure 35. Connection to the Application
Microcontroller
The baud rate of the serial communication is controlled by
the pins BR0 and BR1. After reset, the logic level on these
pins is read and latched; as a result, modification of the baud
rate during operation is not possible. The baud rate derived
from BR0 and BR1 is shown in Table 24.
Table 24. BR1, BR0 BAUD RATES
BR1 BR0 SCI Baud rate
0 0 115200
0 1 9600
1 0 19200
1 1 38400
BR0 and BR1 are 5 V safe, allowing direct connection to
5 V−powered logic.
NCN49599
www.onsemi.com
30
t
BIT
IDLE (mark) LSB MSB IDLE (mark)
t
BIT8 data bits
1 character
D0Start D1 D2 D3 D4 D5 D6
D7 Stop
Figure 36.
Watchdog
A watchdog supervises the ARM microcontroller. In case
the firmware does not periodically signal the watchdog it is
alive, it is assumed an error has occurred and a hard reset is
generated.
Configuration Registers
The behavior of the modem is controlled by configuration
registers. Some registers can be accessed by the user through
the firmware. Table 25 gives an overview of some
commonly exposed registers.
Table 25. NCN49599 CONFIGURATION REGISTERS
Register Reset Value Function
R_CONF[7] 0 Pin DATA/PRES mode selection
R_CONF[2:1] 00b Baud rate selection
R_CONF[0] 0 Mains frequency
R_FS[15:0] 0000h Step register for the space frequency f
S
R_FM[15:0] 0000h Step register for the mark frequency f
M
R_ZC_ADJUST[7:0] 02h Fine tuning of phase difference between CHIP_CLK and rising edge of mains zero crossing
R_ALC_CTRL[3] 0 Automatic level control (ALC) enable
R_ALC_CTRL[2:0] 000b Automatic level control attenuation
Reset and Low Power
NCN49599 has two reset modes: hard reset and soft reset.
The hard reset reinitializes the complete IC (hardware and
ARM) excluding the data RAM for the ARM. This
guarantees correct start−up of the hardware and the RAM.
A hard reset is active when pin RESB = 0 or when the power
supply V
DD
< V
POR
(See Table 13). When switching on the
power supply the output of the crystal oscillator is disabled
until a few 1000 clock pulses have been detected, this to
enable the oscillator to start up.
The concept of NCN49599 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 if 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.
BOOT LOADER
During operation, the modem firmware is stored in the
internal random access memory (RAM). As this memory is
volatile, the firmware must be uploaded after reset.
The NCN49599 provides two mechanisms to achieve
this: the firmware may be stored in an external SPI memory
(Booting from External Memory section) or it may be
uploaded over the serial communication interface (the
Firmware Upload section).
Booting from External Memory
During reset, the boot loader module in the modem can
retrieve the firmware from an attached memory.
To enable this mode, the boot control pin SEN must be
driven high and IO2 must be driven low; subsequently the
modem must be reset.

NCN49599MNG

Mfr. #:
Manufacturer:
ON Semiconductor
Description:
Network Controller & Processor ICs 3 DIE MCM CONTAINING PLDA
Lifecycle:
New from this manufacturer.
Delivery:
DHL FedEx Ups TNT EMS
Payment:
T/T Paypal Visa MoneyGram Western Union

Products related to this Datasheet