
. . . . .
S E R I A L C O N T R O L M O D U L E : H D L C
Normal mode operation
www.digiembedded.com
421
only uses the clock transitions to track the bit-cell boundaries, by ignoring all
transitions occurring outside a window around the center of the bit-cell. The window
is half a bit-cell wide.
Because the clock transitions are guaranteed, the DPLL requires that they always be
present. If no transition is found in the window around the center of the bit-cell for
two successive bit-cells, the DPLL is not in lock and immediately enters search
mode. Search mode presumes that the next transition seen is a clock transition and
immediately synchronizes to this transition. No clock output is provided to the
receiver during the search operation.
Biphase-Mark
and Biphase-
Space encoding
Biphase-mark and biphase-space encoding are identical per the DPLL and are similar
to biphase-level. The primary difference is the clock placement and data
transitions. With these encodings, the clock transitions are at the bit-cell boundary
and the data transitions are at the center of the bit-cell; the DPLL operation is
adjusted accordingly. Decoding biphase-mark or biphase-space encoding requires
that the data be sampled by both edges of the recovered receive clock.
IRDA-compliant
encode
There is an optional IRDA-compliant encode and decode function available. The
encoder sends an active-high pulse for a zero and no pulse for a one. The pulse is
1/4th of a bit-cell wide. The decoder watches for active-low pulses which are
stretched to one bit time wide to recreate the normal asynchronous waveform for the
receiver. enabling the IRDA-compliant encode/decode modifies the transmitter so
there are always two opening flags transmitted.
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
N o r m a l m o d e o p e r a t i o n
The HDLC achieves normal mode operation by programming the HDLC and Wrapper
configuration registers.
Example
configuration
This example shows a normal mode operation configuration for a typical
application. Any field not specified in this table can be left at reset value.
Control register
Field
Value
Comment
HDLC Control register
CLK
0x3
Enable internal clock generation
HDLC Clock Divider High
EN
0x1
Enable the internal clock divider; the
clock rate will be 1.8432 Mbps.
Summary of Contents for NS9215
Page 1: ...NS9215 Hardware Reference 90000847_C Release date 10 April 2008...
Page 3: ......
Page 4: ......
Page 26: ...26 Hardware Reference NS9215...
Page 44: ...P I N O U T 26 5 System clock 44 Hardware Reference NS9215 System clock drawing...
Page 52: ...P I N O U T 26 5 Power and ground 52 Hardware Reference NS9215...
Page 80: ...I O C O N T ROL M O D U L E Memory Bus Configuration register 80 Hardware Reference NS9215...
Page 136: ...WOR KI N G W I TH T H E C P U Noncachable instruction fetches 136 Hardware Reference NS9215...
Page 202: ...S Y S T E M C O N T RO L M OD U L E RTC Module Control register 202 Hardware Reference NS9215...
Page 354: ...E X T E R N A L D M A DMA Peripheral Chip Select register 354 Hardware Reference NS9215...
Page 472: ...R E A L TI M E C L O C K M O D U L E General Status register 472 Hardware Reference NS9215...
Page 512: ...TI M I NG Clock timing 512 Hardware Reference NS9215...
Page 515: ...PA CKA GING Processor Dimensions www digiembedded com 515...
Page 516: ...PA CKA GING Processor Dimensions 516 Hardware Reference NS9215...