| Electronic Components Datasheet Search |
|
HT83B60 Datasheet(PDF) 40 Page - Holtek Semiconductor Inc |
|
|
|||||||||||||||||||||||||||||
HT83B60 Datasheet(HTML) 40 Page - Holtek Semiconductor Inc |
|
40 / 84 page ![]() Rev. 1.00 40 De�e��e� 1�� �011 Rev. 1.00 41 De�e��e� 1�� �011 HT83B60 Voice Mask MCU HT83B60 Voice Mask MCU I2C Interface TheI2Cbusisabidirectional2-linecommunicationinterfaceoriginallydevelopedbyPhilips. Thepossibilityoftransmittingandreceivingdataononly2linesoffersmanynewapplication possibilitiesformicrocontrollerbasedapplications. I2C Interface Operation AstheI2Cinterfacepinsarepin-sharedwithsegmentpinsandwiththeSPIfunctionpins,theI2C interfacemustfirstbeenabledbyselectingthecorrectconfigurationoption. TherearetwolinesassociatedwiththeI2Cbus,thefirstisknownasSDAandistheSerialDataline, thesecondisknownasSCLlineandistheSerialClockline.Asmanydevicesmaybeconnected togetheronthesamebus,theiroutputsarebothopendraintypes.Forthisreasonitisnecessarythat externalpull-highresistorsareconnectedtotheseoutputs.Notethatnochipselectlineexists,as eachdeviceontheI2Cbusisidentifiedbyauniqueaddresswhichwillbetransmittedandreceived ontheI2Cbus. WhentwodevicescommunicatewitheachotheronthebidirectionalI2Cbus,oneisknownasthe masterdeviceandoneastheslavedevice.Bothmasterandslavecantransmitandreceivedata, however,itisthemasterdevicethathasoverallcontrolofthebus.Forthisdevice,whichonly operatesinslavemode,therearetwomethodsoftransferringdataontheI2Cbus,theslavetransmit modeandtheslavereceivemode. I2C Registers TherearethreecontrolregistersassociatedwiththeI2Cbus,SIMC0A/B,SIMC1A/BandSIMARA/ Bandonedataregister,SIMDRA/B. TheSIMDRA/BregisterisusedtostorethedatabeingtransmittedandreceivedontheI2Cbus. BeforethemicrocontrollerwritesdatatotheI2Cbus,theactualdatatobetransmittedmustbe placedintheSIMDRA/Bregister.AfterthedataisreceivedfromtheI2Cbus,themicrocontroller canreaditfromtheSIMDRA/Bregister.AnytransmissionofdatatotheI2Cbusorreceptionofdata fromtheI2CbusmustbemadeviatheSIMDRA/Bregister. TheSIMARA/Bregisteristhelocationwheretheslaveaddressofthemicrocontrollerisstored.Bits 1~7oftheSIMARA/Bregisterdefinethemicrocontrollerslaveaddress.Bit0isnotdefined.When amasterdevice,whichisconnectedtotheI2Cbus,sendsoutanaddress,whichmatchestheslave addressintheSIMARA/Bregister,themicrocontrollerslavedevicewillbeselected. NotethattheSIMARA/BregisteristhesameregisterasSIMC2A/BwhichisusedbytheSPI interface. TheSIMC0A/BregisterisusedfortheI2Coverallon/offcontrol. SI MA RA/ B Re gi st er b7 No t i mp le me nt ed, r ead as " 0" I 2 C dev ic e sl av e addr es s b0 SA5 A/ B SA 4A /B SA6 A/ B SA 0A /B SA3 A/ B SA2 A/ B SA1 A/ B Slave Address Register - SIMARA/B |
|
Link URL |
| Does ALLDATASHEET help your business so far? [ DONATE ] |
About Alldatasheet | Advertisement | Contact us | Privacy Policy | Link to Datasheet | Link Exchange | Manufacturer List All Rights Reserved©Alldatasheet.com |
| Russian : Alldatasheetru.com | Korean : Alldatasheet.co.kr | Spanish : Alldatasheet.es | French : Alldatasheet.fr | Italian : Alldatasheetit.com Portuguese : Alldatasheetpt.com | Polish : Alldatasheet.pl | Vietnamese : Alldatasheet.vn Indian : Alldatasheet.in | Mexican : Alldatasheet.com.mx | British : Alldatasheet.co.uk | New Zealand : Alldatasheet.co.nz |
|
Family Site : ic2ic.com |
icmetro.com |