Data Sheet

FSCBT630Datasheet
ShenzhenFeasycomTechnologyCo.,Ltdwww.feasycom.com
13
corruptioniftwoormoremastersattempttocontrolthebussimultaneously.
DataistransferredbetweenaMasterandaSlavesynchronouslytoSCLontheSDAlineonabytebybytebasis.Each
data byte is 8bit long. There is one SCL clock pulse for each data bit
with the MSB being transmitted first. An
acknowledgebitfollowseachtransferredbyte.EachbitissampledduringthehighperiodofSCL;therefore,theSDA
line may be changed only during the low period of SCL and must be held stable during the high period of SCL. A
transition
ontheSDAlinewhileSCLishighisinterpretedasacommand(STARTorSTOP).Pleaserefertothefollowing
figureformoredetailsaboutI2CBusTiming.
ThedeviceonchipI2ClogicprovidestheserialinterfacethatmeetstheI2Cbusstandardmodespecification.TheI2C
porthandlesbyte transfersautonomously.The I2CH/Winterfacestothe I2Cbusvia twopins:SDA andSCL.Pull up
resistorisneededforI2Coperationastheseareopendrainpins.WhentheI/OpinsareusedasI2Cport,usermustset
thepinsfunctiontoI2Cinadvance.
TheI2CmasteriscompatiblewithI2Coperatingat100kHzand400kHz.
4.9Pulsewidthmodulation(PWM)
ThePWMmoduleenablesthegenerationofpulsewidthmodulatedsignalsonGPIO.Themodule implementsanupor
upanddowncounterwithfourPWMchannelsthatdriveassignedGPIOs.
Three PWM modules can provide up to 12 PWM channels with individual frequency control in groups of up to four
channels. Furthermore, a builtin decoder and EasyDMA capabilities make it possible to manipulate the PWM duty
cycles without CPU intervention. Arbitrary dutycycle sequences are read from Data RAM and can be chained to
implementpingpongbufferingorrepeatedintocomplexloops.
Listedherearethemainfeatures
ofonePWMmodule:
FixedPWMbasefrequencywithprogrammableclockdivider
UptofourPWMchannelswithindividualpolarityanddutycyclevalues
EdgeorcenteralignedpulsesacrossPWMchannels
Multipledutycyclearrays(sequences)definedinDataRAM
AutonomousandglitchfreeupdateofdutycyclevaluesdirectlyfrommemorythroughEasyDMA
Changeofpolarity,dutycycle,andbasefrequencypossiblyoneveryPWMperiod
DataRAMsequencescanberepeatedorconnectedintoloops
4.10Pulsedensitymodulationinterface(PDM)
The pulse density modulation (PDM) module enables input of pulse density modulated signals from external audio
frontends,forexample,digitalmicrophones.ThePDMmodulegeneratesthePDMclockandsupportssinglechannelor
dualchannel(LeftandRight)datainput.DataistransferreddirectlytoRAMbuffersusingEasyDMA.
Listedhere
arethemainfeaturesforPDM:
UptotwoPDMmicrophonesconfiguredasaLeft/Rightpairusingthesamedatainput
16kHzoutputsamplerate,16bitsamples
EasyDMAsupportforsamplebuffering