| Electronic Components Datasheet Search |
|
HT66F019 Datasheet(PDF) 116 Page - Holtek Semiconductor Inc |
|
|
|||||||||||||||||||||||||||||
HT66F019 Datasheet(HTML) 116 Page - Holtek Semiconductor Inc |
|
116 / 175 page ![]() Rev. 1.00 116 De�e��e� 01� �01� Rev. 1.00 11� De�e��e� 01� �01� HT66F019 A/D Flash MCU with EEPROM HT66F019 A/D Flash MCU with EEPROM TherearealsotwocontrolregistersfortheSPIinterface,SIMC0andSIMC2.NotethattheSIMC2 registeralsohasthenameSIMAwhichisusedbytheI2Cfunction.TheSIMC1registerisnotused bytheSPIfunction,onlybytheI2Cfunction.RegisterSIMC0isusedtocontroltheenable/disable functionandtosetthedatatransmissionclockfrequency.RegisterSIMC2isusedforothercontrol functionssuchasLSB/MSBselection,writecollisionflag,etc. • SIMC0 Register Bit 7 6 5 4 3 2 1 0 Na�e SIM� SIM1 SIM0 — SIMDEB1 SIMDEB0 SIMEN SIMICF R/W R/W R/W R/W — R/W R/W R/W R/W POR 1 1 1 — 0 0 0 0 Bit7~5 SIM2~SIM0:SIMOperatingModeControl 000:SPImastermode;SPIclockisfSYS/4 001:SPImastermode;SPIclockisfSYS/16 010:SPImastermode;SPIclockisfSYS/64 011:SPImastermode;SPIclockisfSUB 100:SPImastermode;SPIclockisPTMCCRPmatchfrequency/2 101:SPIslavemode 110:I2Cslavemode 111:NonSIMfunction ThesebitssetuptheoveralloperatingmodeoftheSIMfunction.Aswellasselecting iftheI2CorSPIfunction,theyareusedtocontroltheSPIMaster/Slaveselectionand theSPIMasterclockfrequency.TheSPIclockisafunctionofthesystemclockbut canalsobechosentobesourcedfromPTMandfSUB.IftheSPISlaveModeisselected thentheclockwillbesuppliedbyanexternalMasterdevice. Bit4 Unimplemented,readas"0" Bit3~2 SIMDEB1~SIMDEB0:I2CDebounceTimeSelection 00:Nodebounce 01:2systemclockdebounce 1x:4systemclockdebounce Bit1 SIMEN:SIMEnableControl 0:Disable 1:Enable Thebitistheoverallon/offcontrolfortheSIMinterface.WhentheSIMENbitis clearedtozerotodisabletheSIMinterface,theSDI,SDO,SCKandSCS,orSDAand SCLlineswilllosetheirSPIorI2CfunctionandtheSIMoperatingcurrentwillbe reducedtoaminimumvalue.WhenthebitishightheSIMinterfaceisenabled.The SIMconfigurationoptionmusthavefirstenabledtheSIMinterfaceforthisbittobe effective.IftheSIMisconfiguredtooperateasanSPIinterfaceviatheSIM2~SIM0 bits,thecontentsoftheSPIcontrolregisterswillremainattheprevioussettingswhen theSIMENbitchangesfromlowtohighandshouldthereforebefirstinitialisedby theapplicationprogram.IftheSIMisconfiguredtooperateasanI2Cinterfaceviathe SIM2~SIM0bitsandtheSIMENbitchangesfromlowtohigh,thecontentsoftheI2C controlbitssuchasHTXandTXAKwillremainattheprevioussettingsandshould thereforebefirstinitialisedbytheapplicationprogramwhiletherelevantI2Cflags suchasHCF,HAAS,HBB,SRWandRXAKwillbesettotheirdefaultstates. Bit0 SIMICF:SIMIncompleteFlag 0:SIMincompleteconditionnotoccurred 1:SIMincompleteconditionoccured ThisbitisonlyavailablewhentheSIMisconfiguredtooperateinanSPIslavemode. IftheSPIoperatesintheslavemodewiththeSIMENandCSENbitsbothbeingset to1buttheSCSlineispulledhighbytheexternalmasterdevicebeforetheSPIdata transferiscompletelyfinished,theSIMICFbitwillbesetto1togetherwiththeTRF bit.Whenthisconditionoccurs,thecorrespondinginterruptwilloccuriftheinterrupt functionisenabled.However,theTRFbitwillnotbesetto1iftheSIMICFbitisset to1bysoftwareapplicationprogram. |
|
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 |