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

X  

SH79F6488P/080PR Datasheet(PDF) 86 Page - SINOWEALTH Electronic Ltd

Part # SH79F6488P/080PR
Description  Enhanced 8051 Microcontroller with 20bit Σ-ΔADC and LCD Driver
PDF  152 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
Manufacturer  SINOWEALTH [SINOWEALTH Electronic Ltd]
Direct Link  https://en.sinowealth.com
Logo SINOWEALTH - SINOWEALTH Electronic Ltd

SH79F6488P/080PR Datasheet(HTML) 86 Page - SINOWEALTH Electronic Ltd

Back Button SH79F6488P/080PR Datasheet HTML 82Page - SINOWEALTH Electronic Ltd SH79F6488P/080PR Datasheet HTML 83Page - SINOWEALTH Electronic Ltd SH79F6488P/080PR Datasheet HTML 84Page - SINOWEALTH Electronic Ltd SH79F6488P/080PR Datasheet HTML 85Page - SINOWEALTH Electronic Ltd SH79F6488P/080PR Datasheet HTML 86Page - SINOWEALTH Electronic Ltd SH79F6488P/080PR Datasheet HTML 87Page - SINOWEALTH Electronic Ltd SH79F6488P/080PR Datasheet HTML 88Page - SINOWEALTH Electronic Ltd SH79F6488P/080PR Datasheet HTML 89Page - SINOWEALTH Electronic Ltd SH79F6488P/080PR Datasheet HTML 90Page - SINOWEALTH Electronic Ltd Next Button
Zoom Inzoom in Zoom Outzoom out
 86 / 152 page
background image
SH79F6488/SH79F6489
86
8.3.7 Error Conditions
The following flags in the SPSTA signal SPI error conditions:
(1) Mode Fault (MODF)
Mode fault error in master mode SPI indicates that the level on the SS
———
pin is inconsistent with the actual mode of the device.
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 SPSTA is cleared. This disables the SPI;
The MSTR bit in SPCON is cleared.
When SS
———
Disable (SSDIS bit in the SPCON register) is cleared, the MODF flag is set when the SS
———
signal becomes ’0’.
However, as stated before, for a system with one Master, if the SS
———
pin of the master device is pulled low, there is no way that
another master attempts to drive the network. In this case, to prevent the MODF flag from being set, software can set the
SSDIS bit in the SPCON register and therefore making the SS
———
pin as a general-purpose I/O pin.
The user must clear the MODF bit by software, and enable SPEN in SPCON register again for further communication, and
enable MSTR bit to continue master mode.
(2) Write Collision (WCOL)
A write collision (WCOL) flag in the SPSTA is set when a write to the SPDAT register is done during a transmit sequence.
WCOL does not cause an interruption, and the transfer continues uninterrupted. The WCOL bit is cleared by software.
(3) Overrun Condition (RXOV)
An overrun condition occurs when the master or slave tries to send several data bytes and the slave or master has not
cleared the SPIF bit issuing from the previous data byte transmitted. In this case, the receive shift register keep the byte that
SPIF was lastly set, also the SPI device will not receive any further data until SPIF was cleared. The SPIF still keep on
invoke interrupt before it is cleared, though the transmission can still be driven by SCK. RXOV does not generate an
interruption, the RXOV bit is cleared by software.
8.3.8 Interrupts
Two SPI status flags can generate a CPU interrupt requests SPIF & MODF.
Serial Peripheral data transfer flag: SPIF. This bit is set by hardware when a transfer has been completed.
Mode Fault flag: MODF. This bit becomes set to indicate that the level on the SS
———
pin is inconsistent with the mode of the SPI.
MODF with SSDIS reset will generate receiver/error CPU interrupt requests. When SSDIS is set, no MODF interrupt request is
generated.
SPIF
MODF
SSDIS
SPI Receiver / Error
CPU Interrupt Request
SPI Transmitter
CPU Interrupt Request
SPI
CPU Interrupt Request
SPI Interrupt Requests Generation



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