Electronic Components Datasheet Search
  English  ▼

X  

HT82A620R Datasheet(PDF) 41 Page - Holtek Semiconductor Inc

Part # HT82A620R
Description  Full Speed USB 8-Bit OTP MCU with SPI
PDF  72 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
Manufacturer  HOLTEK [Holtek Semiconductor Inc]
Direct Link  http://www.holtek.com
Logo HOLTEK - Holtek Semiconductor Inc

HT82A620R Datasheet(HTML) 41 Page - Holtek Semiconductor Inc

Back Button HT82A620R Datasheet HTML 37Page - Holtek Semiconductor Inc HT82A620R Datasheet HTML 38Page - Holtek Semiconductor Inc HT82A620R Datasheet HTML 39Page - Holtek Semiconductor Inc HT82A620R Datasheet HTML 40Page - Holtek Semiconductor Inc HT82A620R Datasheet HTML 41Page - Holtek Semiconductor Inc HT82A620R Datasheet HTML 42Page - Holtek Semiconductor Inc HT82A620R Datasheet HTML 43Page - Holtek Semiconductor Inc HT82A620R Datasheet HTML 44Page - Holtek Semiconductor Inc HT82A620R Datasheet HTML 45Page - Holtek Semiconductor Inc Next Button
Zoom Inzoom in Zoom Outzoom out
 41 / 72 page
background image
HT82A520R/HT82A620R
Rev.1.00
41
October 23, 2009
SPI Configuration Options and Status Control
One option is to enable the operation of the WCOL, write collision bit, in the SBCR register. Some control in SPIR register.
The SPI_CPOL select the clock polarity of the SCK line . The SPI_MODE select SPI data output mode.
SPI include four pins , can share I/O mode status . The status control combine with four bits for SPIR and SBCR regis-
ter. Include SPI_CSEN , SPI_EN for SPIR register and CSEN ,SBEN for SBCR register.
Control Bit for Register
SPI Share Function Pins Status
SPI_EN
SPI_CSEN
SBEN
CSEN
SCS
SCK
SDO
SDI
0
x
x
x
I/O mode
I/O mode
I/O mode
I/O mode
1
0
0
x
I/O mode
I/O mode
I/O mode
I/O mode
1
0
1
x
I/O mode
SPI mode
SPI mode
SPI mode (Z)
1
1
0
x
I/O mode
I/O mode
I/O mode
I/O mode
1
1
1
0
SPI mode (Z)
SPI mode
SPI mode
SPI mode (Z)
1
1
1
1
SPI mode
SPI mode
SPI mode
SPI mode (Z)
Note:
X: don
¢t care
(Z) floating
S B C R R e g i s t e r
b 7
b 0
C K S
M 1
M 0
S B E N M L S C S E N W C O L T R F
T r a n s m i t t / R e c e i v e f l a g
0 : N o t c o m p l e t e
1 : T r a n s m i s s i o n / r e c e p t i o n c o m p l e t e
W r i t e c o l l i s i o n b i t
0 : C o l l i s i o n f r e e
1 : C o l l i s i o n d e t e c t e d
S e l e c t i o n s i g n a l e n a b l e / d i s a b l e b i t
0 : S C S f l o a t i n g
1 : E n a b l e
M S B / L S B f i r s t b i t
0 : L S B s h i f t f i r s t
1 : M S B s h i f t f i r s t
S e r i a l B u s e n a b l e / d i s a b l e b i t
0 : D i s a b l e
1 : E n a b l e
M a s t e r / S l a v e / B a u d r a t e b i t s
M a s t e r , b a u d r a t e : f S P I
M a s t e r , b a u d r a t e : f S P I / 4
M a s t e r , b a u d r a t e : f S P I / 1 6
S l a v e m o d e
M 1
0
0
1
1
M 0
0
1
0
1
C l o c k s o u r c e s e l e c t b i t
0 : f S P I = f S Y S / 4
1 : f S P I = f S Y S
SPI Interface Control Register
Error Detection
The WCOL bit in the SBCR register is provided to indicate
errors during data transfer. The bit is set by the Serial In-
terface but must be cleared by the application program.
This bit indicates a data collision has occurred which hap-
pens if a write to the SBDR register takes place during a
data transfer operation and will prevent the write operation
from continuing. The bit will be set high by the Serial Inter-
face but has to be cleared by the user application pro-
gram. The overall function of the WCOL bit can be
disabled or enabled by a configuration option.
Programming Considerations
When the device is placed into the Power Down Mode
note that data reception and transmission will continue.
The TRF bit is used to generate an interrupt when the data
has been transferred or received.



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


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