поискавой системы для электроныых деталей
  Russian  ▼
ALLDATASHEETRU.COM

X  

HT86A36 датащи(PDF) 49 Page - Holtek Semiconductor Inc

номер детали HT86A36
подробное описание детали  A/D Type Voice 8-Bit MCU
Download  68 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
производитель  HOLTEK [Holtek Semiconductor Inc]
домашняя страница  http://www.holtek.com
Logo HOLTEK - Holtek Semiconductor Inc

HT86A36 датащи(HTML) 49 Page - Holtek Semiconductor Inc

Back Button HT86A36_12 Datasheet HTML 45Page - Holtek Semiconductor Inc HT86A36_12 Datasheet HTML 46Page - Holtek Semiconductor Inc HT86A36_12 Datasheet HTML 47Page - Holtek Semiconductor Inc HT86A36_12 Datasheet HTML 48Page - Holtek Semiconductor Inc HT86A36_12 Datasheet HTML 49Page - Holtek Semiconductor Inc HT86A36_12 Datasheet HTML 50Page - Holtek Semiconductor Inc HT86A36_12 Datasheet HTML 51Page - Holtek Semiconductor Inc HT86A36_12 Datasheet HTML 52Page - Holtek Semiconductor Inc HT86A36_12 Datasheet HTML 53Page - Holtek Semiconductor Inc Next Button
Zoom Inzoom in Zoom Outzoom out
 49 / 68 page
background image
HT86Axx/HT86ARxx
Rev. 1.10
49
December 12, 2012
The CSEN bit in the SBCR register controls the overall
function of the SPI interface. Setting this bit high, will en-
able the SPI interface by allowing the SCS line to be ac-
tive, which can then be used to control the SPI interface.
If the CSEN bit is low, the SPI interface will be disabled
and the SCS line will be in a floating condition and can
therefore not be used for control of the SPI interface.
The SBEN bit in the SBCR register must also be high
which will place the SDI line in a floating condition and
the SDO line high. If in Master Mode the SCK line will be
either high or low depending upon the clock polarity con-
figuration option. If in Slave Mode the SCK line will be in
a floating condition. If SBEN is low then the bus will be
disabled and SCS, SDI, SDO and SCK will all be in a
floating condition.
In the Master Mode the Master will always generate the
clock signal. The clock and data transmission will be ini-
tiated after data has been written to the SBDR register.
In the Slave Mode, the clock signal will be received from
an external master device for both data transmission or
reception. The following sequences show the order to
be followed for data transfer in both Master and Slave
Mode:
· Master Mode
Step 1. Select the clock source using the CKS bit in
the SBCR control register
Step 2. Setup the M0 and M1 bits in the SBCR control
register to select the Master Mode and the
required Baud rate. Values of 00, 01 or 10 can
be selected.
Step 3. Setup the CSEN bit and setup the MLS bit to
choose if the data is MSB or LSB first,
this must be same as the Slave device.
Step 4. Setup the SBEN bit in the SBCR control
register to enable the SPI interface.
Step 5. For write operations: write the data to the
SBDR register, which will actually place the
data into the TXRX buffer. Then use the SCK
and SCS lines to output the data.
Goto to step6.For read operations: the data
transferred in on the SDI line will be stored
in the TXRX buffer until all the data has been
received at which point it will be latched into
the SBDR register.
Step 6. Check the WCOL bit, if set high then a
collision error has occurred so return to step5.
If equal to zero then go to the following step.
Step 7. Check the TRF bit or wait for an SBI serial bus.
Step 8. Read data from the SBDR register.
Step 9. Clear TRF.
Step10. Goto step 5.
· Slave Mode
Step 1. The CKS bit has a don
¢t care value in the
slave mode.
Step 2. Setup the M0 and M1 bits to 00 to select the
Slave Mode. The CKS bit is don
¢t care.
Step 3. Setup the CSEN bit and setup the MLS bit to
choose if the data is MSB or LSB first,
this must be same as the Master device.
Step 4. Setup the SBEN bit in the SBCR control
register to enable the SPI interface.
Step 5. For write operations: write data to the SBCR
register, which will actually place the data into
the TXRX register, then wait for the master
clock and SCS signal. After this goto step 6.
For read operations: the data transferred in
on the SDI line will be stored in the TXRX
buffer until all the data has been received
at which point it will be latched into the SBDR
register.
Step 6. Check the WCOL bit, if set high then a
collision error has occurred so return to step5.
If equal to zero then go to the following step.
Step 7. Check the TRF bit or wait for an SBI serial bus.
Step 8. Read data from the SBDR register.
Step 9. Clear TRF
Step10. Goto step 5
SPI Configuration Options
Several configuration options exist for the SPI Interface
function which must be setup during device program-
ming. The first is a configuration to select the PD0~PD3
pins to be used as the SPI interface pins. Another option
is to enable the operation of the WCOL, write collision
bit, in the SBCR register. Another option exists to select
the clock polarity of the SCK line. A configuration option
also exists to disable or enable the operation of the
CSEN bit in the SBCR register. If the configuration op-
tion disables the CSEN bit then this bit cannot be used
to affect overall control of the SPI Interface.
Error Detection
The WCOL bit in the SBCR register is provided to indi-
cate errors during data transfer. The bit is set by the Se-
rial Interface but must be cleared by the application
program. This bit indicates a data collision has occurred
which happens 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 Interface but has to be cleared by the
user application program. 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.


Аналогичный номер детали - HT86A36_12

производительномер деталидатащиподробное описание детали
logo
Holtek Semiconductor In...
HT86A36 HOLTEK-HT86A36 Datasheet
427Kb / 68P
   A/D Type Voice 8-Bit MCU
More results

Аналогичное описание - HT86A36_12

производительномер деталидатащиподробное описание детали
logo
Holtek Semiconductor In...
HT86A36 HOLTEK-HT86A36 Datasheet
427Kb / 68P
   A/D Type Voice 8-Bit MCU
HT86AXX HOLTEK-HT86AXX Datasheet
428Kb / 68P
   A/D Type Voice 8-Bit MCU
HT46R232 HOLTEK-HT46R232 Datasheet
434Kb / 50P
   A/D Type 8-Bit MCU
logo
Taiwan Memory Technolog...
T81L0006A TMT-T81L0006A_06 Datasheet
160Kb / 23P
   8-bit A/D Type MCU
logo
Holtek Semiconductor In...
HT46RU22 HOLTEK-HT46RU22 Datasheet
455Kb / 60P
   A/D Type 8-Bit MCU
logo
Taiwan Memory Technolog...
T81L0006A TMT-T81L0006A Datasheet
147Kb / 21P
   8-bit A/D Type MCU
logo
Holtek Semiconductor In...
HT46RU22 HOLTEK-HT46RU22_08 Datasheet
444Kb / 59P
   A/D Type 8-Bit MCU
HT46RU25 HOLTEK-HT46RU25 Datasheet
476Kb / 63P
   A/D Type 8-Bit MCU
HT46C47 HOLTEK-HT46C47 Datasheet
264Kb / 39P
   A/D Type 8-Bit MCU
HT46C23 HOLTEK-HT46C23 Datasheet
348Kb / 48P
   A/D Type 8-Bit MCU
More results


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


датащи скачать

Go To PDF Page


ссылки URL




Конфиденциальность
ALLDATASHEETRU.COM
Вашему бизинису помогли Аллдатащит?  [ DONATE ] 

Что такое Аллдатащит   |   реклама   |   контакт   |   Конфиденциальность   |   обмен ссыками   |   поиск по производителю
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