AT89C5132 Atmel Corporation, AT89C5132 Datasheet - Page 94

no-image

AT89C5132

Manufacturer Part Number
AT89C5132
Description
Manufacturer
Atmel Corporation
Datasheets

Specifications of AT89C5132

Flash (kbytes)
64 Kbytes
Max. Operating Frequency
20 MHz
Cpu
8051-12C
Max I/o Pins
44
Usb Transceiver
1
Usb Speed
Full Speed
Usb Interface
Device
Spi
1
Uart
1
Adc Channels
2
Adc Resolution (bits)
10
Adc Speed (ksps)
22.7
Sram (kbytes)
2.25
Self Program Memory
API
Operating Voltage (vcc)
2.7 to 3.6
Timers
2
Isp
UART/USB
Watchdog
Yes

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Company:
Part Number:
AT89C5132-IL
Quantity:
192
Part Number:
AT89C5132-RORUL
Manufacturer:
Atmel
Quantity:
10 000
Part Number:
AT89C5132-ROTIL
Manufacturer:
Atmel
Quantity:
10 000
Part Number:
AT89C5132-ROTUL
Manufacturer:
Atmel
Quantity:
10 000
Figure 16-17. Data Block Transmission Flows
16.6.4
16.6.4.1
16.6.4.2
94
AT89C5132
Data Receiver
Configuration
Data Reception
Write 16 Data to MMDAT
Write 8 Data to MMDAT
a. Polling Mode
Start Transmission
F1EI or F2EI = 1?
Transmission
No More Data
FIFO Empty?
FIFOs Filling
Data Block
FIFO Filling
DATEN = 1
DATEN = 0
to Send?
To receive data from the card, the user must first configure the data controller in reception mode
by clearing the DATDIR bit in MMCON1 register.
Figure 16-18 summarizes the data stream reception flows in both polling and interrupt modes
while Figure 16-19 summarizes the data block reception flows in both polling and interrupt
modes, these flows assume that block length is greater than 16 Bytes.
The end of data frame (block or stream) reception is signalled by the EOFI flag in MMINT regis-
ter. This flag may generate an MMC interrupt request as detailed in Section "Interrupt", page 96.
When this flag is set, two other flags in MMSTA register: DATFS and CRC16S give a status on
the frame received. DATFS indicates if the frame format is correct or not: a valid End bit has
been received, and CRC16S indicates if the CRC16 computation is correct or not. In case of
data stream CRC16S has no meaning and stays cleared.
According to the MMC specification data transmission, the card starts after the access time
delay (formally N
locking of the MMC controller when card does not send its data (e.g. physically removed from
the bus), the user must launch a time-out period to exit from such situation. In case of time-out
AC
parameter) beginning from the End bit of the read command. To avoid any
Write 16 Data to MMDAT
Unmask FIFOs Empty
Start Transmission
Initialization
FIFOs Filling
Data Block
DATEN = 1
DATEN = 0
F1EM = 0
F2EM = 0
b. Interrupt Mode
Write 8 Data to MMDAT
Transmission ISR
Mask FIFOs Empty
F1EI or F2EI = 1?
No More Data
FIFO Empty?
Data Block
FIFO Filling
To Send?
F1EM = 1
F2EM = 1
4173E–USB–09/07

Related parts for AT89C5132