OTP语音芯片资料.docx
《OTP语音芯片资料.docx》由会员分享,可在线阅读,更多相关《OTP语音芯片资料.docx(17页珍藏版)》请在冰点文库上搜索。
OTP语音芯片资料
LXB20Description
LXB20isa20SecEasyUseSpeechIC.ItSupportPWMorDACvoiceoutputwithhighqualityspeech,Thereare20secondVoiceLengthunder6KHzsamplingand4bithardwarecompression.Itsinternalbuilt-inaoscillatorforsystemclockwithoutanexternalresistor.Maximum63voicegroups.OneGroupcontainseveralsteps(voicesection);Maximum700stepsforalltheGroups.EachStepcanbedefineTriggerMode,OutputStatus,VoiceSection,Mutelength,I/OType&SimpleProgrammingFunction.Usercanselect8bit/5bit/4bitdatacompression.SupportthreemodetriggerIC(StandAlone,SerialTriggerMode,CPUCommandMode).Easyusedevelopmentsystemisforfunctionselectionandvoicecombination.PCdownloadtheROMcodebytheUSBPort.
Functions
MAXvoicefile:
700MAXTriggerGroups:
63PowerOnTriggerGroup:
1MAXStep:
700Signalstepmutelength:
0.64s(6ksamplerate)OperatingVoltagerange:
2.4V~3.6VTotalVoiceDuration:
20”(120KSamples)I/Opin:
4Voiceoutput:
PWMorDACSequentialKey:
TG1->32Groups.
TG2->29Groups.
TG3,TG4->1Group
Debouncetime:
50usor10ms
On/Offfunction:
onlyforallTGPIN
SequentialKeyforVolumecontrolfunction.
StepcanchangeTriggerI/OType,TriggerMode&OutputStatus.HardwareTriggerGroupRepeatfunction.
SimpleProgrammingFunction:
(a)Writedatatoworkingregister.
(b)WorkingRegisterIncreasing.
(c)StepJumpbyWorkingRegister/VolumeStatus.
V.2.0217/26/2010
LXB20●ThreeModeTriggerIC:
-KeyStand-aloneTriggerMode:
A.Edge/Level
B.Hold/Unhold
C.Retrigger/Irretrigger
-SerialTriggerMode:
CombinationsofTG1andTG2totriggermaximum63VoiceGroup.
-CPUCommandMode:
UsercommandthroughTG1,TG2,TG3&TG4withserialCPUInterfacetocontroltheMulti-Playbackfunction.
●Outputstatus(foreachOutputpin):
A.StandbyStatus.(High/LowStatus)
B.BusyLowActive.
C.BusyHighActive.
D.LEDFlashat6Hz.
E.LEDFlashat3Hz.
F.LEDFlashat1.5Hz.
G.LEDFlashat0.75Hz.
H.PWMforLEDDimmingControl.
●Playratelevel:
TG020canprovidedifferentplayrateinonecodeasfollowbelowReferenceSampleRate.
3K,3.2K,3.31K,3.42K,3.55K,3.69K,3.84K,4K,4.17K,4.36K,4.57K,
4.8K,5.05K,5.33K,5.64K,6K,6.4K,6.85K,7.38K,8K,8.72K,9.6K,10.66K,12K,13.71K,16K,19.2K,24K.
●TG2LowReset
●TG3VolumeControl
V.2.0227/26/2010
LXB20
LXB20PadLocation
CHIPSIZE:
(0,0)(1734,715)UM
NO.12345
X-777-777-605-520256
Y-184-270-267-267-271
NO.6789
X
440793796793
Y-266-288-204-119
PADNAMEPADNAME
TG2/RSTBTG1TG3TG4VSSVSSPWM1VDD
PWM2/DAC
V.2.0237/26/2010
LXB20PINDescriptionsPINNAMEI/O
INPUT
FunctionKeyStand-aloneTriggerMode:
TG1isusedtotriggerthemaximum32VoiceGrouponebyonesequentially.SerialTriggerMode:
TG1isusedtotriggerthemaximum64VoiceGroup.CPUCommandMode:
TG1isusedasDataInputPin(CS).
KeyStand-aloneTriggerMode:
TG2isusedtotriggerthemaximum21VoiceGrouponebyonesequentially.
SerialTriggerMode:
TG2isusedtotriggerthemaximum64VoiceGroupCPUCommandMode:
TG2isusedasClockPin(CLK).
KeyStand-aloneTriggerMode:
TG11isusedtriggerOnlyOneGroup.CPUCommandMode:
TG11isusedasDataInputPin(DIO1).
KeyStand-aloneTriggerMode:
TG4isusedtriggerOnlyOneGroup.CPUCommandMode.TG4isusedasSelectedPin(DIO2).
AsaDACPIN,8bitD/ACurrentOutput.
PowerSupplyPIN,@2.4~3.6VWorkingVoltage.
ConnectedtoGround.TG1TG2/RSTBINPUTTG3TG4PWM1PWM2VDDVSS
INPUTINPUTINPUTINPUTOUTPUTAsOutputPIN,OutputtheBUSYorFlashSignal./ByCodeControlOUTPUTAsOutputPIN,OutputtheBUSYorFlashSignal./ByCodeControlOUTPUTAsaPWMPIN,canDirectlydrivetheSpeaker.OUTPUTAsaPWMPIN,canDirectlydrivetheSpeaker.
V.2.0247/26/2010
LXB20
◆TG2LowReset
◆LXB20ApplicationCircuit
3VStand-aloneMode
VDD@2.4V~3.6V
Speaker
V.2.0257/26/2010
LXB20
3VSerialMode
VDD@2.4V~3.6V
Fig.3
Fig.4
V.2.0267/26/2010
LXB20
3VCPUMode
VDD@2.4V~3.6V
V.2.0277/26/2010
LXB20
LXB20TriggerTiming
(a)TriggerPulseWidthOptionSetting=Edge/Unhold
(b)TriggerPulseWidthOptionSetting=Edge/Hold
(c)TriggerPulseWidth(d)TriggerPulseWidth(e)TriggerPulseWidth>GroupLength
OptionSetting=Edge/Unhold
(f)TriggerPulseWidth>GroupLengthOptionSeeting=Edge/Hold
(g)TriggerPulseWidth>GroupLength
OptionSetting=Level/Unhold
(h)TriggerPulseWidth>GroupLengthOptionSetting=Level/Hold
V.2.0287/26/2010
(i)OptionSetting=Retrigger
LXB20(j)OptionSetting=Irretrigger
(k)TG1=SequentialTrigger&FromGroup1~Group5
V.2.029
7/26/2010
LXB20LXB20TriggerVoiceCombinationExampleVoiceFile
VoiceFileA
VoiceFileB
VoiceFileC
VoiceFileD
VoiceFileE
DescriptionHello(1.5”)GoodMorning(3”)John(1”)Tom(1”)Mary(1.5”)
Group1=Step1+Step2
Group2=Step3+Step4+Step5
Group3=Step6+Step7
Group1=HelloJohn
Group2=HelloTomGoodMorning
Group3=GoodMorningMary
Step1=VoiceFileA
Step2=VoiceFileC
Step3=VoiceFileA
Step4=VoiceFileD
Step5=VoiceFileB
Step6=VoiceFileB
Step7=VoiceFileE
Totaluse3Group,7Steps
Voiceduration=Hello+GoodMorning+John+Tom+Mary
=1.5”+3”+1”+1”+1.5”
=8”
Totalduration=8”(20”-8”=32”spacearefree,canaddmoreVoiceFile)
V.2.02107/26/2010
LXB20◆LXB20SerialModeTiming
TG1=Edge/Unhold/Retriger
TG2=ResetPIN
●PWM
●DAC
V.2.02117/26/2010
LXB20
LXB20CPUModeTiming
Command
PINHEXDIO1A5hDIO205hDIO181hDIO205hDIO183hDIO202hDIO183hDIO207hDIO105hDIO207h
[7]
[6]
[5]
[4]
[3]
[2]
[1]
[0]
Description
Wakeupthechip
STARTENDRESETPAUSERESUME
1010101000
0000000000
1000000000
0000000000
0000000000
1101001111
0000110101
1111111111
Powerdownthechipintostandbystatus
StopthePlaybackandwaitanewcommand
PausethePlaybackandholdattheVoicedata
ResumePlaybackfromthepreviousVoicedata
PlayAddressCommandisgeneratedbytheTool.
V.2.02127/26/2010
LXB20LXB20VoiceWave&OutputStatus
VoiceWave
Flash1
WaveForm
Flash2
WaveForm
BusyHigh
WaveForm
WaveForm
TriggerStart
End
V.2.02137/26/2010
LXB20
DCElectricalCharacteristics
Item
OperatingvoltageStandbycurrentOperatingcurrent
DrivecurrentofOutput
MinTypMaxUnit
VDDIsbIopIodIosIodIos
2.4
3.016001030200200
3.65
VuAuAmAmAmAmA
Condition
VDD=3V,noloadVDD=3V,noloadVDD=3VVOUT=0.6VVDD=3VVOUT=2.4VVDD=3V,VOUT=1.5VVDD=3V,VOUT=1.5V
DrivecurrentofPWMSinkcurrentofPWM
V.2.02147/26/2010
LXB20
ACElectricalCharacteristics
Symbol
tdbtdbtgrtPWtPItBHtBDtdVtCStDStDHtCPtCCtCH
Characteristic
KeyTriggerdebouncetime(long)KeyTriggerdebouncetime(short)KeyTriggerPulsewidthSerialModeInputPulseWidthTheintervaloftwopulseBusysignaloutputholdtimeBusysignaloutputdelaytimeVoiceouputdelaytimeChipSelectsetuptimeDataInsetuptimeDataInholdtimeClockPulseWidthClockCycletimeChipSelectholdtime
Rating
Unit
Min.Typ.Max.
1450100100200200200111121
msusususususususususususus
V.2.02157/26/2010
LXB20
LXB20PackageInformationLXB20-S08B
PIN
1
2
3
4
5
6
7
8
NAMETG2/RSTBTG1TG3TG4VSSPWM1VDDPWM2/DAC
LXB20-D08B
PIN1
2
3
4
5678
NAMETG2/RSTBTG1TG3TG4VSSPWM1VDDPWM2/DAC
V.2.02167/26/2010