Electronic Components Datasheet Search
  English  ▼

X  

AM8530 Datasheet(PDF) 42 Page - Advanced Micro Devices

Part # AM8530
Description  Serial Communications Controller
PDF  194 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
Manufacturer  AMD [Advanced Micro Devices]
Direct Link  http://www.amd.com
Logo AMD - Advanced Micro Devices

AM8530 Datasheet(HTML) 42 Page - Advanced Micro Devices

Back Button AM8530 Datasheet HTML 38Page - Advanced Micro Devices AM8530 Datasheet HTML 39Page - Advanced Micro Devices AM8530 Datasheet HTML 40Page - Advanced Micro Devices AM8530 Datasheet HTML 41Page - Advanced Micro Devices AM8530 Datasheet HTML 42Page - Advanced Micro Devices AM8530 Datasheet HTML 43Page - Advanced Micro Devices AM8530 Datasheet HTML 44Page - Advanced Micro Devices AM8530 Datasheet HTML 45Page - Advanced Micro Devices AM8530 Datasheet HTML 46Page - Advanced Micro Devices Next Button
Zoom Inzoom in Zoom Outzoom out
 42 / 194 page
background image
I/O Programming Functional Description
AMD
3–11
The SCC recognizes several Special Conditions during data reception. A Receiver Over-
run, where a character in the Data FIFO is overwritten, is a Special Condition, as is a
Framing Error in Asynchronous mode, or the EOF condition in SDLC mode. In addition, if
bit D2 of WR1 is set to ‘1’, any character with a Parity Error will generate a Special Condi-
tion interrupt.
The correct sequence of events when using this mode is to first select the mode and wait
for the receive character available interrupt. When the interrupt occurs, the processor
should read the character and then enable the DMA to transfer the remaining characters.
A Special Condition interrupt may occur at any time after the first character is received
but is guaranteed to occur after the character having the Special Condition has been read
from the Receive Data FIFO. The status is not lost in this case, however, because the
Data FIFO will be locked by the Special Condition preventing further data from becoming
available in the Receive Data FIFO until the Error Reset command is issued. In the serv-
ice routine the processor should read RR1 to obtain the status and may read the data
again if necessary before unlocking the FIFO by issuing an Error Reset command in
WR0. If the Special Condition detected was EOF, the processor should then issue the
Enable Interrupt on Next Receive Character command to prepare for the next frame. The
first character and Special Condition interrupt are distinguished by the status included in
the interrupt vector. In all other respects they are identical, including sharing the IP and
IUS bits.
In the Am85C30, if the 10x19 Frame Status FIFO is enabled, the 3 byte receive (Rx)
FIFO never locks. However, the DMA is disabled (only on overrun special condition), i.e.
overruns do not lock the Rx FIFO, but do disable DMA. Interrupts are generated and re-
main active until the RESET ERROR COMMAND is issued.
3.6.3
Receive Interrupt on All Receive Characters or
Special Conditions
This mode is designed for an interrupt-driven system. In this mode, the SCC will set the
Receiver IP on every received character, whether or not it has a Special Condition. This
includes characters already in the FIFO when this mode is selected. In this mode of op-
eration, the Receiver IP is reset when the character is removed from the FIFO, so if the
processor requires status for any character, this status must be read before the data is
removed from the FIFO.
The Special Conditions are identical to those previously mentioned, and as before, the
only difference between a “receive character available” interrupt and a “Special Condition”
interrupt is the status encoded in the vector. In this mode, a Special Condition does not
lock the Receive Data FIFO so that the service routine must read the status in RR1 be-
fore reading the data. At moderate to high data rates, where the interrupt overhead is sig-
nificant, time can usually be saved by checking for another received character before exit-
ing the service routine. This technique eliminates the Interrupt Acknowledge and the proc-
essor-state-saving time, but care must be exercised because this receive character must
be checked for special receive conditions before it is removed from the SCC.
3.6.4
Receive Interrupt on Special Conditions
This mode is designed for use with DMA transfers of the receive characters. In this mode,
only receive characters with Special Conditions will cause the Receive IP to be set. All
other characters are assumed to be transferred via DMA. No special initialization se-
quence is needed in this mode. Usually the DMA is initialized and enabled, and then this
mode is selected in the SCC. A Special Condition interrupt may occur at any time after
this mode is selected, but the logic guarantees that the interrupt will not occur until after
the character with the Special Condition has been read from the SCC. The Special Condi-
tion locks the FIFO so that the status will be valid when read in the interrupt service rou-
tine, and it guarantees that the DMA will not transfer any characters until the Special Con-
dition has been serviced. In the service routine, the processor should read RR1 to obtain



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