AT89C51SND1C [ATMEL]

Single-Chip Microcontroller with MP3 Decoder and Man-Machine Interface; 单芯片微控制器, MP3解码器和人机界面
AT89C51SND1C
型号: AT89C51SND1C
厂家: ATMEL    ATMEL
描述:

Single-Chip Microcontroller with MP3 Decoder and Man-Machine Interface
单芯片微控制器, MP3解码器和人机界面

解码器 微控制器
文件: 总47页 (文件大小:751K)
中文:  中文翻译
下载:  下载PDF数据表文档文件
Features  
MPEG I/II-Layer 3 Hardwired Decoder  
– Stand-alone MP3 Decoder  
– 48, 44.1, 32, 24, 22.05, 16 kHz Sampling Frequency  
– Separated Digital Volume Control on Left and Right Channels (Software Control  
Using 31 Steps)  
– Bass, Medium, and Treble Control (31 Steps)  
– Bass Boost Sound Effect  
– Ancillary Data Extraction  
– “CRC Error” and “MPEG Frame Synchronization” Indicators  
Programmable Audio Output for Interfacing With Common Audio DAC  
– PCM Format Compatible  
Single-Chip  
Microcontroller  
with MP3  
– I2S Format Compatible  
8-bit MCU C51 Core Based (FMAX = 20 MHz)  
2304 Bytes of Internal RAM  
64K Bytes of Code Memory  
– Flash: AT89C51SND1C, ROM: AT83C51SND1C  
4K Bytes of Boot Flash Memory (AT89C51SND1C)  
– ISP: Download from USB or UART to Any External Memory Cards  
USB Rev 1.1 Controller  
– “Full Speed” Data Transmission  
Built-in PLL  
Decoder and  
Man-Machine  
Interface  
– MP3 Audio Clocks  
– USB Clock  
MultiMedia Card™ Interface Compatibility  
Atmel DataFlash® SPI Interface Compatibility  
IDE/ATAPI Interface  
2 Channels 10-bit ADC, 8 kHz (8-True Bit)  
– Battery Voltage Monitoring  
AT83C51SND1C  
AT89C51SND1C  
– Voice Recording Controlled by Software  
Up to 44 bits of General-purpose I/Os:  
– 4-bit Interrupt Keyboard Port for a 4 x n Matrix  
– SmartMedia™ Software Interface  
Standard Two 16-bit Timers/Counters  
Hardware Watchdog Timer  
Standard Full Duplex UART with Baud Rate Generator  
Two Wire Interface (TWI) Master and Slave Modes Controller  
SPI Master and Slave Modes Controller  
Power Management  
Preliminary  
Summary  
– Power-on Reset  
– Software Programmable MCU Clock  
– Idle Mode, Power-down Mode  
Operating Conditions:  
– 3V, 10%, 25 mA Typical Operating at 25°C  
– Temperature Range: -40°C to +85°C  
Packages  
– TQFP80, PLCC84 (Development Board)  
– Dice  
Description  
The AT8xC51SND1C are fully integrated stand-alone hardwired MPEG I/II-Layer 3  
decoders with a C51 microcontroller core handling data flow and MP3-player control.  
The AT89C51SND1C includes 64K Bytes of Flash memory and allows In-System Pro-  
gramming through an embedded 4K Bytes of Boot Flash Memory.  
Rev. 4106F–8051–10/02  
The AT83C51SND1C includes 64K Bytes of ROM memory.  
The AT8xC51SND1C includes 2304 Bytes of RAM memory.  
The AT8xC51SND1C provides all necessary features for man machine interface like  
timers, keyboard port, serial or parallel interface (USB, TWI, SPI, IDE), ADC input, I2S  
output, and all external memory interface (NAND or NOR Flash, SmartMedia, MultiMe-  
dia, DataFlash cards).  
Typical Applications  
MP3 Player  
PDA, Camera, Mobile Phone MP3  
Car Audio/Multimedia MP3  
Home Audio/Multimedia MP3  
2
AT8xC51SND1C  
4106F–8051–10/02  
AT8xC51SND1C  
Pin Descriptions  
Figure 1. AT8xC51SND1C, 80-pin TQFP Package  
ALE  
ISP  
1
60  
59  
58  
57  
56  
55  
54  
53  
52  
51  
50  
49  
48  
47  
46  
45  
44  
43  
42  
41  
P4.5  
2
P4.4  
P1.0/KIN0  
P1.1/KIN1  
P1.2/KIN2  
P1.3/KIN3  
P1.4  
3
P2.2/A10  
P2.3/A11  
P2.4/A12  
P2.5/A13  
P2.6/A14  
P2.7/A15  
VSS  
4
5
6
7
P1.5  
8
AT89C51SND1C-RO (Flash)  
AT83C51SND1C-RO (ROM)  
P1.6/SCL  
P1.7/SDA  
VDD  
9
VDD  
10  
11  
12  
13  
14  
15  
16  
17  
18  
19  
20  
MCLK  
MDAT  
MCMD  
RST  
PVDD  
FILT  
PVSS  
VSS  
SCLK  
X2  
DSEL  
X1  
DCLK  
DOUT  
VSS  
TST  
UVDD  
UVSS  
VDD  
3
4106F–8051–10/02  
Figure 2. AT8xC51SND1C 84-pin PLCC Package(1)  
ALE 12  
ISP 13  
74 NC  
73 P4.5  
P1.0/KIN0 14  
P1.1/KIN1 15  
P1.2/KIN2 16  
P1.3/KIN3 17  
P1.4 18  
72 P4.4  
71 P2.2/A10  
70 P2.3/A11  
69 P2.4/A12  
68 P2.5/A13  
67 P2.6/A14  
66 P2.7/A15  
65 VSS  
P1.5 19  
P1.6/SCL 20  
P1.7/SDA 21  
VDD 22  
PAVDD 23  
FILT 24  
PAVSS 25  
VSS 26  
X2 27  
64 VDD  
AT89C51SND1C-SR (Flash)  
63 MCLK  
62 MDAT  
61 MCMD  
60 RST  
59 SCLK  
58 DSEL  
57 DCLK  
56 DOUT  
55 VSS  
NC 28  
X1 29  
TST 30  
UVDD 31  
UVSS 32  
54 VDD  
Note:  
1. Only samples for development board.  
Pin Descriptions  
All AT8xC51SND1C signals are detailed by functionality in Table 1 through Table 14.  
Table 1. Ports Signal Description  
Signal  
Name  
Alternate  
Function  
Type  
Description  
Port 0  
P0 is an 8-bit open-drain bi-directional I/O port. Port 0 pins that have 1s  
written to them float and can be used as high impedance inputs. To  
avoid any parasitic current consumption, floating P0 inputs must be  
P0.7:0  
P1.7:0  
I/O  
AD7:0  
polarized to VDD or VSS  
.
KIN3:0  
SCL  
SDA  
Port 1  
I/O  
P1 is an 8-bit bi-directional I/O port with internal pull-ups.  
4
AT8xC51SND1C  
4106F–8051–10/02  
AT8xC51SND1C  
Table 1. Ports Signal Description (Continued)  
Signal  
Name  
Alternate  
Function  
Type  
Description  
Port 2  
P2.7:0  
I/O  
A15:8  
P2 is an 8-bit bi-directional I/O port with internal pull-ups.  
RXD  
TXD  
INT0  
INT1  
T0  
Port 3  
P3.7:0  
I/O  
P3 is an 8-bit bi-directional I/O port with internal pull-ups.  
T1  
WR  
RD  
MISO  
MOSI  
SCK  
SS  
Port 4  
P4.7:0  
P5.3:0  
I/O  
I/O  
P4 is an 8-bit bi-directional I/O port with internal pull-ups.  
Port 5  
-
P5 is a 4-bit bi-directional I/O port with internal pull-ups.  
Table 2. Clock Signal Description  
Signal  
Name  
Alternate  
Function  
Type  
Description  
Input to the on-chip inverting oscillator amplifier  
To use the internal oscillator, a crystal/resonator circuit is connected to  
this pin. If an external oscillator is used, its output is connected to this  
pin. X1 is the clock source for internal timing.  
X1  
I
-
Output of the on-chip inverting oscillator amplifier  
X2  
O
I
To use the internal oscillator, a crystal/resonator circuit is connected to  
this pin. If an external oscillator is used, leave X2 unconnected.  
-
-
PLL low pass filter input  
FILT receives the RC network of the PLL low pass filter.  
FILT  
Table 3. Timer 0 and Timer 1 Signal Description  
Signal  
Name  
Alternate  
Function  
Type  
Description  
Timer 0 Gate Input  
INT0 serves as external run control for timer 0, when selected by  
GATE0 bit in TCON register.  
INT0  
I
P3.2  
External Interrupt 0  
INT0 input sets IE0 in the TCON register. If bit IT0 in this register is set,  
bit IE0 is set by a falling edge on INT0. If bit IT0 is cleared, bit IE0 is set  
by a low level on INT0.  
Timer 1 Gate Input  
INT1 serves as external run control for timer 1, when selected by  
GATE1 bit in TCON register.  
INT1  
I
P3.3  
External Interrupt 1  
INT1 input sets IE1 in the TCON register. If bit IT1 in this register is set,  
bit IE1 is set by a falling edge on INT1. If bit IT1 is cleared, bit IE1 is set  
by a low level on INT1.  
5
4106F–8051–10/02  
Table 3. Timer 0 and Timer 1 Signal Description (Continued)  
Signal  
Name  
Alternate  
Function  
Type  
Description  
Timer 0 External Clock Input  
T0  
I
When Timer 0 operates as a counter, a falling edge on the T0 pin  
increments the count.  
P3.4  
P3.5  
Timer 1 External Clock Input  
When Timer 1 operates as a counter, a falling edge on the T1 pin  
increments the count.  
T1  
I
Table 4. Audio Interface Signal Description  
Signal  
Alternate  
Function  
Name  
DCLK  
DOUT  
Type  
O
Description  
DAC Data Bit Clock  
DAC Audio Data  
-
-
O
DAC Channel Select Signal  
DSEL is the sample rate clock output.  
DSEL  
SCLK  
O
O
-
-
DAC System Clock  
SCLK is the oversampling clock synchronized to the digital audio data  
(DOUT) and the channel selection signal (DSEL).  
Table 5. USB Controller Signal Description  
Signal  
Name  
Alternate  
Function  
Type  
I/O  
Description  
USB Positive Data Upstream Port  
This pin requires an external 1.5 kpull-up to VDD for full speed  
operation.  
D+  
-
-
D-  
I/O  
USB Negative Data Upstream Port  
Table 6. MutiMediaCard Interface Signal Description  
Signal  
Name  
Alternate  
Function  
Type  
Description  
MMC Clock output  
Data or command clock transfer.  
MCLK  
O
-
MMC Command line  
bi-directional command channel used for card initialization and data  
transfer commands. To avoid any parasitic current consumption,  
MCMD  
MDAT  
I/O  
I/O  
-
unused MCMD input must be polarized to VDD or VSS  
.
MMC Data line  
bi-directional data channel. To avoid any parasitic current consumption,  
unused MDAT input must be polarized to VDD or VSS  
-
.
6
AT8xC51SND1C  
4106F–8051–10/02  
AT8xC51SND1C  
Table 7. UART Signal Description  
Signal  
Name  
Alternate  
Function  
Type  
Description  
Receive Serial Data  
RXD  
I/O  
RXD sends and receives data in serial I/O mode 0 and receives data in  
serial I/O modes 1, 2 and 3.  
P3.0  
P3.1  
Transmit Serial Data  
TXD outputs the shift clock in serial I/O mode 0 and transmits data in  
serial I/O modes 1, 2 and 3.  
TXD  
O
Table 8. SPI Controller Signal Description  
Signal  
Name  
Alternate  
Function  
Type  
Description  
SPI Master Input Slave Output Data Line  
MISO  
I/O  
When in master mode, MISO receives data from the slave peripheral.  
When in slave mode, MISO outputs data to the master controller.  
P4.0  
P4.1  
SPI Master Output Slave Input Data Line  
When in master mode, MOSI outputs data to the slave peripheral.  
When in slave mode, MOSI receives data from the master controller.  
MOSI  
I/O  
SPI Clock Line  
SCK  
SS  
I/O  
I
When in master mode, SCK outputs clock to the slave peripheral. When  
in slave mode, SCK receives clock from the master controller.  
P4.2  
P4.3  
SPI Slave Select Line  
When in controlled slave mode, SS enables the slave mode.  
Table 9. TWI Controller Signal Description  
Signal  
Name  
Alternate  
Function  
Type  
Description  
TWI Serial Clock  
When TWI controller is in master mode, SCL outputs the serial clock to  
the slave peripherals. When TWI controller is in slave mode, SCL  
receives clock from the master controller.  
SCL  
I/O  
P1.6  
P1.7  
TWI Serial Data  
SDA is the bi-directional TWI data line.  
SDA  
I/O  
Table 10. A/D Converter Signal Description  
Signal  
Alternate  
Function  
Name  
AIN1:0  
AREFP  
Type  
Description  
I
I
A/D Converter Analog Inputs  
Analog Positive Voltage Reference Input  
-
-
Analog Negative Voltage Reference Input  
This pin is internally connected to AVSS.  
AREFN  
I
-
7
4106F–8051–10/02  
Table 11. Keypad Interface Signal Description  
Signal  
Name  
Alternate  
Function  
Type  
Description  
Keypad Input Lines  
KIN3:0  
I
Holding one of these pins high or low for 24 oscillator periods triggers a  
keypad interrupt.  
P1.3:0  
Table 12. External Access Signal Description  
Signal  
Name  
Alternate  
Function  
Type  
Description  
Address Lines  
A15:8  
I/O  
Upper address lines for the external bus.  
Multiplexed higher address and data lines for the IDE interface.  
P2.7:0  
P0.7:0  
Address/Data Lines  
Multiplexed lower address and data lines for the external memory or the  
IDE interface.  
AD7:0  
ALE  
I/O  
O
Address Latch Enable Output  
ALE signals the start of an external bus cycle and indicates that valid  
address information is available on lines A7:0. An external latch is used  
to demultiplex the address from address/data bus.  
-
-
ISP Enable Input  
This signal must be held to GND through a pull-down resistor at the  
falling reset to force execution of the internal bootloader.  
ISP  
I/O  
Read Signal  
RD  
O
O
P3.7  
P3.6  
Read signal asserted during external data memory read operation.  
Write Signal  
WR  
Write signal asserted during external data memory write operation.  
Table 13. System Signal Description  
Signal  
Name  
Alternate  
Function  
Type  
Description  
Reset Input  
Holding this pin high for 64 oscillator periods while the oscillator is  
running resets the device. The Port pins are driven to their reset  
conditions when a voltage lower than VIL is applied, whether or not the  
oscillator is running.  
RST  
I
-
This pin has an internal pull-down resistor which allows the device to be  
reset by connecting a capacitor between this pin and VDD  
.
Asserting RST when the chip is in Idle mode or Power-down mode  
returns the chip to normal operation.  
Test Input  
TST  
I
-
Test mode entry signal. This pin must be set to VDD  
.
8
AT8xC51SND1C  
4106F–8051–10/02  
AT8xC51SND1C  
Table 14. Power Signal Description  
Signal  
Name  
Alternate  
Function  
Type  
Description  
Digital Supply Voltage  
Connect these pins to +3V supply voltage.  
VDD  
PWR  
-
-
-
-
-
-
-
-
Circuit Ground  
Connect these pins to ground.  
VSS  
GND  
PWR  
GND  
PWR  
GND  
PWR  
GND  
Analog Supply Voltage  
Connect this pin to +3V supply voltage.  
AVDD  
AVSS  
PVDD  
PVSS  
UVDD  
UVSS  
Analog Ground  
Connect this pin to ground.  
PLL Supply voltage  
Connect this pin to +3V supply voltage.  
PLL Circuit Ground  
Connect this pin to ground.  
USB Supply Voltage  
Connect this pin to +3V supply voltage.  
USB Ground  
Connect this pin to ground.  
9
4106F–8051–10/02  
Internal Pin Structure  
Table 15. Detailed Internal Pin Structure  
Circuit(1)  
Type  
Pins  
VDD  
Input  
TST  
VDD  
Watchdog Output  
P
Input/Output  
RST  
VSS  
VDD VDD VDD  
2 osc  
periods  
P1(2)  
P2(3)  
P3  
Latch Output  
P1  
P2  
P3  
Input/Output  
P4  
N
P53:0  
VSS  
VDD  
P0  
MCMD  
MDAT  
P
Input/Output  
N
ISP  
VSS  
VDD  
ALE  
SCLK  
DCLK  
P
Output  
DOUT  
DSEL  
MCLK  
N
VSS  
D+  
D-  
Input/Output  
D+  
D-  
Notes: 1. For information on resistors value, input/output levels, and drive capability, refer to the Section “DC Characteristics”,  
page 24.  
2. When the TWI controller is enabled, P1, P2, and P3 transistors are disabled allowing pseudo open-drain structure.  
3. In Port 2, P1 transistor is continuously driven when outputting a high level bit address (A15:8).  
10  
AT8xC51SND1C  
4106F–8051–10/02  
AT8xC51SND1C  
Block Diagram  
Figure 3. AT8xC51SND1C Block Diagram  
INT0 INT1 VDD VSS UVDD UVSS AVDD AVSS AREF AIN1:0 TXD RXD  
T0  
T1 SS MISO MOSI SCK SCL SDA  
3
3
3
3
3
4
4
4
4
1
1
3
Interrupt  
Handler Unit  
Flash  
ROM  
UART  
and  
BRG  
RAM  
2304 Bytes  
10-bit A-to-D  
Converter  
Timers 0/1  
Watchdog  
SPI/DataFlash  
Controller  
TWI  
Controller  
64K Bytes  
Flash Boot  
4K Bytes  
or  
10-bit ADC  
8-BIT INTERNAL BUS  
C51 (X2 CORE)  
I/O  
Ports  
MP3 Decoder  
Unit  
I2S / PCM  
Audio Interface  
USB  
Controller  
MMC  
Interface  
Keyboard  
Interface  
IDE  
Clock and PLL  
Unit  
Interface  
1
FILT  
X1 X2  
RST  
ISP ALE  
DOUT DCLK DSEL SCLK D+ D-  
MCLK  
KIN3:0  
P0-P5  
MDAT MCMD  
Note: 1 Alternate function of Port 1  
3 Alternate function of Port 3  
4 Alternate function of Port 4  
11  
4106F–8051–10/02  
Application Information  
Figure 4. AT8xC51SND1C Typical Application with On-board Atmel DataFlash and TWI LCD  
LCD  
Ref.  
P1.0/KIN0  
MMC1  
MMC2  
P1.1/KIN1  
P1.2/KIN2  
P1.3/KIN3  
MCLK  
MDAT  
MCMD  
P0.0  
P0.1  
P0.2  
AT8xC51SND1C  
P0.3  
UVDD  
X1  
D+  
D-  
X2  
USB PORT  
UVSS  
FILT  
PVSS  
DataFlash  
Memories  
Audio DAC  
Figure 5. AT8xC51SND1C Typical Application with On-board Atmel DataFlash and LCD  
LCD  
Ref.  
MMC1  
MMC2  
P1.0/KIN0  
P1.1/KIN1  
P1.2/KIN2  
MCLK  
MDAT  
MCMD  
P0.0  
P0.1  
P0.2  
AT8xC51SND1C  
UVDD  
P0.3  
D+  
X1  
D-  
X2  
USB PORT  
UVSS  
FILT  
PVSS  
DataFlash  
Audio DAC  
Memories  
12  
AT8xC51SND1C  
4106F–8051–10/02  
AT8xC51SND1C  
Figure 6. AT8xC51SND1C Typical Application with On-board SSFDC Flash  
LCD  
Ref.  
P1.0/KIN0  
P1.1/KIN1  
P1.2/KIN2  
P1.3/KIN3  
P0.0  
MMC1  
MMC2  
MCLK  
MDAT  
MCMD  
P0.1  
P0.2  
AT8xC51SND1C  
UVDD  
P0.3  
D+  
D-  
X1  
X2  
USB PORT  
UVSS  
FILT  
PVSS  
Audio DAC  
SSFDC Memories  
or SmartMedia Cards  
SmartMedia  
Figure 7. AT8xC51SND1C Typical Application with IDE CD-ROM Drive  
LCD  
Ref.  
MMC1  
MMC2  
P1.0/KIN0  
P1.1/KIN1  
P1.2/KIN2  
P0.0  
MCLK  
MDAT  
MCMD  
P0.1  
P0.2  
AT8xC51SND1C  
P0.3  
UVDD  
X1  
D+  
D-  
X2  
USB PORT  
UVSS  
FILT  
PVSS  
Audio DAC  
IDE CD-ROM  
13  
4106F–8051–10/02  
Address Spaces  
The AT8xC51SND1C derivatives implement four different address spaces:  
Program/Code Memory  
Boot Memory  
Data Memory  
Special Function Registers (SFRs)  
Code Memory  
The AT89C51SND1C and AT83C51SND1C implement 64K Bytes of on-chip pro-  
gram/code memory. The AT83C51SND1C product provides the internal program/code  
memory in ROM technology while the AT89C51SND1C product provides it in Flash  
technology.  
The Flash memory increases ROM functionality by enabling in-circuit electrical erasure  
and programming. Thanks to the internal charge pump, the high voltage needed for pro-  
gramming or erasing Flash cells is generated on-chip using the standard VDD voltage.  
Thus, the AT89C51SND1C can be programmed using only one voltage and allows in  
application software programming commonly known as IAP. Hardware programming  
mode is also available using specific programming tools.  
Boot Memory  
Data Memory  
The AT89C51SND1C implements 4K Bytes of on-chip boot memory provided in Flash  
technology. This boot memory is delivered programmed with a standard bootloader soft-  
ware allowing In-system Programming commonly known as ISP. It also contains some  
Application Programming Interfaces routines commonly known as API allowing user to  
develop his own bootloader.  
The AT8xC51SND1 derivatives implement 2304 Bytes of on-chip data RAM. This mem-  
ory is divided in two separate areas:  
256 Bytes of on-chip RAM memory (standard C51 memory).  
2048 Bytes of on-chip expanded RAM memory (ERAM accessible via MOVX  
instructions).  
14  
AT8xC51SND1C  
4106F–8051–10/02  
AT8xC51SND1C  
Special Function  
Registers  
The Special Function Registers (SFRs) of the AT8xC51SND1 derivatives fall into the  
categories detailed in Table 16 through Table 32. The relative addresses of these SFRs  
are provided together with their reset values in Table 33. In this table, the bit-address-  
able registers are identified by Note 1.  
Table 16. C51 Core SFRs  
Mnemonic Add Name  
7
6
5
4
3
2
1
0
ACC  
B
E0h Accumulator  
F0h B Register  
CY  
AC  
F0  
RS1  
RS0  
OV  
F1  
P
Program Status  
Word  
PSW  
SP  
D0h  
81h Stack Pointer  
Data Pointer Low  
byte  
DPL  
82h  
Data Pointer High  
byte  
DPH  
83h  
Table 17. System Management SFRs  
Mnemonic Add Name  
7
6
5
4
3
2
1
PD  
0
PCON  
AUXR  
87h Power Control  
SMOD1  
SMOD0  
EXT16  
DPHDIS  
GF1  
XRS1  
GF3  
NV3  
GF0  
XRS0  
0
IDL  
AO  
8Eh Auxiliary Register 0  
A2h Auxiliary Register 1  
FBh Version Number  
M0  
EXTRAM  
AUXR1  
NVERS  
ENBOOT  
NV5  
DPS  
NV0  
NV7  
NV6  
NV4  
NV2  
NV1  
Table 18. PLL and System Clock SFRs  
Mnemonic Add Name  
7
6
5
4
3
2
1
0
X2  
CKCON  
8Fh Clock Control  
PLLCON  
PLLNDIV  
PLLRDIV  
E9h PLL Control  
EEh PLL N Divider  
EFh PLL R Divider  
R1  
R0  
N6  
R8  
PLLRES  
N3  
PLLEN  
N1  
PLOCK  
N0  
N5  
R7  
N4  
R6  
N2  
R4  
R9  
R5  
R3  
R2  
15  
4106F–8051–10/02  
Table 19. Interrupt SFRs  
Mnemonic Add Name  
7
6
5
4
3
2
1
0
Interrupt Enable  
Control 0  
IEN0  
IEN1  
IPH0  
IPL0  
IPH1  
IPL1  
A8h  
B1h  
B7h  
B8h  
B3h  
B2h  
EA  
EAUD  
EMP3  
ES  
ET1  
EX1  
ET0  
EX0  
Interrupt Enable  
Control 1  
EUSB  
EKB  
IPHS  
EADC  
IPHT1  
ESPI  
IPHX1  
IPLX1  
IPHSPI  
IPLSPI  
EI2C  
IPHT0  
IPLT0  
EMMC  
IPHX0  
Interrupt Priority  
Control High 0  
IPHAUD  
IPLAUD  
IPHUSB  
IPLUSB  
IPHMP3  
Interrupt Priority  
Control Low 0  
IPLMP3  
IPLS  
IPLT1  
IPLX0  
Interrupt Priority  
Control High 1  
IPHKB  
IPLKB  
IPHADC  
IPLADC  
IPHI2C  
IPLI2C  
IPHMMC  
IPLMMC  
Interrupt Priority  
Control Low 1  
Table 20. Port SFRs  
Mnemonic Add Name  
7
6
5
4
3
2
1
0
P0  
P1  
P2  
P3  
P4  
P5  
80h 8-bit Port 0  
90h 8-bit Port 1  
A0h 8-bit Port 2  
B0h 8-bit Port 3  
C0h 8-bit Port 4  
D8h 4-bit Port 5  
Table 21. Flash Memory SFR  
Mnemonic Add Name  
7
6
5
4
3
2
1
0
FCON  
D1h Flash Control  
FPL3  
FPL2  
FPL1  
FPL0  
FPS  
FMOD1  
FMOD0  
FBUSY  
Table 22. Timer SFRs  
Mnemonic Add Name  
7
6
5
4
3
2
1
0
Timer/Counter 0 and  
1 Control  
TCON  
TMOD  
TL0  
88h  
89h  
8Ah  
8Ch  
8Bh  
TF1  
TR1  
TF0  
TR0  
IE1  
IT1  
IE0  
IT0  
Timer/Counter 0 and  
1 Modes  
GATE1  
C/T1#  
M11  
M01  
GATE0  
C/T0#  
M10  
M00  
Timer/Counter 0 Low  
Byte  
Timer/Counter 0  
High Byte  
TH0  
Timer/Counter 1 Low  
Byte  
TL1  
16  
AT8xC51SND1C  
4106F–8051–10/02  
AT8xC51SND1C  
Table 22. Timer SFRs (Continued)  
Mnemonic Add Name  
7
6
5
4
3
2
1
0
Timer/Counter 1  
High Byte  
TH1  
8Dh  
A6h  
A7h  
WatchDog Timer  
Reset  
WDTRST  
WDTPRG  
WatchDog Timer  
Program  
WTO2  
WTO1  
WTO0  
Table 23. MP3 Decoder SFRs  
Mnemonic Add Name  
7
6
5
4
3
2
1
0
MP3CON  
MP3STA  
MP3STA1  
MP3DAT  
MP3ANC  
AAh MP3 Control  
C8h MP3 Status  
MPEN  
MPANC  
MPBBST  
MPREQ  
CRCEN  
ERRLAY  
MSKANC  
ERRSYN  
MPFREQ  
MPD4  
MSKREQ  
ERRCRC  
MPBREQ  
MPD3  
MSKLAY  
MPFS1  
MSKSYN  
MPFS0  
MSKCRC  
MPVER  
AFh MP3 Status 1  
ACh MP3 Data  
MPD7  
AND7  
MPD6  
AND6  
MPD5  
AND5  
MPD2  
AND2  
MPD1  
AND1  
MPD0  
AND0  
ADh MP3 Ancillary Data  
AND4  
AND3  
MP3 Audio Volume  
9Eh  
MP3VOL  
MP3VOR  
MP3BAS  
MP3MED  
VOL4  
VOR4  
BAS4  
MED4  
VOL3  
VOR3  
BAS3  
MED3  
VOL2  
VOR2  
BAS2  
MED2  
VOL1  
VOR1  
BAS1  
MED1  
VOL0  
VOR0  
BAS0  
MED0  
Control Left  
MP3 Audio Volume  
9Fh  
Control Right  
MP3 Audio Bass  
Control  
B4h  
MP3 Audio Medium  
Control  
B5h  
MP3 Audio Treble  
Control  
MP3TRE  
MP3CLK  
B6h  
TRE4  
TRE3  
TRE2  
TRE1  
TRE0  
EBh MP3 Clock Divider  
MPCD4  
MPCD3  
MPCD2  
MPCD1  
MPCD0  
Table 24. Audio Interface SFRs  
Mnemonic Add Name  
7
6
5
4
3
2
1
0
AUDCON0  
AUDCON1  
AUDSTA  
AUDDAT  
AUDCLK  
9Ah Audio Control 0  
9Bh Audio Control 1  
9Ch Audio Status  
JUST4  
SRC  
SREQ  
AUD7  
JUST3  
DRQEN  
UDRN  
AUD6  
JUST2  
MSREQ  
AUBUSY  
AUD5  
JUST1  
MUDRN  
JUST0  
POL  
DUP1  
DSIZ  
DUP0  
HLR  
AUDEN  
9Dh Audio Data  
AUD4  
AUCD4  
AUD3  
AUCD3  
AUD2  
AUCD2  
AUD1  
AUCD1  
AUD0  
AUCD0  
ECh Audio Clock Divider  
17  
4106F–8051–10/02  
Table 25. USB Controller SFRs  
Mnemonic Add Name  
7
6
5
4
3
2
1
0
USBCON  
USBADDR  
USBINT  
BCh USB Global Control  
C6h USB Address  
USBE  
FEN  
SUSPCLK SDRMWUP  
UPRSM  
UADD3  
SOFINT  
RMWUPE  
UADD2  
CONFG  
UADD1  
FADDEN  
UADD0  
SPINT  
UADD6  
UADD5  
UADD4  
BDh USB Global Interrupt  
WUPCPU  
EORINT  
USB Global Interrupt  
Enable  
USBIEN  
BEh  
EWUPCPU  
EEORINT  
ESOFINT  
ESPINT  
EPNUM0  
EPTYPE0  
USB Endpoint  
C7h  
UEPNUM  
UEPCONX  
EPNUM1  
EPTYPE1  
Number  
USB Endpoint X  
Control  
D4h  
EPEN  
DTGL  
EPDIR  
USB Endpoint X  
Status  
UEPSTAX  
UEPRST  
UEPINT  
CEh  
DIR  
STALLRQ  
TXRDY  
STLCRC  
EP3RST  
EP3INT  
RXSETUP  
EP2RST  
EP2INT  
RXOUT  
EP1RST  
EP1INT  
TXCMP  
EP0RST  
EP0INT  
D5h USB Endpoint Reset  
USB Endpoint  
F8h  
Interrupt  
USB Endpoint  
C2h  
UEPIEN  
EP3INTE  
FDAT3  
EP2INTE  
FDAT2  
EP1INTE  
FDAT1  
EP0INTE  
FDAT0  
Interrupt Enable  
USB Endpoint X  
CFh  
UEPDATX  
UBYCTX  
UFNUML  
FDAT7  
-
FDAT6  
BYCT6  
FNUM6  
FDAT5  
BYCT5  
FNUM5  
FDAT4  
BYCT4  
FNUM4  
FIFO Data  
USB Endpoint X Byte  
Counter  
E2h  
BYCT3  
FNUM3  
BYCT2  
FNUM2  
BYCT1  
FNUM1  
BYCT0  
FNUM0  
USB Frame Number  
BAh  
Low  
FNUM7  
USB Frame Number  
UFNUMH  
USBCLK  
BBh  
High  
CRCOK  
CRCERR  
FNUM10  
FNUM9  
FNUM8  
EAh USB Clock Divider  
USBCD1  
USBCD0  
Table 26. MMC Controller SFRs  
Mnemonic Add Name  
7
6
5
4
3
2
1
0
MMCON0  
MMCON1  
MMCON2  
E4h MMC Control 0  
E5h MMC Control 1  
E6h MMC Control 2  
DRPTR  
BLEN3  
MMCEN  
DTPTR  
BLEN2  
DCR  
CRPTR  
BLEN1  
CCR  
CTPTR  
BLEN0  
MBLOCK  
DATDIR  
DFMT  
DATEN  
DATD1  
RFMT  
CRCDIS  
CMDEN  
FLOWC  
RESPEN  
DATD0  
MMC Control and  
Status  
MMSTA  
MMINT  
MMMSK  
DEh  
CBUSY  
EOCI  
CRC16S  
EOFI  
DATFS  
F2FI  
CRC7S  
F1FI  
RESPFS  
F2EI  
CFLCK  
F1EI  
E7h MMC Interrupt  
MCBI  
MCBM  
EORI  
EORM  
MMC Interrupt  
Mask  
DFh  
EOCM  
EOFM  
F2FM  
F1FM  
F2EM  
F1EM  
MMCMD  
MMDAT  
MMCLK  
DDh MMC Command  
DCh MMC Data  
MC7  
MD7  
MC6  
MD6  
MC5  
MD5  
MC4  
MD4  
MC3  
MD3  
MC2  
MD2  
MC1  
MD1  
MC0  
MD0  
EDh MMC Clock Divider  
MMCD7  
MMCD6  
MMCD5  
MMCD4  
MMCD3  
MMCD2  
MMCD1  
MMCD0  
18  
AT8xC51SND1C  
4106F–8051–10/02  
AT8xC51SND1C  
Table 27. IDE Interface SFR  
Mnemonic Add Name  
7
6
5
4
3
2
1
0
High Order Data  
Byte  
DAT16H  
F9h  
D15  
D14  
D13  
D12  
D11  
D10  
D9  
D8  
Table 28. Serial I/O Port SFRs  
Mnemonic Add Name  
7
6
5
4
3
2
1
TI  
0
RI  
SCON  
SBUF  
98h Serial Control  
FE/SM0  
SM1  
SM2  
REN  
TB8  
RB8  
99h Serial Data Buffer  
B9h Slave Address Mask  
A9h Slave Address  
SADEN  
SADDR  
BDRCON  
BRL  
TBCK  
RBCK  
92h Baud Rate Control  
91h Baud Rate Reload  
BRR  
SPD  
SRC  
Table 29. SPI Controller SFRs  
Mnemonic Add Name  
7
6
5
4
3
2
1
0
SPCON  
SPSTA  
SPDAT  
C3h SPI Control  
C4h SPI Status  
C5h SPI Data  
SPR2  
SPIF  
SPD7  
SPEN  
WCOL  
SPD6  
SSDIS  
MSTR  
MODF  
SPD4  
CPOL  
CPHA  
SPR1  
SPR0  
SPD5  
SPD3  
SPD2  
SPD1  
SPD0  
Table 30. TWI Controller SFRs  
Mnemonic Add Name  
7
6
5
4
3
2
1
0
Synchronous Serial  
Control  
SSCON  
SSSTA  
SSDAT  
SSADR  
93h  
94h  
95h  
96h  
SSCR2  
SSPE  
SSSTA  
SSSTO  
SSI  
SSAA  
SSCR1  
SSCR0  
Synchronous Serial  
Status  
SSC4  
SSD7  
SSA7  
SSC3  
SSD6  
SSA6  
SSC2  
SSD5  
SSA5  
SSC1  
SSD4  
SSA4  
SSC0  
SSD3  
SSA3  
0
0
0
Synchronous Serial  
Data  
SSD2  
SSA2  
SSD1  
SSA1  
SSD0  
SSGC  
Synchronous Serial  
Address  
Table 31. Keyboard Interface SFRs  
Mnemonic Add Name  
7
6
KINL2  
5
KINL1  
4
KINL0  
3
2
1
0
KBCON  
KBSTA  
A3h Keyboard Control  
A4h Keyboard Status  
KINL3  
KPDE  
KINM3  
KINF3  
KINM2  
KINF2  
KINM1  
KINF1  
KINM0  
KINF0  
19  
4106F–8051–10/02  
Table 32. A/D Controller SFRs  
Mnemonic Add Name  
7
6
ADIDL  
5
ADEN  
4
3
2
1
0
ADCON  
ADCLK  
ADDL  
F3h ADC Control  
ADEOC  
ADCD4  
ADSST  
ADCD3  
ADCS  
ADCD0  
ADAT0  
ADAT2  
F2h ADC Clock Divider  
F4h ADC Data Low Byte  
F5h ADC Data High Byte  
ADCD2  
ADCD1  
ADAT1  
ADAT3  
ADDH  
ADAT9  
ADAT8  
ADAT7  
ADAT6  
ADAT5  
ADAT4  
20  
AT8xC51SND1C  
4106F–8051–10/02  
AT8xC51SND1C  
Table 33. SFR Addresses and Reset Values  
0/8  
1/9  
2/A  
3/B  
4/C  
5/D  
6/E  
7/F  
UEPINT  
0000 0000  
DAT16H  
XXXX XXXX  
NVERS2  
1000 0100  
F8h  
F0h  
E8h  
E0h  
D8h  
D0h  
C8h  
C0h  
B8h  
B0h  
A8h  
A0h  
98h  
90h  
88h  
80h  
FFh  
F7h  
EFh  
E7h  
DFh  
D7h  
CFh  
C7h  
BFh  
B7h  
AFh  
A7h  
9Fh  
97h  
8Fh  
87h  
B1  
ADCLK  
0000 0000  
ADCON  
0000 0000  
ADDL  
0000 0000  
ADDH  
0000 0000  
0000 0000  
PLLCON  
0000 1000  
USBCLK  
0000 0000  
MP3CLK  
0000 0000  
AUDCLK  
0000 0000  
MMCLK  
0000 0000  
PLLNDIV  
0000 0000  
PLLRDIV  
0000 0000  
ACC1  
0000 0000  
UBYCTLX  
0000 0000  
MMCON0  
0000 0000  
MMCON1  
0000 0000  
MMCON2  
0000 0000  
MMINT  
0000 0011  
P51  
XXXX 1111  
MMDAT  
1111 1111  
MMCMD  
1111 1111  
MMSTA  
0000 0000  
MMMSK  
1111 1111  
PSW1  
0000 0000  
FCON3  
UEPCONX  
0000 0000  
UEPRST  
0000 0000  
1111 00004  
MP3STA1  
0000 0001  
UEPSTAX  
0000 0000  
UEPDATX  
0000 0000  
P41  
1111 1111  
UEPIEN  
0000 0000  
SPCON  
0001 0100  
SPSTA  
0000 0000  
SPDAT  
XXXX XXXX  
USBADDR  
1000 0000  
UEPNUM  
0000 0000  
IPL01  
X000 0000  
SADEN  
0000 0000  
UFNUML  
0000 0000  
UFNUMH  
0000 0000  
USBCON  
0000 0000  
USBINT  
0000 0000  
USBIEN  
0001 0000  
P31  
1111 1111  
IEN1  
0000 0000  
IPL1  
0000 0000  
IPH1  
0000 0000  
MP3BAS  
0000 0000  
MP3MED  
0000 0000  
MP3TRE  
0000 0000  
IPH0  
X000 0000  
IEN01  
0000 0000  
SADDR  
0000 0000  
MP3CON  
0011 1111  
MP3DAT  
0000 0000  
MP3ANC  
0000 0000  
MP3STA1  
0100 0001  
P21  
1111 1111  
AUXR1  
XXXX 00X0  
KBCON  
0000 1111  
KBSTA  
0000 0000  
WDTRST  
XXXX XXXX  
WDTPRG  
XXXX X000  
SCON  
0000 0000  
SBUF  
XXXX XXXX  
AUDCON0  
0000 1000  
AUDCON1  
1011 0010  
AUDSTA  
1100 0000  
AUDDAT  
1111 1111  
MP3VOL  
0000 0000  
MP3VOR  
0000 0000  
P11  
1111 1111  
BRL  
0000 0000  
BDRCON  
XXX0 0000  
SSCON  
0000 0000  
SSSTA  
1111 1000  
SSDAT  
1111 1111  
SSADR  
1111 1110  
TCON1  
0000 0000  
TMOD  
0000 0000  
TL0  
0000 0000  
TL1  
0000 0000  
TH0  
0000 0000  
TH1  
0000 0000  
AUXR  
X000 1101  
CKCON  
0000 000X5  
P01  
1111 1111  
SP  
0000 0111  
DPL  
0000 0000  
DPH  
0000 0000  
PCON  
XXXX 0000  
0/8  
1/9  
2/A  
3/B  
4/C  
5/D  
6/E  
7/F  
Reserved  
Notes: 1. SFR registers with least significant nibble address equal to 0 or 8 are bit-addressable.  
2. NVERS reset value depends on the silicon version.  
3. FCON register is only available in AT89C51SND1C product.  
4. FCON reset value is 00h in case of reset with hardware condition.  
5. CKCON reset value depends on the X2B bit (programmed or unprogrammed) in the Hardware Byte.  
21  
4106F–8051–10/02  
Peripherals  
Clock Generator System The AT8xC51SND1C internal clocks are extracted from an on-chip PLL fed by an on-  
chip oscillator. Four clocks are generated respectively for the C51 core, the MP3  
decoder, the audio interface, and the other peripherals. The C51 and peripheral clocks  
are derived from the oscillator clock. The MP3 decoder clock is generated by dividing  
the PLL output clock. The audio interface sample rates are also obtained by dividing the  
PLL output clock.  
Ports  
The AT8xC51SND1C implement five 8-bit ports (P0 - P4) and one 4-bit port (P5). In  
addition to performing general-purpose I/Os, some ports are capable of external data  
memory operations; others allow for alternate functions. All I/O Ports are bi-directional.  
Each Port contains a latch, an output driver and an input buffer. Port 0 and Port 2 output  
drivers and input buffers facilitate external memory operations. Some Port 1, Port 3 and  
Port 4 pins serve for both general-purpose I/Os and alternate functions.  
Timers/Counters  
The AT8xC51SND1C implement the two general-purpose, 16-bit Timers/Counters of a  
standard C51. They are identified as Timer 0, Timer 1, and can independently be config-  
ured each to operate in a variety of modes as a Timer or as an event Counter. When  
operating as a Timer, a Timer/Counter runs for a programmed length of time, then  
issues an interrupt request. When operating as a Counter, a Timer/Counter counts neg-  
ative transitions on an external pin. After a preset number of counts, the Counter issues  
an interrupt request.  
Watchdog Timer  
MP3 Decoder  
The AT8xC51SND1C implement a hardware Watchdog Timer that automatically resets  
the chip if it is allowed to time out. The WDT provides a means of recovering from rou-  
tines that do not complete successfully due to software or hardware malfunctions.  
The AT8xC51SND1C implements a MPEG I/II audio layer 3 decoder (MP3 decoder).  
In MPEG I (ISO 11172-3) three layers of compression have been standardized support-  
ing three sampling frequencies: 48, 44.1, and 32 kHz. Among these layers, layer 3  
allows highest compression rate of about 12:1 while still maintaining CD audio quality.  
For example, 3 minutes of CD audio (16-bit PCM, 44.1 kHz) data, which needs about  
32M bytes of storage, can be encoded into only 2.7 MBytes of MPEG I audio layer 3  
data.  
In MPEG II (ISO 13818-3), three additional sampling frequencies: 24, 22.05, and 16 kHz  
are supported for low bit rates applications.  
The AT8xC51SND1C can decode in real-time the MPEG I audio layer 3 encoded data  
into a PCM audio data, and also supports MPEG II audio layer 3 additional frequencies.  
Additional features are supported by the AT8xC51SND1C MP3 decoder such as vol-  
ume, bass, medium, and treble controls, bass boost effect and ancillary data extraction.  
Audio Output Interface  
The AT8xC51SND1C implements an audio output interface allowing the decoded audio  
bitstream to be output in various formats. It is compatible with right and left justification  
PCM and I2S formats and the on-chip PLL (see Section “Clock Generator System”)  
allows connection of almost all of the commercial audio DAC families available on the  
market.  
22  
AT8xC51SND1C  
4106F–8051–10/02  
AT8xC51SND1C  
Universal Serial Bus  
Interface  
The AT8xC51SND1C implement a full-speed USB Interface. It can be used for the fol-  
lowing purposes:  
Download of MP3 encoded audio files by supporting the USB mass storage class.  
In-System Programming by supporting the USB firmware upgrade class.  
MultiMedia Card  
Interface  
The AT8xC51SND1C implement a MultiMedia Card (MMC) interface compliant to the  
V2.2 specification in MultiMedia Card mode. The MMC allows storage of MP3 encoded  
audio files in removable Flash memory cards that can be easily plugged to, or removed  
from the application. It can also be used for In-System Programming.  
IDE/ATAPI Interface  
Serial I/O Interface  
The AT8xC51SND1C provide an IDE/ATAPI interface allowing connection of devices  
such as CD-ROM reader, CompactFlashcards, Hard Disk Drive, etc. It consists of a  
16-bit bi-directional bus part of the low-level ANSI ATA/ATAPI specification. It is pro-  
vided for mass storage interfaces but could be used for In-System Programming using  
CD-ROM.  
The AT8xC51SND1C implement a serial port with its own baud rate generator providing  
one single synchronous communication mode and three full-duplex Universal Asynchro-  
nous Receiver Transmitter (UART) communication modes. It is provided for the  
following purposes:  
In-System Programming.  
Remote control of the AT8xC51SND1C by a host.  
Serial Peripheral  
Interface  
The AT8xC51SND1C implement a Serial Peripheral Interface (SPI) supporting master  
and slave modes. It is provided for the following purposes:  
Interfacing DataFlash memory and DataFlash cards for MP3 encoded audio files  
storage  
Remote control of the AT8xC51SND1C by a host  
In-System Programming  
TWI Controller  
A/D Controller  
The AT8xC51SND1C implements a TWI controller supporting the four standard master  
and slave modes with multimaster capability. It is provided for the following purposes:  
Connection of slave devices like LCD controller, audio DAC…  
Remote control of the AT8xC51SND1C by a host  
In-System Programming  
The AT8xC51SND1C implements a 2-channel 10-bit (8 true bits) analog-to-digital con-  
verter (ADC). It is provided for the following purposes:  
Battery monitoring  
Voice recording  
Corded remote control  
Keyboard Interface  
The AT8xC51SND1C implement a keyboard interface allowing connection of 4 x n  
matrix keyboard. It is based on 4 inputs with programmable interrupt capability on both  
high or low level. These inputs are available as an alternate function of P1.3:0 and allow  
exit from idle and power-down modes.  
23  
4106F–8051–10/02  
Electrical Characteristics  
Absolute Maximum Rating  
NOTE:  
Stressing the device beyond the “Absolute Maxi-  
mum Ratings” may cause permanent damage.  
These are stress ratings only. Operation beyond  
the “operating conditions” is not recommended  
and extended exposure beyond the “Operating  
Conditions” may affect device reliability.  
Storage Temperature ......................................... -65 to +150°C  
Voltage on any other Pin to VSS ......................................-0.3 to +4.0V  
I
OL per I/O Pin ................................................................. 5 mA  
Power Dissipation ............................................................. 1 W  
Ambient Temperature Under Bias........................ -40 to +85°C  
VDD ........................................................................................... 2.7 to 3.3V  
DC Characteristics  
Digital Logic  
Table 34. Digital DC Characteristics VDD = 2.7 to 3.3V , TA = -40° to +85°C  
Symbol  
Parameter  
Min  
Typ(1)  
Max  
0.2·VDD - 0.1  
VDD  
Units Test Conditions  
VIL  
Input Low Voltage  
-0.5  
V
V
V
VIH1  
Input High Voltage (except RST)  
Input High Voltage (RST)  
0.2·VDD + 0.9  
0.7·VDD  
VIH2  
VDD + 0.5  
Output Low Voltage  
VOL1  
(except P0, ALE, MCMD, MDAT, MCLK,  
SCLK, DCLK, DSEL, DOUT)  
0.45  
0.45  
V
IOL = 1.6 mA  
Output Low Voltage  
(P0, ALE, MCMD, MDAT, MCLK, SCLK,  
DCLK, DSEL, DOUT)  
VOL2  
V
V
IOL = 3.2 mA  
Output High Voltage  
(P1, P2, P3, P4 and P5)  
VOH1  
VDD - 0.7  
VDD - 0.7  
IOH = -30 µA  
Output High Voltage  
(P0, P2 address mode, ALE, MCMD,  
MDAT, MCLK, SCLK, DCLK, DSEL,  
DOUT, D+, D-)  
VOH2  
V
IOH = -3.2 mA  
VIN = 0.45V  
Logical 0 Input Current (P1, P2, P3, P4  
and P5)  
IIL  
-50  
µA  
24  
AT8xC51SND1C  
4106F–8051–10/02  
AT8xC51SND1C  
Table 34. Digital DC Characteristics VDD = 2.7 to 3.3V , TA = -40° to +85°C  
Symbol  
Parameter  
Min  
Typ(1)  
Max  
Units Test Conditions  
Input Leakage Current (P0, ALE, MCMD,  
MDAT, MCLK, SCLK, DCLK, DSEL,  
DOUT)  
ILI  
10  
µA  
µA  
0.45 < VIN < VDD  
Vin = 2.0V  
Logic1 to 0 Transition Current  
(P1, P2, P3, P4 and P5)  
ITL  
-650  
200  
RRST  
CIO  
Pull-down Resistor  
Pin Capacitance  
50  
90  
10  
kΩ  
pF  
V
TA = 25°C  
VRET  
VDD Data Retention Limit  
1.8  
12 MHz, VDD < 3.3V  
16 MHz, VDD < 3.3V  
20 MHz, VDD < 3.3V  
IDD  
Operating Current  
TBD  
TBD  
mA  
12 MHz, VDD < 3.3V  
16 MHz, VDD < 3.3V  
20 MHz, VDD < 3.3V  
IDL  
Idle Mode Current  
TBD  
TBD  
TBD  
TBD  
mA  
IPD  
Power-down Current  
µA  
VRET < VDD < 3.3V  
Note:  
1. Typical values are obtained using VDD = 3V and TA = 25°C. They are not tested and there is no guarantee on these values.  
Figure 8. IDD/IDL Versus XTAL Frequency; VDD = 2.7 to 3.3V  
TBD  
TBD  
TBD  
0
2
4
6
8
10  
12  
14  
16  
18  
20  
max Active mode (mA)  
typ Active mode (mA)  
max Idle mode (mA)  
typ Idle mode (mA)  
Frequency at XTAL (MHz)  
25  
4106F–8051–10/02  
IDD, IDL and IPD Test Conditions Figure 9. IDD Test Condition, Active Mode  
VDD  
VDD  
IDD  
RST  
VDD  
VDD  
P0  
(NC)  
Clock Signal  
X2  
X1  
TST  
VSS  
VSS  
All other pins are unconnected  
Figure 10. IDL Test Condition, Idle Mode  
VDD  
IDL  
RST  
VSS  
VDD  
VDD  
P0  
(NC)  
Clock Signal  
X2  
X1  
TST  
VSS  
VSS  
All other pins are unconnected  
Figure 11. IPD Test Condition, Power-Down Mode  
VDD  
IPD  
RST  
VDD  
VSS  
VDD  
P0  
(NC)  
X2  
X1  
MCMD  
MDAT  
TST  
VSS  
VSS  
All other pins are unconnected  
26  
AT8xC51SND1C  
4106F–8051–10/02  
AT8xC51SND1C  
A-to-D Converter  
Table 35. A-to-D Converter DC Characteristics VDD = 2.7 to 3.3V , TA = -40° to +85°C  
Symbol  
Parameter  
Min  
Typ  
Max  
Units  
Test Conditions  
AVDD  
Analog Supply Voltage  
2.7  
3.3  
V
A VDD = 3.3V  
AIN1:0 = 0 to AVDD  
AIDD  
Analog Operating Supply Current  
600  
µA  
A VDD = 3.3V  
ADEN = 0 or PD = 1  
AIPD  
AVIN  
Analog Standby Current  
Analog Input Voltage  
2
µA  
AVSS  
AVDD  
V
Reference Voltage  
AREFN  
AREFP  
AVREF  
AVSS  
2.4  
V
V
AVDD  
30  
RREF  
CIA  
AREF Input Resistance  
Analog Input capacitance  
10  
kΩ  
TA = 25°C  
TA = 25°C  
10  
pF  
Oscillator and Crystal  
Schematic  
Figure 12. Crystal Connection  
X1  
X2  
C1  
C2  
Q
VSS  
Note:  
For operation with most standard crystals, no external components are needed on X1  
and X2. It may be necessary to add external capacitors on X1 and X2 to ground in spe-  
cial cases (max 10 pF). X1 and X2 may not be used to drive other circuits.  
Parameters  
Table 36. Oscillator and Crystal Characteristics VDD = 2.7 to 3.3V , TA = -40° to +85°C  
Symbol  
CX1  
CX2  
CL  
Parameter  
Min  
Typ  
10  
10  
5
Max  
Unit  
pF  
Internal Capacitance (X1 - VSS)  
Internal Capacitance (X2 - VSS)  
Equivalent Load Capacitance (X1 - X2)  
Drive Level  
pF  
pF  
DL  
50  
20  
40  
6
µW  
MHz  
F
Crystal Frequency  
RS  
Crystal Series Resistance  
Crystal Shunt Capacitance  
CS  
pF  
27  
4106F–8051–10/02  
Phase Lock Loop  
Schematic  
Figure 13. PLL Filter Connection  
PFILT  
R
C2  
C1  
VSS  
VSS  
Parameters  
Table 37. PLL Filter Characteristics  
VDD = 2.7 to 3.3V , TA = -40° to +85°C  
Symbol  
R
Parameter  
Min  
Typ  
100  
10  
Max  
Unit  
Filter Resistor  
C1  
Filter Capacitance 1  
Filter Capacitance 2  
nF  
nF  
C2  
2.2  
In-System Programming  
Schematic  
Figure 14. ISP Pull-down Connection  
ISP  
RISP  
VSS  
Parameters  
Table 38. ISP Pull-Down Characteristics VDD = 2.7 to 3.3V , TA = -40° to +85°C  
Symbol  
Parameter  
Min  
Typ  
Max  
Unit  
RISP  
ISP Pull-down Resistor  
2.2  
kΩ  
28  
AT8xC51SND1C  
4106F–8051–10/02  
AT8xC51SND1C  
AC Characteristics  
External 8-bit Bus Cycles  
Definition of Symbols  
Table 39. External 8-bit Bus Cycles Timing Symbol Definitions  
Signals  
Address  
Conditions  
High  
A
D
L
H
L
Data In  
ALE  
Low  
V
X
Z
Valid  
Q
R
W
Data Out  
RD  
No Longer Valid  
Floating  
WR  
Timings  
Test conditions: capacitive load on all pins = 50 pF.  
Table 40. External 8-bit Bus Cycle – Data Read AC Timings  
VDD = 2.7 to 3.3V, TA = -40° to +85°C  
Variable Clock  
Standard Mode  
Variable Clock  
X2 Mode  
Symbol Parameter  
Min  
Max  
Min  
50  
Max  
Unit  
ns  
ns  
ns  
ns  
ns  
ns  
ns  
ns  
ns  
ns  
ns  
ns  
TCLCL  
TLHLL  
TAVLL  
TLLAX  
TLLRL  
TRLRH  
TRHLH  
TAVDV  
TAVRL  
TRLDV  
TRLAZ  
TRHDX  
Clock Period  
50  
ALE Pulse Width  
2·TCLCL-15  
TCLCL-20  
TCLCL-20  
3·TCLCL-30  
6·TCLCL-25  
TCLCL-20  
TCLCL-15  
Address Valid to ALE Low  
Address Hold after ALE Low  
ALE Low to RD Low  
0.5·TCLCL-20  
0.5·TCLCL-20  
1.5·TCLCL-30  
3·TCLCL-25  
RD Pulse Width  
RD High to ALE High  
Address Valid to Valid Data In  
Address Valid to RD Low  
RD Low to Valid Data  
RD Low to address Float  
Data Hold After RD High  
TCLCL+20  
0.5·TCLCL-20 0.5·TCLCL+20  
9·TCLCL-65  
4.5·TCLCL-65  
4·TCLCL-30  
2·TCLCL-30  
5·TCLCL-30  
2.5·TCLCL-30  
0
0
0
0
Instruction Float after RD  
High  
TRHDZ  
2·TCLCL-25  
TCLCL-25  
ns  
29  
4106F–8051–10/02  
Table 41. External 8-bit Bus Cycle – Data Write AC Timings  
VDD = 2.7 to 3.3V, TA = -40° to +85°C  
Variable Clock  
Standard Mode  
Variable Clock  
X2 Mode  
Symbol Parameter  
Min  
50  
Max  
Min  
Max  
Unit  
ns  
TCLCL  
TLHLL  
TAVLL  
Clock Period  
50  
ALE Pulse Width  
Address Valid to ALE Low  
2·TCLCL-15  
TCLCL-20  
TCLCL-15  
0.5·TCLCL-20  
ns  
ns  
Address Hold after ALE  
Low  
TLLAX  
TLLWL  
T
CLCL-20  
0.5·TCLCL-20  
ns  
ALE Low to WR Low  
3·TCLCL-30  
6·TCLCL-25  
TCLCL-20  
1.5·TCLCL-30  
3·TCLCL-25  
ns  
ns  
ns  
ns  
ns  
ns  
TWLWH WR Pulse Width  
TWHLH WR High to ALE High  
TAVWL  
TQVWH Data Valid to WR High  
TWHQX Data Hold after WR High  
TCLCL+20  
0.5·TCLCL-20  
2·TCLCL-30  
0.5·TCLCL+20  
Address Valid to WR Low 4·TCLCL-30  
7·TCLCL-20  
TCLCL-15  
3.5·TCLCL-20  
0.5·TCLCL-15  
Waveforms  
Figure 15. External 8-bit Bus Cycle – Data Read Waveforms  
ALE  
TLHLL  
TLLRL  
TRLRH  
TRHLH  
RD  
TRLDV  
TRHDZ  
TRHDX  
TRLAZ  
TLLAX  
TAVLL  
P0  
P2  
A7:0  
TAVRL  
TAVDV  
D7:0  
Data In  
A15:8  
30  
AT8xC51SND1C  
4106F–8051–10/02  
AT8xC51SND1C  
Figure 16. External 8-bit Bus Cycle – Data Write Waveforms  
ALE  
TLHLL  
TWHLH  
TLLWL  
TWLWH  
WR  
TAVWL  
TLLAX  
TAVLL  
TQVWH  
TWHQX  
P0  
P2  
A7:0  
D7:0  
Data Out  
A15:8  
External IDE 16-bit Bus Cycles  
Definition of Symbols  
Table 42. External IDE 16-bit Bus Cycles Timing Symbol Definitions  
Signals  
Address  
Conditions  
High  
A
D
L
H
L
Data In  
ALE  
Low  
V
X
Z
Valid  
Q
R
W
Data Out  
RD  
No Longer Valid  
Floating  
WR  
Timings  
Test conditions: capacitive load on all pins = 50 pF.  
31  
4106F–8051–10/02  
Table 43. External IDE 16-bit Bus Cycle – Data Read AC Timings  
VDD = 2.7 to 3.3V, TA = -40° to +85°C  
Variable Clock  
Standard Mode  
Variable Clock  
X2 Mode  
Symbol Parameter  
Min  
Max  
Min  
Max  
Unit  
ns  
ns  
ns  
ns  
ns  
ns  
ns  
ns  
ns  
ns  
ns  
ns  
TCLCL  
TLHLL  
TAVLL  
TLLAX  
TLLRL  
Clock Period  
50  
50  
ALE Pulse Width  
2·TCLCL-15  
TCLCL-20  
TCLCL-20  
3·TCLCL-30  
6·TCLCL-25  
TCLCL-20  
TCLCL-15  
Address Valid to ALE Low  
Address Hold after ALE Low  
ALE Low to RD Low  
0.5·TCLCL-20  
0.5·TCLCL-20  
1.5·TCLCL-30  
3·TCLCL-25  
TRLRH RD Pulse Width  
TRHLH RD High to ALE High  
TCLCL+20  
0.5·TCLCL-20  
0.5·TCLCL+20  
4.5·TCLCL-65  
TAVDV  
TAVRL  
TRLDV RD Low to Valid Data  
TRLAZ RD Low to Address Float  
Address Valid to Valid Data In  
9·TCLCL-65  
Address Valid to RD Low  
4·TCLCL-30  
2·TCLCL-30  
5·TCLCL-30  
0
2.5·TCLCL-30  
0
TRHDX Data Hold after RD High  
0
0
Instruction Float after RD  
TRHDZ  
High  
2·TCLCL-25  
TCLCL-25  
ns  
Table 44. External IDE 16-bit Bus Cycle – Data Write AC Timings  
VDD = 2.7 to 3.3V, TA = -40° to +85°C  
Variable Clock  
Standard Mode  
Variable Clock  
X2 Mode  
Symbol Parameter  
Min  
Max  
Min  
Max  
Unit  
ns  
ns  
ns  
ns  
ns  
ns  
ns  
ns  
ns  
ns  
TCLCL Clock Period  
50  
50  
TLHLL  
TAVLL  
TLLAX  
ALE Pulse Width  
2·TCLCL-15  
TCLCL-20  
TCLCL-20  
3·TCLCL-30  
6·TCLCL-25  
TCLCL-20  
4·TCLCL-30  
7·TCLCL-20  
TCLCL-15  
TCLCL-15  
Address Valid to ALE Low  
Address Hold after ALE Low  
0.5·TCLCL-20  
0.5·TCLCL-20  
1.5·TCLCL-30  
3·TCLCL-25  
TLLWL ALE Low to WR Low  
TWLWH WR Pulse Width  
TWHLH WR High to ALE High  
TAVWL Address Valid to WR Low  
TQVWH Data Valid to WR High  
TWHQX Data Hold after WR High  
TCLCL+20  
0.5·TCLCL-20 0.5·TCLCL+20  
2·TCLCL-30  
3.5·TCLCL-20  
0.5·TCLCL-15  
32  
AT8xC51SND1C  
4106F–8051–10/02  
AT8xC51SND1C  
Waveforms  
Figure 17. External IDE 16-bit Bus Cycle – Data Read Waveforms  
ALE  
TLHLL  
TLLRL  
TRLRH  
TRHLH  
RD  
TRLDV  
TRHDZ  
TRHDX  
TRLAZ  
TLLAX  
TAVLL  
P0  
P2  
A7:0  
TAVRL  
TAVDV  
D7:0  
Data In  
A15:8  
D15:81  
Data In  
Note:  
D15:8 is written in DAT16H SFR.  
Figure 18. External IDE 16-bit Bus Cycle – Data Write Waveforms  
ALE  
TLHLL  
TWHLH  
TLLWL  
TWLWH  
WR  
TAVWL  
TLLAX  
A7:0  
TAVLL  
TQVWH  
TWHQX  
P0  
P2  
D7:0  
Data Out  
A15:8  
D15:81  
Data Out  
Note:  
D15:8 is the content of DAT16H SFR.  
SPI Interface  
Definition of Symbols  
Table 45. SPI Interface Timing Symbol Definitions  
Signals  
Conditions  
High  
C
I
Clock  
H
L
Data In  
Data Out  
Low  
O
V
X
Z
Valid  
No Longer Valid  
Floating  
33  
4106F–8051–10/02  
Timings  
Table 46. SPI Interface Master AC Timing(2)  
VDD = 2.7 to 3.3V, TA = -40° to +85°C  
Symbol  
Parameter  
Min  
Max  
Unit  
Slave Mode  
TCHCH  
Clock Period  
8
TOSC  
TOSC  
TOSC  
ns  
TCHCX  
Clock High Time  
Clock Low Time  
SS Low to Clock edge  
3.2  
3.2  
200  
100  
100  
TCLCX  
TSLCH, TSLCL  
TIVCL, TIVCH  
TCLIX, TCHIX  
TCLOV, TCHOV  
TCLOX, TCHOX  
TCLSH, TCHSH  
TIVCL, TIVCH  
TCLIX, TCHIX  
Input Data Valid to Clock Edge  
Input Data Hold after Clock Edge  
Output Data Valid after Clock Edge  
Output Data Hold Time after Clock Edge  
SS High after Clock Edge  
Input Data Valid to Clock Edge  
Input Data Hold after Clock Edge  
SS Low to Output Data Valid  
Output Data Hold after SS High  
SS High to SS Low  
ns  
ns  
100  
ns  
0
ns  
0
ns  
100  
100  
ns  
ns  
TSLOV  
TSHOX  
TSHSL  
TILIH  
130  
130  
ns  
ns  
Note(1)  
Input Rise Time  
2
µs  
µs  
ns  
ns  
TIHIL  
Input Fall Time  
2
TOLOH  
TOHOL  
Output Rise Time  
100  
100  
Output Fall Time  
Master Mode  
TCHCH  
Clock Period  
4
TOSC  
TOSC  
TOSC  
ns  
TCHCX  
Clock High Time  
1.6  
1.6  
50  
50  
TCLCX  
Clock Low Time  
TIVCL, TIVCH  
Input Data Valid to Clock Edge  
Input Data Hold after Clock Edge  
Output Data Valid after Clock Edge  
Output Data Hold Time after Clock Edge  
Input Data Rise Time  
TCLIX, TCHIX  
TCLOV, TCHOV  
TCLOX, TCHOX  
ns  
65  
ns  
0
ns  
TILIH  
2
2
µs  
TIHIL  
Input Data Fall Time  
µs  
TOLOH  
TOHOL  
Output Data Rise Time  
50  
50  
ns  
Output Data Fall Time  
ns  
Notes: 1. Value of this parameter depends on software.  
2. Test conditions: capacitive load on all pins = 100 pF  
34  
AT8xC51SND1C  
4106F–8051–10/02  
AT8xC51SND1C  
Waveforms  
Figure 19. SPI Slave Waveforms (SSCPHA = 0)  
SS(1)  
(input)  
TCLSH  
TCHSH  
TSLCH  
TSLCL  
TCHCH  
TSHSL  
TCLCH  
SCK  
(SSCPOL = 0)  
(input)  
TCHCX  
TCLCX  
TCHCL  
SCK  
(SSCPOL = 1)  
(input)  
TCLOX  
TCHOX  
TCLOV  
TCHOV  
TSLOV  
SLAVE MSB OUT  
TSHOX  
MISO  
(output)  
BIT 6  
SLAVE LSB OUT  
1
TCHIX  
TCLIX  
TIVCH  
TIVCL  
MOSI  
(input)  
MSB IN  
BIT 6  
LSB IN  
Note:  
1. Not Defined but generally the MSB of the character, which has just been received.  
Figure 20. SPI Slave Waveforms (SSCPHA = 1)  
SS1(1)  
(output)  
TCHCH  
TCLCH  
SCK  
(SSCPOL = 0)  
(output)  
TCHCX  
TCLCX  
TCHCL  
SCK  
(SSCPOL = 1)  
(output)  
TIVCH  
TCHIX  
TIVCL TCLIX  
SI  
(input)  
MSB IN  
BIT 6  
LSB IN  
TCLOX  
TCHOX  
TCLOV  
TCHOV  
SO  
(output)  
Port Data  
MSB OUT  
BIT 6  
LSB OUT  
Port Data  
Note:  
1. Not Defined but generally the LSB of the character, which has just been received.  
35  
4106F–8051–10/02  
Figure 21. SPI Master Waveforms (SSCPHA = 0)  
SS1(1)  
(input)  
TSLCH  
TSLCL  
TCLSH  
TCHSH  
TCHCH  
TSHSL  
TCLCH  
SCK  
(SSCPOL = 0)  
(input)  
TCHCX  
TCLCX  
TCHCL  
SCK  
(SSCPOL = 1)  
(input)  
TCHOV  
TCLOV  
TCHOX  
TCLOX  
TSLOV  
SLAVE MSB OUT  
TSHOX  
MISO  
(output)  
BIT 6  
SLAVE LSB OUT  
1
TIVCH  
TIVCL  
TCHIX  
TCLIX  
MOSI  
(input)  
MSB IN  
BIT 6  
LSB IN  
Note:  
SS handled by software using general purpose port pin.  
Figure 22. SPI Master Waveforms (SSCPHA = 1)  
SS1(1)  
(output)  
TCHCH  
TCLCH  
SCK  
(SSCPOL = 0)  
(output)  
TCHCX  
TCLCX  
TCHCL  
SCK  
(SSCPOL = 1)  
(output)  
TIVCH  
TCHIX  
TIVCL TCLIX  
SI  
(input)  
MSB IN  
TCLOV  
BIT 6  
LSB IN  
TCLOX  
TCHOX  
TCHOV  
SO  
(output)  
Port Data  
MSB OUT  
BIT 6  
LSB OUT  
Port Data  
Note:  
SS handled by software using general purpose port pin.  
36  
AT8xC51SND1C  
4106F–8051–10/02  
AT8xC51SND1C  
Two-wire Interface  
Timings  
Table 47. TWI Interface AC Timing  
zVDD = 2.7 to 3.3V, TA = -40° to +85°C  
INPUT  
Min  
OUTPUT  
Min  
Symbol  
THD; STA  
TLOW  
Parameter  
Max  
Max  
4.0 µs(1)  
4.7 µs(1)  
(4)  
(4)  
(4)  
Start condition hold time  
SCL Low Time  
14·TCLCL  
16·TCLCL  
14·TCLCL  
1 µs  
THIGH  
SCL High Time  
4.0 µs(1)  
TRC  
SCL Rise Time  
Note(2)  
TFC  
SCL Fall Time  
0.3 µs  
250 ns  
250 ns  
250 ns  
0 ns  
0.3 µs(3)  
TSU; DAT1  
TSU; DAT2  
TSU; DAT3  
THD; DAT  
TSU; STA  
TSU; STO  
TBUF  
Data Set-up Time  
20·TCLCL(4)- TRD  
1 µs(1)  
SDA Set-up Time (before repeated START condition)  
SDA Set-up Time (before STOP condition)  
Data Hold Time  
(4)  
8·TCLCL  
(4)  
8·TCLCL - TFC  
Repeated START Set-up Time  
STOP condition Set-up Time  
Bus Free Time  
14·TCLCL  
14·TCLCL  
14·TCLCL  
1 µs  
4.7 µs(1)  
4.0 µs(1)  
4.7 µs(1)  
(4)  
(4)  
(4)  
(2)  
TRD  
SDA Rise Time  
-
TFD  
SDA Fall Time  
0.3 µs  
0.3 µs(3)  
Notes: 1. At 100 kbit/s. At other bit-rates this value is inversely proportional to the bit-rate of  
100 kbit/s.  
2. Determined by the external bus-line capacitance and the external bus-line pull-up  
resistor, this must be < 1 µs.  
3. Spikes on the SDA and SCL lines with a duration of less than 3·TCLCL will be filtered  
out. Maximum capacitance on bus-lines SDA and SCL = 400 pF.  
4. TCLCL = TOSC = one oscillator clock period.  
Waveforms  
Figure 23. TWI Waveforms  
Repeated START Condition  
START or Repeated START Condition  
START Condition  
TSU;STA  
STOP Condition  
Trd  
0.7 VDD  
0.3 VDD  
SDA  
(INPUT/OUTPUT)  
Tsu;STO  
Tbuf  
TFD  
Tsu;DAT3  
Trc  
Tfc  
0.7 VDD  
0.3 VDD  
SCL  
(INPUT/OUTPUT)  
THIGH  
Tsu; DAT 2  
TLOW  
THD;STA  
THDDAT  
TSU;DAT1  
37  
4106F–8051–10/02  
MMC Interface  
Definition of Symbols  
Table 48. MMC Interface Timing Symbol Definitions  
Signals  
Conditions  
High  
C
D
O
Clock  
H
L
Data In  
Data Out  
Low  
V
X
Valid  
No Longer Valid  
Timings  
Table 49. MMC Interface AC Timings  
VDD = 2.7 to 3.3V, TA = 0 to 70°C, CL 100 pF (10 Cards)  
Symbol  
TCHCH  
Parameter  
Min  
50  
Max  
Unit  
ns  
ns  
ns  
ns  
ns  
ns  
ns  
ns  
ns  
Clock Period  
TCHCX  
TCLCX  
TCLCH  
TCHCL  
TDVCH  
TCHDX  
TCHOX  
TOVCH  
Clock High Time  
10  
Clock Low Time  
10  
Clock Rise Time  
10  
10  
Clock Fall Time  
Input Data Valid to Clock High  
Input Data Hold after Clock High  
Output Data Hold after Clock High  
Output Data Valid to Clock High  
3
3
5
5
Waveforms  
Figure 24. MMC Input-Output Waveforms  
TCHCH  
TCHCX  
TCLCX  
MCLK  
TCHCL  
TCLCH  
TIVCH  
TCHIX  
MCMD Input  
MDAT Input  
TCHOX  
TOVCH  
MCMD Output  
MDAT Output  
38  
AT8xC51SND1C  
4106F–8051–10/02  
AT8xC51SND1C  
Audio Interface  
Definition of Symbols  
Table 50. Audio Interface Timing Symbol Definitions  
Signals  
Conditions  
C
O
S
Clock  
H
L
High  
Data Out  
Data Select  
Low  
V
X
Valid  
No Longer Valid  
Timings  
Table 51. Audio Interface AC Timings  
VDD = 2.7 to 3.3V, TA = 0 to 70°C, CL 30pF  
Symbol  
TCHCH  
TCHCX  
TCLCX  
TCLCH  
TCHCL  
TCLSV  
Parameter  
Min  
Max  
Unit  
ns  
Clock Period  
325.5(1)  
Clock High Time  
Clock Low Time  
Clock Rise Time  
Clock Fall Time  
Clock Low to Select Valid  
30  
30  
ns  
ns  
10  
10  
10  
10  
ns  
ns  
ns  
TCLOV  
Note:  
Clock Low to Data Valid  
ns  
32-bit format with Fs = 48 kHz.  
Waveforms  
Figure 25. Audio Interface Waveforms  
TCHCH  
TCHCX  
TCLCX  
DCLK  
TCHCL  
TCLCH  
TCLSV  
DSEL  
DDAT  
Right  
Left  
TCLOV  
39  
4106F–8051–10/02  
Analog to Digital Converter  
Definition of Symbols  
Table 52. Analog to Digital Converter Timing Symbol Definitions  
Signals  
Conditions  
High  
C
E
Clock  
H
L
Enable (ADEN bit)  
Low  
Start Conversion  
(ADSST bit)  
S
Characteristics  
Table 53. Analog-to-Digital Converter AC Characteristics  
VDD = 2.7 to 3.3V, TA = 0 to 70°C  
Symbol  
TCLCL  
Parameter  
Min  
Max  
Unit  
µs  
Clock Period  
Start-up Time  
Conversion Time  
1.43  
TEHSH  
TSHSL  
DLE  
4
µs  
11·TCLCL  
µs  
Differential non-  
linearity error(1)( 2)  
TBD  
TBD  
LSB  
LSB  
Integral non-  
ILE  
linearity error(1)(3)  
OSE  
GE  
Offset error(1)(4)  
Gain error(1)(5)  
TBD  
TBD  
LSB  
%
Notes: 1. AVDD = AVREFP = 3.0 V, AVSS = AVREFN = 0 V. ADC is monotonic with no missing  
code.  
2. The differential non-linearity is the difference between the actual step width and the  
ideal step width (see Figure 27).  
3. The integral non-linearity is the peak difference between the center of the actual step  
and the ideal transfer curve after appropriate adjustment of gain and offset errors  
(see Figure 27).  
4. The offset error is the absolute difference between the straight line, which fits the  
actual transfer curve (after removing of gain error); and the straight line, which fits the  
ideal transfer curve (see Figure 27).  
5. The gain error is the relative difference in percent between the straight line which fits  
the actual transfer curve (after removing of offset error); and the straight line, which  
fits the ideal transfer curve (see Figure 27).  
Waveforms  
Figure 26. Analog-to-Digital Converter Internal Waveforms  
CLK  
TCLCL  
ADEN Bit  
TEHSH  
ADSST Bit  
TSHSL  
40  
AT8xC51SND1C  
4106F–8051–10/02  
AT8xC51SND1C  
Figure 27. Analog to Digital Converter Characteristics  
Offset Gain  
Error Error  
OSE GE  
Code Out  
1023  
1022  
1021  
1020  
1019  
1018  
Ideal Transfer curve  
7
6
5
4
3
Example of an Actual Transfer Curve  
Center of a Step  
Integral non-linearity  
Differential non-linearity  
2
1
1 LSB  
(ideal)  
0
0
AVIN (LSBideal)  
1
2
3
4
5
6
7
1018 1019 1020 1021 1022 1023 1024  
Offset  
Error  
Flash Memory  
Definition of Symbols  
Table 54. Flash Memory Timing Symbol Definitions  
Signals  
Conditions  
S
R
B
ISP  
L
V
X
Low  
RST  
Valid  
FBUSY flag  
No Longer Valid  
Timings  
Table 55. Flash Memory AC Timing  
DD = 2.7 to 3.3V, TA = -40° to +85°C  
V
Symbol  
Parameter  
Min  
50  
Typ  
Max  
Unit  
TSVRL  
TRLSX  
TBHBL  
Input ISP Valid to RST Edge  
Input ISP Hold after RST Edge  
Flash Internal Busy (Programming) Time  
ns  
ns  
50  
10  
ms  
41  
4106F–8051–10/02  
Waveforms  
Figure 28. Flash Memory – ISP Waveforms  
RST  
TSVRL  
TRLSX  
ISP1  
Note:  
ISP must be driven through a pull-down resistor (see Section “In-System Programming”,  
page 28).  
Figure 29. Flash Memory – Internal Busy Waveforms  
FBUSY Bit  
TBHBL  
External Clock Drive and Logic Level References  
Definition of Symbols Table 56. External Clock Timing Symbol Definitions  
Signals  
Clock  
Conditions  
High  
C
H
L
Low  
X
No Longer Valid  
Timings  
Table 57. External Clock AC Timings  
VDD = 2.7 to 3.3V, TA= 0 to 70°C  
Symbol  
TCLCL  
TCHCX  
TCLCX  
TCLCH  
TCHCL  
TCR  
Parameter  
Min  
50  
10  
10  
3
Max  
Unit  
ns  
ns  
ns  
ns  
ns  
%
Clock Period  
High Time  
Low Time  
Rise Time  
Fall Time  
3
Cyclic Ratio in X2 mode  
40  
60  
Waveforms  
Figure 30. External Clock Waveform  
TCLCH  
TCHCX  
VDD - 0.5  
VIH1  
TCLCX  
VIL  
0.45 V  
TCHCL  
TCLCL  
42  
AT8xC51SND1C  
4106F–8051–10/02  
AT8xC51SND1C  
Figure 31. AC Testing Input/Output Waveforms  
INPUTS  
OUTPUTS  
VIH min  
VIL max  
- 0.5  
DD  
0.7 VDD  
0.3 VDD  
0.45 V  
Notes: 1. During AC testing, all inputs are driven at VDD -0.5V for a logic 1 and 0.45V for a logic 0.  
2. Timing measurements are made on all outputs at VIH min for a logic 1 and VIL max for a logic 0.  
Figure 32. Float Waveforms  
VLOAD + 0.1 V  
LOAD - 0.1 V  
VOH - 0.1 V  
VOL + 0.1 V  
Timing Reference Points  
VLOAD  
V
Note:  
For timing purposes, a port pin is no longer floating when a 100 mV change from load voltage occurs and begins to float when a  
100 mV change from the loading VOH/VOL level occurs with IOL/IOH 20 mA.  
=
43  
4106F–8051–10/02  
Ordering Information  
Table 58. Ordering Information  
Temperature  
Range  
Supply  
Voltage  
Part Number  
Memory Size  
Max Frequency  
40 MHz  
Package(2)  
TQFP80  
Packing  
Tray  
AT89C51SND1C-ROTIL  
AT83SND1Axxx(1)-ROTIL  
64K Flash  
64K ROM  
3V  
3V  
Industrial  
Industrial  
40 MHz  
TQFP80  
Tray  
Notes: 1. Refers to ROM code.  
2. PLCC84 package only available for development board.  
44  
AT8xC51SND1C  
4106F–8051–10/02  
AT8xC51SND1C  
Package Information  
TQFP80  
45  
4106F–8051–10/02  
PLCC84  
46  
AT8xC51SND1C  
4106F–8051–10/02  
Atmel Headquarters  
Atmel Operations  
Corporate Headquarters  
2325 Orchard Parkway  
San Jose, CA 95131  
TEL 1(408) 441-0311  
FAX 1(408) 487-2600  
Memory  
RF/Automotive  
Theresienstrasse 2  
Postfach 3535  
74025 Heilbronn, Germany  
TEL (49) 71-31-67-0  
FAX (49) 71-31-67-2340  
2325 Orchard Parkway  
San Jose, CA 95131  
TEL 1(408) 441-0311  
FAX 1(408) 436-4314  
Europe  
Microcontrollers  
Atmel Sarl  
2325 Orchard Parkway  
San Jose, CA 95131  
TEL 1(408) 441-0311  
FAX 1(408) 436-4314  
1150 East Cheyenne Mtn. Blvd.  
Colorado Springs, CO 80906  
TEL 1(719) 576-3300  
Route des Arsenaux 41  
Case Postale 80  
CH-1705 Fribourg  
Switzerland  
FAX 1(719) 540-1759  
Biometrics/Imaging/Hi-Rel MPU/  
High Speed Converters/RF Data-  
com  
Avenue de Rochepleine  
BP 123  
38521 Saint-Egreve Cedex, France  
TEL (33) 4-76-58-30-00  
FAX (33) 4-76-58-34-80  
TEL (41) 26-426-5555  
FAX (41) 26-426-5500  
La Chantrerie  
BP 70602  
44306 Nantes Cedex 3, France  
TEL (33) 2-40-18-18-18  
FAX (33) 2-40-18-19-60  
Asia  
Room 1219  
Chinachem Golden Plaza  
77 Mody Road Tsimhatsui  
East Kowloon  
Hong Kong  
TEL (852) 2721-9778  
FAX (852) 2722-1369  
ASIC/ASSP/Smart Cards  
Zone Industrielle  
13106 Rousset Cedex, France  
TEL (33) 4-42-53-60-00  
FAX (33) 4-42-53-60-01  
Japan  
1150 East Cheyenne Mtn. Blvd.  
Colorado Springs, CO 80906  
TEL 1(719) 576-3300  
9F, Tonetsu Shinkawa Bldg.  
1-24-8 Shinkawa  
Chuo-ku, Tokyo 104-0033  
Japan  
FAX 1(719) 540-1759  
TEL (81) 3-3523-3551  
FAX (81) 3-3523-7581  
Scottish Enterprise Technology Park  
Maxwell Building  
East Kilbride G75 0QR, Scotland  
TEL (44) 1355-803-000  
FAX (44) 1355-242-743  
e-mail  
literature@atmel.com  
Web Site  
http://www.atmel.com  
© Atmel Corporation 2002.  
Atmel Corporation makes no warranty for the use of its products, other than those expressly contained in the Company’s standard warranty  
which is detailed in Atmel’s Terms and Conditions located on the Company’s web site. The Company assumes no responsibility for any errors  
which may appear in this document, reserves the right to change devices or specifications detailed herein at any time without notice, and does  
not make any commitment to update the information contained herein. No licenses to patents or other intellectual property of Atmel are granted  
by the Company in connection with the sale of Atmel products, expressly or by implication. Atmel’s products are not authorized for use as critical  
components in life support devices or systems.  
ATMEL® and DataFlash® are registered trademark of Atmel. MultiMedia Card® is a registered trademark of  
MultiMedia Coroporation. SmartMedia® is a registered trademark of Toshiba Corporation. CompactFlashis a  
trademark of CompactFlash Corporation.  
Printed on recycled paper.  
4106F–8051–10/02 /0M  
Other terms and product names may be the trademarks of others.  

