Electronic Components Datasheet Search
  English  ▼

X  

CD1284 Datasheet(PDF) 93 Page - Intel Corporation

Part # CD1284
Description  IEEE 1284-Compatible Parallel Interface Controller with Two High-Speed Asynchronous Serial Ports
PDF  176 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
Manufacturer  INTEL [Intel Corporation]
Direct Link  http://www.intel.com
Logo INTEL - Intel Corporation

CD1284 Datasheet(HTML) 93 Page - Intel Corporation

Back Button CD1284 Datasheet HTML 89Page - Intel Corporation CD1284 Datasheet HTML 90Page - Intel Corporation CD1284 Datasheet HTML 91Page - Intel Corporation CD1284 Datasheet HTML 92Page - Intel Corporation CD1284 Datasheet HTML 93Page - Intel Corporation CD1284 Datasheet HTML 94Page - Intel Corporation CD1284 Datasheet HTML 95Page - Intel Corporation CD1284 Datasheet HTML 96Page - Intel Corporation CD1284 Datasheet HTML 97Page - Intel Corporation Next Button
Zoom Inzoom in Zoom Outzoom out
 93 / 176 page
background image
IEEE 1284-Compatible Parallel Interface Controller — CD1284
Datasheet
93
6.2.2
Global Function Initialization
Once chip reset has been completed, the next step is to set the Global Operating mode and timer
prescale. All other initialization occurs at the channel level.
Set the Prescaler Period Register (PPR)
The PPR sets the master time ‘tick’ for the CD1284. It is a binary value that sets a constant by
which the system clock is divided (after a fixed prescale of 512) to produce the internal clock for
the on-chip timers (This does not include baud rate generators). This clock is used for receiver
FIFO time-out generation and delay timing for the insert delay command in the embedded transmit
command set. For example, to generate a timer clock of 1 ms, the value is computed as:
The value 49 is loaded into the PPR. This value, selects an approximate 1-kHz clock as the source
for the RTPR (Receiver Time-out Period registers) of each channel. Those registers are loaded with
an appropriate value divisor that generate the desired character time-out periods. This value, 49, is
the recommended minimum value that is placed in the PPR for a clock frequency of 25 MHz.
Values that generate a time period of less than 1 ms adversely affect the performance of the MPU,
and thus, overall serial data performance.
6.2.3
Serial Channel Initialization
At this point, the basic operation of the CD1284 serial channels are set up. The internal register
states are cleared and basic timer operations are initialized. The next step is programming the
operating modes of each channel. This includes setting the values for the interrupt vectors, the
receive and transmit baud rates, number of bits per character, number of stop bits, parity, special
characters, if any, and so on. Each channel can have a completely unique set of operating
characteristics or they can all be the same.
Serial channel initialization is application-dependent. The operating modes of one channel have no
effect on the operation of others.
The following code, is a typical initialization sequence for setting up a single serial channel:
9600 baud, send and receive
8 bits per character, 1 stop bit,No parity
Automatic In-Band (Xon/Xoff) flow control
Transparent flow control
Special character detect enabled
Eight character receive FIFO threshold
Receiver and transmitter enabled for interrupt operation
Enable ISTRIP on incoming characters
A clear way of showing this initialization sequence is by a ‘C’ program fragment; the code shown
below, is compatible with BorlandTurbo C
:
/* Init channel. Channel number is included in call. Register names and addresses
are defined in the header file (not shown). This routine does not include parallel
channel initialization. */
init_channel(chan)
char
chan
{
25MHz
512
------------------


1ms
×
48.828
=



Html Pages

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100  ...More


Datasheet Download

Go To PDF Page


Link URL



Does ALLDATASHEET help your business so far?  [ DONATE ] 

About Alldatasheet   |   Advertisement   |   Contact us   |   Privacy Policy   |   Link to Datasheet    |   Link Exchange   |   Manufacturer List
All Rights Reserved©Alldatasheet.com


Mirror Sites
English : Alldatasheet.com  |   English : Alldatasheet.net  |   Chinese : Alldatasheetcn.com  |   German : Alldatasheetde.com  |   Japanese : Alldatasheet.jp
Russian : Alldatasheetru.com  |   Korean : Alldatasheet.co.kr  |   Spanish : Alldatasheet.es  |   French : Alldatasheet.fr  |   Italian : Alldatasheetit.com
Portuguese : Alldatasheetpt.com  |   Polish : Alldatasheet.pl  |   Vietnamese : Alldatasheet.vn
Indian : Alldatasheet.in  |   Mexican : Alldatasheet.com.mx  |   British : Alldatasheet.co.uk  |   New Zealand : Alldatasheet.co.nz
Family Site : ic2ic.com  |   icmetro.com