Electronic Components Datasheet Search
  New Zealand  ▼
ALLDATASHEET.CO.NZ

X  

DSP56857 Datasheet(PDF) 289 Page - Freescale Semiconductor, Inc

Part # DSP56857
Description  Digitial Signal Controller
PDF  662 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
Manufacturer  FREESCALE [Freescale Semiconductor, Inc]
Direct Link  http://www.freescale.com
Logo FREESCALE - Freescale Semiconductor, Inc

DSP56857 Datasheet(HTML) 289 Page - Freescale Semiconductor, Inc

Back Button DSP56857 Datasheet HTML 285Page - Freescale Semiconductor, Inc DSP56857 Datasheet HTML 286Page - Freescale Semiconductor, Inc DSP56857 Datasheet HTML 287Page - Freescale Semiconductor, Inc DSP56857 Datasheet HTML 288Page - Freescale Semiconductor, Inc DSP56857 Datasheet HTML 289Page - Freescale Semiconductor, Inc DSP56857 Datasheet HTML 290Page - Freescale Semiconductor, Inc DSP56857 Datasheet HTML 291Page - Freescale Semiconductor, Inc DSP56857 Datasheet HTML 292Page - Freescale Semiconductor, Inc DSP56857 Datasheet HTML 293Page - Freescale Semiconductor, Inc Next Button
Zoom Inzoom in Zoom Outzoom out
 289 / 662 page
background image
Error Conditions
Serial Peripheral Interface (SPI), Rev. 4
Freescale Semiconductor
11-19
Figure 11-12. Clearing SPRF When OVRF Interrupt is Not Enabled
11.9.2 Mode Fault Error
Setting the SPMSTR bit selects the Master mode, configuring the SCLK and MOSI pins as
outputs and the MISO pin as an input. Clearing SPMSTR selects the Slave mode, configuring the
SCLK and MOSI pins as inputs and the MISO pin as an output. The Mode Fault (MODF) bit
becomes set any time the state of the Slave Select (SS) pin is inconsistent with the mode selected
by SPMSTR. To prevent SPI pin contention and damage to the DSC, a Mode Fault Error occurs
if:
•The SS pin of a Slave SPI goes high during a transmission.
•The SS pin of a Master SPI goes low at any time.
To set the MODF flag, the Mode Fault Error Enable (MODFEN) bit must be set. Clearing the
MODFEN bit does not clear the MODF flag, but it does prevent the MODF from being set again
after the MODF is cleared.
MODF generates a Receiver/Error Interrupt request if the Error Interrupt Enable (ERRIE) bit is
also set. It is not possible to enable MODF or OVRF individually to generate a Receiver/Error
Interrupt request. However, leaving MODFEN low prevents MODF from being set.
READ SPDRR
READ SPSCR
OVRF
SPRF
DATA 1
DATA 2
DATA 3
DATA 4
1
DATA 1 SETS SPRF BIT.
DSC READS SPSCR WITH SPRF BIT SET
DSC READS DATA 1 IN SPDRR,
DSC READS SPSCR AGAIN
DATA 2 SETS SPRF BIT.
DSC READS SPSCR WITH SPRF BIT SET
DATA 3 SETS OVRF BIT. DATA 3 IS LOST.
DSC READS DATA 2 IN SPDRR,
DSC READS SPSCR AGAIN
DSC READS DATA 2 SPDRR,
DATA 4 SETS SPRF BIT.
DSC READS SPSCR.
DSC READS DATA 4 IN SPDRR,
DSC READS SPSCR AGAIN
1
2
3
CLEARING SPRF BIT.
4
TO CHECK OVRF BIT.
5
6
7
8
9
CLEARING SPRF BIT.
TO CHECK OVRF BIT.
10
CLEARING OVRF BIT.
11
12
13
14
2
3
4
5
6
7
8
9
10
11
12
13
14
CLEARING SPRF BIT.
TO CHECK OVRF BIT.
SPI RECEIVE
COMPLETE
AND OVRF BIT CLEAR.
AND OVRF BIT CLEAR.



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