Electronic Components Datasheet Search
  English  ▼
ALLDATASHEET.NET

X  

HT56RB688 Datasheet(PDF) 74 Page - Holtek Semiconductor Inc

Part # HT56RB688
Description  TinyPowerTM A/D Type Smart Card OTP MCU with LCD, DAC, ISO 7816 and USB Interfaces
PDF  164 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
Manufacturer  HOLTEK [Holtek Semiconductor Inc]
Direct Link  http://www.holtek.com
Logo HOLTEK - Holtek Semiconductor Inc

HT56RB688 Datasheet(HTML) 74 Page - Holtek Semiconductor Inc

Back Button HT56RB688_13 Datasheet HTML 70Page - Holtek Semiconductor Inc HT56RB688_13 Datasheet HTML 71Page - Holtek Semiconductor Inc HT56RB688_13 Datasheet HTML 72Page - Holtek Semiconductor Inc HT56RB688_13 Datasheet HTML 73Page - Holtek Semiconductor Inc HT56RB688_13 Datasheet HTML 74Page - Holtek Semiconductor Inc HT56RB688_13 Datasheet HTML 75Page - Holtek Semiconductor Inc HT56RB688_13 Datasheet HTML 76Page - Holtek Semiconductor Inc HT56RB688_13 Datasheet HTML 77Page - Holtek Semiconductor Inc HT56RB688_13 Datasheet HTML 78Page - Holtek Semiconductor Inc Next Button
Zoom Inzoom in Zoom Outzoom out
 74 / 164 page
background image
SIMn Control Register 2 - SIMnCTL2 (n=0 or 1) for SPI Mode
Bit
76543210
Name
¾¾
CKPOLn
CKEGn
MLSn
CSENn
WCOLn
TRFn
R/W
¾¾
R/W
R/W
R/W
R/W
R/W
R/W
POR
¾¾
000000
Bit 7~6
undefined bit, read as 0
Bit 5
CKPOLn: Determines the base condition of the SPI clock line
0: the SCKn line will be high when the SPI clock is inactive
1: the SCKn line will be low when the SPI clock is inactive
The CKPOLn bit determines the base condition of the SPI clock line, if the bit is high, then the
SCKn line will be low when the clock is inactive. When the CKPOLn bit is low, then the SCKn line
will be high when the clock is inactive.
Bit 4
CKEGn: Determines SPI SCKn active clock edge type
CKPOLn=0
0: SCKn is high base level and data capture at SCKn rising edge
1: SCKn is high base level and data capture at SCKn falling edge
CKPOLn=1
0: SCKn is low base level and data capture at SCKn falling edge
1: SCKn is low base level and data capture at SCKn rising edge
The CKEGn and CKPOLn bits are used to setup the way that the clock signal outputs and inputs
data on the SPI bus. These two bits must be configured before data transfer is executed
otherwise an erroneous clock edge may be generated. The CKPOLn bit determines the base
condition of the clock line. If the bit is high, then the SCKn line will be low when the clock is
inactive. When the CKPOLn bit is low, then the SCKn line will be high when the clock is inactive.
The CKEGn bit determines active clock edge type which depends upon the condition of CKPOLn
bit.
Bit 3
MLSn: SPI Data shift order
0: LSB shift first
1: MSB shift first
This is the data shift select bit and is used to select how the data is transferred, either MSB or
LSB first. Setting the bit high will select MSB first and low for LSB first.
Bit 2
CSENn: SPI SCSn pin control
0: Disable
1: Enable
The CSENn bit is used as an enable/disable for the SCSn pin. If this bit is low, then the
SCSn pin will be disabled and placed into a floating condition. If the bit is high the SCSn pin will
be enabled and used as a select pin.
Note that using the CSENn bit can be disabled or enabled via configuration option.
Bit 1
WCOLn: SPI Write Collision flag
0: No collision
1: Collision
The WCOLn flag is used to detect if a data collision has occurred. If this bit is high it means that
data has been attempted to be written to the SIMnDR register during a data transfer operation.
This writing operation will be ignored if data is being transferred. The bit can be cleared by the
application program. Note that using the WCOLn bit can be disabled or enabled via configuration
option.
Bit 0
TRFn: SPI Transmit/Receive Complete flag
0: Data is being transferred
1: SPI data transmission is completed
The TRFn bit is the Transmit/Receive Complete flag and is set to 1 automatically when an SPI
data transmission is completed, but must set to 0 by the application program. It can be used to
generate an interrupt.
Rev. 1.10
74
April 15, 2013
HT56RB688
TinyPowerTM A/D type Smart Card OTP MCU
with LCD, DAC, ISO 7816 and USB Interfaces



Html Pages

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100  ...More


Datasheet Download

Go To PDF Page


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


Mirror Sites
English : Alldatasheet.com  |   English : Alldatasheet.net  |   Chinese : Alldatasheetcn.com  |   German : Alldatasheetde.com  |   Japanese : Alldatasheet.jp
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