參數(shù)資料
型號(hào): Z85233
廠商: ZiLOG, Inc.
英文描述: The Zilog SCC Serial Communication Controller
中文描述: Zilog公司鱗癌的串行通信控制器
文件頁數(shù): 40/317頁
文件大?。?/td> 3201K
代理商: Z85233
第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頁當(dāng)前第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頁第101頁第102頁第103頁第104頁第105頁第106頁第107頁第108頁第109頁第110頁第111頁第112頁第113頁第114頁第115頁第116頁第117頁第118頁第119頁第120頁第121頁第122頁第123頁第124頁第125頁第126頁第127頁第128頁第129頁第130頁第131頁第132頁第133頁第134頁第135頁第136頁第137頁第138頁第139頁第140頁第141頁第142頁第143頁第144頁第145頁第146頁第147頁第148頁第149頁第150頁第151頁第152頁第153頁第154頁第155頁第156頁第157頁第158頁第159頁第160頁第161頁第162頁第163頁第164頁第165頁第166頁第167頁第168頁第169頁第170頁第171頁第172頁第173頁第174頁第175頁第176頁第177頁第178頁第179頁第180頁第181頁第182頁第183頁第184頁第185頁第186頁第187頁第188頁第189頁第190頁第191頁第192頁第193頁第194頁第195頁第196頁第197頁第198頁第199頁第200頁第201頁第202頁第203頁第204頁第205頁第206頁第207頁第208頁第209頁第210頁第211頁第212頁第213頁第214頁第215頁第216頁第217頁第218頁第219頁第220頁第221頁第222頁第223頁第224頁第225頁第226頁第227頁第228頁第229頁第230頁第231頁第232頁第233頁第234頁第235頁第236頁第237頁第238頁第239頁第240頁第241頁第242頁第243頁第244頁第245頁第246頁第247頁第248頁第249頁第250頁第251頁第252頁第253頁第254頁第255頁第256頁第257頁第258頁第259頁第260頁第261頁第262頁第263頁第264頁第265頁第266頁第267頁第268頁第269頁第270頁第271頁第272頁第273頁第274頁第275頁第276頁第277頁第278頁第279頁第280頁第281頁第282頁第283頁第284頁第285頁第286頁第287頁第288頁第289頁第290頁第291頁第292頁第293頁第294頁第295頁第296頁第297頁第298頁第299頁第300頁第301頁第302頁第303頁第304頁第305頁第306頁第307頁第308頁第309頁第310頁第311頁第312頁第313頁第314頁第315頁第316頁第317頁
SCC/ESCC User’s Manual
Interfacing the SCC/ESCC
2-21
2
2.4.6 Interrupt Acknowledge
The SCC is flexible with its interrupt method. The interrupt
may be acknowledged with a vector transferred, acknowl-
edged without a vector, or not acknowledged at all.
2.4.6.1 Interrupt Without Acknowledge
In this mode, the Interrupt Acknowledge signal does not
have to be generated. This allows a simpler hardware de-
sign that does not have to meet the interrupt acknowledge
timing. Soon after the INT goes active, the interrupt con-
troller jumps to the interrupt routine. In the interrupt routine,
the code must read RR2 from Channel B to read the vector
including status. When the vector is read from Channel B,
it always includes the status regardless of the VIS bit (WR9
bit 0). The status given will decode the highest priority in-
terrupt pending at the time it is read. The vector is not
latched so that the next read could produce a different vec-
tor if another interrupt occurs. The register is disabled from
change during the read operation to prevent an error if a
higher interrupt occurs exactly during the read operation.
Once the status is read, the interrupt routine must decode
the interrupt pending, and clear the condition. Removing
the interrupt condition clears the IP and brings /INT inac-
tive (open-drain), as long as there are no other IP bits set.
For example, writing a character to the transmit buffer
clears the transmit buffer empty IP.
When the interrupt IP, decoded from the status, is cleared,
RR2 can be read again. This allows the interrupt routine to
clear all of the IP’s within one interrupt request to the CPU.
2.4.6.2 Interrupt With Acknowledge
After the SCC brings /INT active, the CPU can respond
with a hardware acknowledge cycle by bringing /INTACK
active. After enough time has elapsed to allow the daisy
chain to settle (see AC Spec #38), the SCC sets the IUS
bit for the highest priority IP. If the No Vector bit is reset
(WR9 D1=0), the SCC then places the interrupt vector on
the data bus during a read. To speed the interrupt re-
sponse time, the SCC can modify 3 bits in the vector to in-
dicate the source of the interrupt. To include the status, the
VIS bit, WR9 D0, is set. The service routine must then
clear the interrupting condition. For example, writing a
character to the transmit buffer clears the transmit buffer
empty IP. After the interrupting condition is cleared, the
routine can read RR3 to determine if any other IP’s are set
and take the appropriate action to clear them. At the end
of the interrupt routine, a Reset IUS command (WR0) is is-
sued to unlock the daisy chain and allow lower-priority in-
terrupt requests. This is the only way, short of a software
or hardware reset, that an IUS bit is reset.
If the No Vector bit is set (WR9 D1=1), the SCC will not
place the vector on the data bus. An interrupt controller
must then vector the code to the interrupt routine. The in-
terrupt routine reads RR2 from Channel B to read the sta-
tus. This is similar to an interrupt without an acknowledge,
except the IUS is set and the vector will not change until
the Reset IUS command in RR0 is issued.
2.4.6.3 Software Interrupt Acknowledge (CMOS/ESCC)
An interrupt acknowledge cycle can be done in software
for those applications which use an external interrupt con-
troller or which cannot generate the /INTACK signal with
the required timing. If WR9 D5 is set, reading register two,
RR2, results in an interrupt acknowledge cycle to be exe-
cuted internally. Like a hardware INTACK cycle,
a software acknowledge causes the /INT pin to return
High, the IEO pin to go Low and the IUS latch to be set for
the highest priority interrupt pending.
As when the hardware /INTACK signal is used, a software
acknowledge cycle requires that a Reset Highest IUS
command be issued in the interrupt service routine. If RR2
is read from Channel A, the unmodified vector is returned.
If RR2 is read from Channel B, then the vector is modified
to indicate the source of the interrupt. The Vector Includes
Status (VIS) and No Vector (NV) bits in WR9 are ignored
when bit D5 is set to 1.
2.4.7 The Receiver Interrupt
The sources of receive interrupts consist of Receive Char-
acter Available and Special Receive Condition. The Spe-
cial Receive Condition can be subdivided into Receive
Overrun, Framing Error (Asynchronous) or End of Frame
(SDLC). In addition, a parity error can be a special receive
condition by programming.
As shown in Figure 2-14, Receive Interrupt mode is
controlled by three bits in WR1. Two of these bits, D4 and
D3, select the interrupt mode; the third bit, D2, is a modifier
for the various modes. On the ESCC, WR7' bit D2 affects
the receiver interrupt operation mode as well. If the
interrupt capability of the receiver in the SCC is not
required, polling may be used. This is selected by disabling
receive interrupts and polling the Receiver Character
Available bit in RR0. When this bit indicates that a received
character has reached the exit location (CPU side) of the
FIFO, the status in RR1 should be checked and then the
data should be read. If status is checked, it must be done
before the data is read, because the act of reading the data
pops both the data and error FIFOs. Another way of polling
SCC is to enable one of the interrupt modes and then reset
the MIE bit in WR9. The processor may then poll the IP bits
in RR3A to determine when receive characters are
available.
UM010901-0601
相關(guān)PDF資料
PDF描述
Z8602 CAP 0.033UF 100V 10% X7R AXIAL TR-14
Z860201PSC 8-BIT MICROCONTROLLER
Z860202PSC Leaded Cartridge Fuse; Current Rating:600mA; Voltage Rating:250V; Fuse Terminals:Axial Lead; Fuse Type:Time Delay; Voltage Rating:250V; Body Material:Glass; Diameter:4.7mm; Fuse Size/Group:5 x 15 mm; Leaded Process Compatible:Yes RoHS Compliant: Yes
Z860203PSC 8-BIT MICROCONTROLLER
Z86116 CAP 0.033UF 100V 10% X7R AXIAL TR-14
相關(guān)代理商/技術(shù)參數(shù)
參數(shù)描述
Z8523310ASG 功能描述:網(wǎng)絡(luò)控制器與處理器 IC 10 MHZ CMOS ESCC/2 RoHS:否 制造商:Micrel 產(chǎn)品:Controller Area Network (CAN) 收發(fā)器數(shù)量: 數(shù)據(jù)速率: 電源電流(最大值):595 mA 最大工作溫度:+ 85 C 安裝風(fēng)格:SMD/SMT 封裝 / 箱體:PBGA-400 封裝:Tray
Z8523310FSC 功能描述:網(wǎng)絡(luò)控制器與處理器 IC 10MHz CMOS ESCC/2 RoHS:否 制造商:Micrel 產(chǎn)品:Controller Area Network (CAN) 收發(fā)器數(shù)量: 數(shù)據(jù)速率: 電源電流(最大值):595 mA 最大工作溫度:+ 85 C 安裝風(fēng)格:SMD/SMT 封裝 / 箱體:PBGA-400 封裝:Tray
Z8523310FSC00TR 功能描述:IC ESCC 44QFP RoHS:否 類別:集成電路 (IC) >> 接口 - 控制器 系列:EMSCC™ 標(biāo)準(zhǔn)包裝:4,900 系列:- 控制器類型:USB 2.0 控制器 接口:串行 電源電壓:3 V ~ 3.6 V 電流 - 電源:135mA 工作溫度:0°C ~ 70°C 安裝類型:表面貼裝 封裝/外殼:36-VFQFN 裸露焊盤 供應(yīng)商設(shè)備封裝:36-QFN(6x6) 包裝:* 其它名稱:Q6396337A
Z8523310FSG 功能描述:網(wǎng)絡(luò)控制器與處理器 IC 10MHz CMOS ESCC/2 RoHS:否 制造商:Micrel 產(chǎn)品:Controller Area Network (CAN) 收發(fā)器數(shù)量: 數(shù)據(jù)速率: 電源電流(最大值):595 mA 最大工作溫度:+ 85 C 安裝風(fēng)格:SMD/SMT 封裝 / 箱體:PBGA-400 封裝:Tray
Z8523310VSC 功能描述:網(wǎng)絡(luò)控制器與處理器 IC 10MHz CMOS ESCC/2 RoHS:否 制造商:Micrel 產(chǎn)品:Controller Area Network (CAN) 收發(fā)器數(shù)量: 數(shù)據(jù)速率: 電源電流(最大值):595 mA 最大工作溫度:+ 85 C 安裝風(fēng)格:SMD/SMT 封裝 / 箱體:PBGA-400 封裝:Tray