数据搜索系统,热门电子元器件搜索
  Chinese  ▼
ALLDATASHEETCN.COM

X  

AT89C51AC3-RDTUM 数据表(PDF) 89 Page - ATMEL Corporation

部件名 AT89C51AC3-RDTUM
功能描述  Enhanced 8-bit Microcontroller with 64KB Flash Memory
PDF  143 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
制造商  ATMEL [ATMEL Corporation]
网页  http://www.atmel.com
标志 ATMEL - ATMEL Corporation

AT89C51AC3-RDTUM 数据表(HTML) 89 Page - ATMEL Corporation

Back Button AT89C51AC3-RDTUM Datasheet HTML 85Page - ATMEL Corporation AT89C51AC3-RDTUM Datasheet HTML 86Page - ATMEL Corporation AT89C51AC3-RDTUM Datasheet HTML 87Page - ATMEL Corporation AT89C51AC3-RDTUM Datasheet HTML 88Page - ATMEL Corporation AT89C51AC3-RDTUM Datasheet HTML 89Page - ATMEL Corporation AT89C51AC3-RDTUM Datasheet HTML 90Page - ATMEL Corporation AT89C51AC3-RDTUM Datasheet HTML 91Page - ATMEL Corporation AT89C51AC3-RDTUM Datasheet HTML 92Page - ATMEL Corporation AT89C51AC3-RDTUM Datasheet HTML 93Page - ATMEL Corporation Next Button
Zoom Inzoom in Zoom Outzoom out
 89 / 143 page
background image
89
AT89C51AC3
4383B–8051–01/05
Error Conditions
The following flags in the SPSCR register indicate the SPI error conditions:
Mode Fault Error (MODF)
Mode Fault error in Master mode SPI indicates that the level on the Slave Select (SS)
pin is inconsistent with the actual mode of the device.
•
Mode fault detection in Master mode:
MODF is set to warn that there may be a multi-master conflict for system control. In this
case, the SPI system is affected in the following ways:
–
An SPI receiver/error CPU interrupt request is generated
–
The SPEN bit in SPCON is cleared. This disables the SPI
–
The MSTR bit in SPCON is cleared
Clearing the MODF bit is accomplished by a read of SPSCR register with MODF bit set,
followed by a write to the SPCON register. SPEN Control bit may be restored to its orig-
inal set state after the MODF bit has been cleared.
Figure 50. Mode Fault Conditions in Master Mode (Cpha =’1’/Cpol =’0’)
Note:
When SS is discarded (SS disabled) it is not possible to detect a MODF error in master
mode because the SPI is internally unselected and the SS pin is a general purpose I/O.
•
Mode fault detection in Slave mode
In slave mode, the MODF error is detected when SS goes high during a transmission.
A transmission begins when SS goes low and ends once the incoming SCK goes back
to its idle level following the shift of the eighteen data bit.
A MODF error occurs if a slave is selected (SS is low) and later unselected (SS is high)
even if no SCK is sent to that slave.
At any time, a ’1’ on the SS pin of a slave SPI puts the MISO pin in a high impedance
state and internal state counter is cleared. Also, the slave SPI ignores all incoming SCK
clocks, even if it was already in the middle of a transmission. A new transmission will be
performed as soon as SS pin returns low.
SCK
SS
(master)
1
2
3
SCK cycle #
0
0
SS
(slave)
(from master)
MODF detected
B6
MSB
B6
MSB
0
z
1
0
z
1
0
z
1
0
z
1
0
z
1
0
0
z
1
SPI enable
MODF detected
MOSI
MISO
(from master)
(from slave)
B5



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


数据表 下载

Go To PDF Page


链接网址



ALLDATASHEET是否为您带来帮助?  [ DONATE ] 

关于 Alldatasheet   |   广告服务   |   联系我们   |   隐私政策   |   数据表链接    |   链接交换   |   制造商名单
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