Electronic Components Datasheet Search
  English  ▼

X  

HT68F20 Datasheet(PDF) 190 Page - Holtek Semiconductor Inc

Part # HT68F20
Description  Enhanced I/O Flash Type MCU 8-Bit MCU with EEPROM
PDF  232 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
Manufacturer  HOLTEK [Holtek Semiconductor Inc]
Direct Link  http://www.holtek.com
Logo HOLTEK - Holtek Semiconductor Inc

HT68F20 Datasheet(HTML) 190 Page - Holtek Semiconductor Inc

Back Button HT68F20 Datasheet HTML 186Page - Holtek Semiconductor Inc HT68F20 Datasheet HTML 187Page - Holtek Semiconductor Inc HT68F20 Datasheet HTML 188Page - Holtek Semiconductor Inc HT68F20 Datasheet HTML 189Page - Holtek Semiconductor Inc HT68F20 Datasheet HTML 190Page - Holtek Semiconductor Inc HT68F20 Datasheet HTML 191Page - Holtek Semiconductor Inc HT68F20 Datasheet HTML 192Page - Holtek Semiconductor Inc HT68F20 Datasheet HTML 193Page - Holtek Semiconductor Inc HT68F20 Datasheet HTML 194Page - Holtek Semiconductor Inc Next Button
Zoom Inzoom in Zoom Outzoom out
 190 / 232 page
background image
HT68F20/HT68F30/HT68F40/HT68F50/HT68F60
HT68FU30/HT68FU40/HT68FU50/HT68FU60
Rev. 1.10
190
February 1, 2010
that as it takes a certain period of time known as the
System Start-up Time for oscillator to restart and stabi-
lize after a wake-up, any data received during this time
on the RX pin will be ignored.
For a UART wake-up interrupt to occur, in addition to the
bits for the wake-up enable control and Receive inter-
rupt enable control being set, the global interrupt enable
control and the related interrupt enable control bits must
also be set. If these two bits are not set, then only a
wake-up event will occur and no interrupt will be ser-
viced. Note also that as it takes a period of delay after a
wake-up before normal microcontroller resumes, the
relevant UART interrupt will not be serviced until this pe-
riod of delay time has elapsed.
Using the UART Function
To use the UART function, several important steps must
be implemented to ensure that the UART module oper-
ates normally:
· The SPI pin-remapping function must be properly
configured when the SPI functional pins of the
microcontroller are used to control the UART module
and for data transmission and data reception.
To correctly connect the MCU Master SPI to the UART
Module Slave SPI, the SIM pin-remapping settings for
PCK and PINTB in the MCU PRM0 register should be
the same as the values listed in the following table.
¨ HT68FU30
PRM0 Register
- PCK and PINT pin-remap setup
Bit
1
0
Name
SIMPS0
PCKPS
Setting value
1
1
¨ HT68FU40/HT68FU50
PRM0 Register
- PCK and PINT pin-remap setup
Bit
2
1
0
Name
SIMPS1
SIMPS0
PCKPS
Setting value
0
1
1
¨ HT68FU60
PRM0 Register
- PCK and PINT pin-remap setup
Bit
2
1
0
Name
SIMPS1
SIMPS0
PCKPS
Setting value
1
1
1
· The SIM operating mode control bits SIM2~SIM0, in
the SIMC0 register have to be configured to enable
the SIM to operate in the SPI master mode with a dif-
ferent SPI clock frequency.
¨ SIM operating mode control bits SIM2~SIM0 in the
SIMC0 Register
Bit
7
6
5
Name
SIM2
SIM1
SIM0
value
100, 011, 010, 001 or 000
000: SPI master mode; SPI clock is fSYS/4
001: SPI master mode; SPI clock is fSYS/16
010: SPI master mode; SPI clock is fSYS/64
011: SPI master mode; SPI clock is fTBC
100: SPI master mode; SPI clock is TM0 CCRP
match frequency/2
101~111: must not be used
· The PCK control bit is set to 1 to enable the PCK out-
put as the clock source for the UART baud rate gener-
ator with various PCK output frequencies determined
by the PCKP1 and PCKP0 bits in the SIMC0 Register.
¨ PCK output frequency selection bits
PCKP1~PCKP0 in the SIMC0 Register
Bit
3
2
Name
PCKP1
PCKP0
Value
11, 10, 01 or 00
00: PCK output frequency is fSYS
01: PCK output frequency is fSYS/4
10: PCK output frequency is fSYS/8
11: PCK output frequency is TM0 CCRP match
frequency/2
¨ PCK output enable control bit PCKEN in the
SIMC0 Register
Bit
4
Name
PCKEN
Value
1
0: Disable PCK output
1: Enable PCK output
After the above setup conditions have been imple-
mented, the MCU can enable the SIM interface by set-
ting the SIMEN bit high. The MCU can then begin
communication with external UART connected devices
using its SPI interface. The detailed MCU Master SPI
functional description is provided within the Serial Inter-
face Module section of the MCU datasheet.



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