AT89C51SND1C-7HTUL Atmel, AT89C51SND1C-7HTUL Datasheet - Page 151

no-image

AT89C51SND1C-7HTUL

Manufacturer Part Number
AT89C51SND1C-7HTUL
Description
IC MCU 64KB FLASH MEM 81-CBGA
Manufacturer
Atmel
Series
89Cr
Datasheet

Specifications of AT89C51SND1C-7HTUL

Core Processor
8051
Core Size
8-Bit
Speed
40MHz
Connectivity
I²C, IDE/ATAPI, MMC, SPI, UART/USART, USB
Peripherals
Audio, I²S, MP3, PCM, POR, WDT
Number Of I /o
44
Program Memory Size
64KB (64K x 8)
Program Memory Type
FLASH
Ram Size
2.25K x 8
Voltage - Supply (vcc/vdd)
2.7 V ~ 3.3 V
Data Converters
A/D 2x10b
Oscillator Type
External
Operating Temperature
-40°C ~ 85°C
Package / Case
81-CBGA
Lead Free Status / RoHS Status
Lead free / RoHS Compliant
Eeprom Size
-

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
AT89C51SND1C-7HTUL
Manufacturer:
Atmel
Quantity:
10 000
19.1.6
19.2
19.3
19.3.1
4109L–8051–02/08
Interrupt
Configuration
Error Conditions
Master Configuration
Figure 19-7. SS Timing Diagram
The following flags signal the SPI error conditions:
The SPI handles 2 interrupt sources that are the “end of transfer” and the “mode fault” flags.
As shown in Figure 19-8, these flags are combined toghether to appear as a single interrupt
source for the C51 core. The SPIF flag is set at the end of an 8-bit shift in and out and is cleared
by reading SPSTA and then reading from or writing to SPDAT.
The MODF flag is set in case of mode fault error and is cleared by reading SPSTA and then writ-
ing to SPCON.
The SPI interrupt is enabled by setting ESPI bit in IEN1 register. This assumes interrupts are
globally enabled by setting EA bit in IEN0 register.
Figure 19-8. SPI Interrupt System
The SPI configuration is made through SPCON.
The SPI operates in master mode when the MSTR bit in SPCON is set.
MODF in SPSTA signals a mode fault.
MODF flag is relevant only in master mode when SS usage is enabled (SSDIS bit cleared).
It signals when set that an other master on the bus has asserted SS pin and so, may create
a conflict on the bus with 2 master sending data at the same time.
A mode fault automatically disables the SPI (SPEN cleared) and configures the SPI in slave
mode (MSTR cleared).
MODF flag can trigger an interrupt as explained in Section "Interrupt", page 151.
MODF flag is cleared by reading SPSTA and re-configuring SPI by writing to SPCON.
WCOL in SPSTA signals a write collision.
WCOL flag is set when SPDAT is loaded while a transfer is on-going. In this case data is not
written to SPDAT and transfer continue uninterrupted. WCOL flag does not trigger any
interrupt and is relevant jointly with SPIF flag.
WCOL flag is cleared after reading SPSTA and writing new data to SPDAT while no transfer
is on-going.
SS (CPHA = 0)
SS (CPHA = 1)
SI/SO
SPSTA.7
SPSTA.4
MODF
SPIF
Byte 1
IEN1.2
ESPI
Byte 2
SPI Controller
Interrupt Request
AT8xC51SND1C
Byte 3
151

Related parts for AT89C51SND1C-7HTUL