相关型号:

AT89C51SND1C-7HTIL

Single-Chip Flash Microcontroller with MP3 Decoder and Guman Interface
ATMEL

AT89C51SND1C-7HTJL

Single-Chip Flash Microcontroller with MP3 Decoder and Human Interface
ATMEL
ATMEL

AT89C51SND1C-DDV

Single-Chip Flash Microcontroller with MP3 Decoder and Guman Interface
ATMEL

AT89C51SND1C-ROTIL

Single-Chip Microcontroller with MP3 Decoder and Man-Machine Interface
ATMEL

AT89C51SND1C-ROTUL

Single-Chip Flash Microcontroller with MP3 Decoder and Human Interface
ATMEL

AT89C51SND1_06

USB Microcontrollers
ATMEL

AT89C51SND2C

Single-Chip Flash Microcontroller with MP3 Decoder with Full Audio Interface
ATMEL

AT89C51SND2C-7FRIL

Single-Chip Flash Microcontroller with MP3 Decoder with Full Audio Interface
ATMEL

AT89C51SND2C-7FRJL

Single-Chip Flash Microcontroller with MP3 Decoder with Full Audio Interface
ATMEL

AT89C51SND2C-7FRUL

Microcontroller, 8-Bit, FLASH, 40MHz, CMOS, PBGA100, ROHS COMPLIANT, CTBGA-100
ATMEL

AT89C51SND2C-7FTIL

Single-Chip Flash Microcontroller with MP3 Decoder with Full Audio Interface
ATMEL