EasyManua.ls Logo

Holtek HT66F0175 - SPI Comm�Nication

Default Icon
207 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
Rev. 1.50 134 August 28, 2017 Rev. 1.50 135 August 28, 2017
HT66F0175/HT66F0185
A/D Flash MCU with EEPROM
HT66F0175/HT66F0185
A/D Flash MCU with EEPROM
SPI Communication
AftertheSPIinterfaceisenabledbysettingtheSIMENbithigh,thenintheMasterMode,when
dataiswrittentotheSIMDregister,transmission/receptionwillbeginsimultaneously.Whenthe
datatransferiscomplete,theTRFflagwillbesetautomatically,butmustbeclearedusingthe
applicationprogram.IntheSlaveMode,whentheclocksignalfromthemasterhasbeenreceived,
anydataintheSIMDregisterwillbetransmittedandanydataontheSDIpinwillbeshiftedinto
theSIMDregister.ThemastershouldoutputaSCSsignaltoenabletheslavedevicesbeforea
clocksignalisprovided.Theslavedatatobetransferredshouldbewellpreparedattheappropriate
momentrelativetotheSCSsignaldependinguponthecongurationsoftheCKPOLBbitandCKEG
bit.TheaccompanyingtimingdiagramshowstherelationshipbetweentheslavedataandSCSsignal
forvariouscongurationsoftheCKPOLBandCKEGbits.
TheSPImastermodewillcontinuetofunctionevenintheIDLE1ModeiftheselectedSPIclock
sourceisrunning.
   
 
     
   
   
   
 
 

  
       
       
  
SPI Master Mode Timing
  
  


  
       
  
       
SPI Slave Mode Timing – CKEG = 0

Table of Contents