Rev.4106E–8051–03/021FeaturesMPEGI/II-Layer3HardwiredDecoder–Stand-aloneMP3Decoder–48,44.1,32,24,22.05,16KHzSamplingFrequency–SeparatedDigitalVolumeControlonLeftandRightChannels(SoftwareControlUsing31Steps)–Bass,Medium,andTrebleControl(31Steps)–BassBoostSoundEffect–AncillaryDataExtraction–“CRCError”and“MPEGFrameSynchronization”IndicatorsProgrammableAudioOutputforInterfacingWithCommonAudioDAC–PCMFormatCompatible–I2SFormatCompatible8-bitMCUC51CoreBased(FMAX=20MHz)2304bytesofInternalRAM64KbytesofCodeMemory–Flash:AT89C51SND1A,ROM:AT83C51SND1A4KbytesofBootFlashMemory(AT89C51SND1A)–ISP:DownloadfromUSBorUARTtoanyExternalMemoryCardsUSBRev1.1Controller–“FullSpeed”DataTransmissionBuilt-inPLL–MP3AudioClocks–USBClockMultiMediaCard™InterfaceCompatibilityAtmelDataFlash™SPIInterfaceCompatibilityIDE/ATAPIInterface2Channels10-bitADC,8KHz(8TrueBit)–BatteryVoltageMonitoring–VoiceRecordingControlledbySoftwareUpto44bitsofGeneral-purposeI/Osfor:–4-bitInterruptKeyboardPortfora4xnMatrix–Smartmedia™SoftwareInterfaceStandardTwo16-bitTimers/CountersHardwareWatchdogTimerStandardFullDuplexUARTwithBaudRateGenerator2-wireMasterandSlaveModesControllerSPIMasterandSlaveModesControllerPowerManagement–Power-onreset–SoftwareProgrammableMCUClock–IdleMode,Power-downModeOperatingConditions:–3V,±10%,25mATypicalOperatingat25°C–TemperatureRange:-40°Cto+85°CPackages–TQFP80,PLCC84(DevelopmentBoard)–DiceDescriptionTheAT8xC51SND1Aisafullyintegratedstand-alonehardwiredMPEGI/II-Layer3decoderwithaC51microcontrollercorehandlingdataflowandMP3-playercontrol.TheAT89C51SND1Aincludes64KbytesofFlashmemoryandallowsIn-SystemPro-grammingthroughanembedded4KbytesofBootFlashMemory.SingleChipMicrocontrollerwithMP3DecoderandManMachineInterfaceAT8xC51SND1APreliminary2AT8xC51SND1A4106E–8051–03/02TheAT83C51SND1Aincludes64KbytesofROMmemory.TheAT8xC51SND1Aincludes2304bytesofRAMmemory.TheAT8xC51SND1Aprovidesallnecessaryfeaturesformanmachineinterfaceliketimers,keyboardport,serialorparallelinterface(USB,2-wire,SPI,IDE),ADCinput,I2Soutput,andallexternalmemoryinterface(NANDorNORFlash,SmartMedia,MultiMedia).TypicalApplicationsMP3PlayerPDA,Camera,MobilePhoneMP3CarAudio/MultimediaMP3HomeAudio/MultimediaMP33AT8xC51SND1A4106E–8051–03/02PinDescriptionPinoutsFigure1.AT8xC51SND1A80-pinTQFPPackageAT89C51SND1A-RO(Flash)AT83C51SND1A-RO(ROM)P0.3/AD3P0.4/AD4P0.5/AD5VSSVDDP0.6/AD6P0.7/AD7P2.0/A8P2.1/A9P3.1/TXDP3.2/INT0#P3.3/INT1#P3.4/T0P3.0/RXD12345678131110P2.2/A10P2.3/A11P2.4/A12P2.6/A14P2.5/A13P2.7/A15MCLKMDATMCMDP0.2/AD2P0.1/AD1P0.0/AD0PVSSVSSX2X1TST#VSS912141516P4.3/SS#P4.2/SCKP4.1/MOSIP4.0/MISOVSSVDDRSTSCLKDSELDCLKDOUTAIN1AIN0AREFNAREFPAVSSAVDDP3.7/RD#P3.6/WR#P3.5/T1VDDP1.0/KIN0P1.1/KIN1P1.2/KIN2P1.3/KIN3P1.4P1.5P1.7/SDAFILTPVDDVDDP1.6/SCL17181920212223242526272833313029323435363738394041424344454647485351504952545556575859606162636465666768737170697274757677787980ALEISP#UVDDUVSSP5.0P5.1P4.7P4.6D-D+P5.3P5.2VSSVDDP4.5P4.44AT8xC51SND1A4106E–8051–03/02Figure2.AT8xC51SND1A84-pinPLCCPackageSignalsAllAT8xC51SND1AsignalsaredetailedbyfunctionalityinTable1toTable14.AT89C51SND1A-SR(Flash)P0.3/AD3P0.4/AD4P0.5/AD5VSSVDDP0.6/AD6P0.7/AD7P2.0/A8P2.1/A9P3.3/INT1#P3.4/T0P3.5/T1P3.6/WR#P3.2/INT0#65646362616059585556571213141516172220193334353637432184838281807978NCP2.3/A11P2.4/A12P2.6/A14P2.5/A13P2.7/A15MCLKMDATMCMDP0.2/AD2P0.1/AD1P5.0PAVSSVSSX2NCX1P3.1/TXD18212324253839404142696867667056789P4.3/SS#P4.2/SCKP4.1/MOSIP4.0/MISOVSSVDDRSTSCLKDSELDCLKDOUTAIN1AIN0AREFNAREFPAVSSAVDDVSSVDDP3.7/RD#P3.0/RXDP1.0/KIN0P1.1/KIN1P1.2/KIN2P1.3/KIN3P1.4P1.5P1.7/SDAFILTPAVDDVDDP1.6/SCL2643TST#P5.2P0.0/AD077P2.2/A1054ALEISP#NCP5.1P4.7P4.676751011282729303132UVDDUVSS4445464748495051525374737271P4.4P4.5VDDVSSD-D+NCP5.3Table1.PortsSignalDescriptionSignalNameTypeDescriptionAlternateFunctionP0.7:0I/OPort0P0isan8-bitopen-drainbidirectionalI/Oport.Port0pinsthathave1swrittentothemfloatandcanbeusedashighimpedanceinputs.Toavoidanyparasiticcurrentconsumption,floatingP0inputsmustbepolarizedtoVDDorVSS.AD7:0P1.7:0I/OPort1P1isan8-bitbidirectionalI/Oportwithinternalpull-ups.KIN3:0SCLSDA5AT8xC51SND1A4106E–8051–03/02P2.7:0I/OPort2P2isan8-bitbidirectionalI/Oportwithinternalpull-ups.A15:8P3.7:0I/OPort3P3isan8-bitbidirectionalI/Oportwithinternalpull-ups.RXDTXDINT0#INT1#T0T1WR#RD#P4.7:0I/OPort4P4isan8-bitbidirectionalI/Oportwithinternalpull-ups.MISOMOSISCKSS#P5.3:0I/OPort5P5isa4-bitbidirectionalI/Oportwithinternalpull-ups.-Table2.ClockSignalDescriptionSignalNameTypeDescriptionAlternateFunctionX1IInputtotheon-chipinvertingoscillatoramplifierTousetheinternaloscillator,acrystal/resonatorcircuitisconnectedtothispin.Ifanexternaloscillatorisused,itsoutputisconnectedtothispin.X1istheclocksourceforinternaltiming.-X2OOutputoftheon-chipinvertingoscillatoramplifierTousetheinternaloscillator,acrystal/resonatorcircuitisconnectedtothispin.Ifanexternaloscillatorisused,leaveX2unconnected.-FILTIPLLLowPassFilterinputFILTreceivestheRCnetworkofthePLLlowpassfilter.-Table3.Timer0andTimer1SignalDescriptionSignalNameTypeDescriptionAlternateFuncti