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

X  

DSP56857 Datasheet(PDF) 287 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) 287 Page - Freescale Semiconductor, Inc

Back Button DSP56857 Datasheet HTML 283Page - Freescale Semiconductor, Inc DSP56857 Datasheet HTML 284Page - Freescale Semiconductor, Inc 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 Next Button
Zoom Inzoom in Zoom Outzoom out
 287 / 662 page
background image
Error Conditions
Serial Peripheral Interface (SPI), Rev. 4
Freescale Semiconductor
11-17
cannot occur until the transmission is completed. This implies a back-to- back write to the Data
Transmit Register (SPDTR) is not possible. The SPTE indicates when the next write can occur.
11.9 Error Conditions
The following flags signal SPI error conditions:
•
Overflow (OVRF) — Failing to read the SPI Data Register before the next full length data
enters the Shift register sets the OVRF bit. The new data will not transfer to the Data
Receive Register (SPDRR), and the unread data can still be read. OVRF is in the SPI
Status and Control Register (SPSCR).
•
Mode Fault Error (MODF) — The MODF bit indicates the voltage on the Slave Select pin
(SS) is inconsistent with the mode of the SPI. MODF is in the SPSCR.
11.9.1 Overflow Error
The Overflow Flag (OVRF) becomes set if the Data Receive Register (SPDRR) still has unread
data from a previous transmission and when bit one’s capture strobe of the next transmission
occurs. Bit 1 capture strobe occurs in the middle of SCLK when the Data Length = Transmission
Data Length - 1. If an overflow occurs, all data received after the overflow, and before the OVRF
bit is cleared, does not transfer to the SPDRR. It does not set the SPI Receiver Full (SPRF) bit.
The unread data transferred to the SPDRR before the overflow occurred can still be read.
Therefore, an overflow error always indicates the loss of data. Clear the overflow flag by reading
the SPI Status and Control Register (SPSCR), then read the SPI Data register.
OVRF 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 in order to generate a
receiver/error interrupt request. However, leaving MODFEN low prevents MODF from being
set.
If the SPRF interrupt is enabled and the OVRF interrupt is not, watch for an overflow condition.
Figure 11-11 explains how it is possible to miss an overflow. The first element of the same figure
illustrates how it is possible to read the SPSCR and SPDRR to clear the SPRF without problems.
However, as illustrated by the second transmission example, the OVRF bit can be set between the
time SPSCR and SPDRR are read.



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