Upload
anabel-wilson
View
220
Download
0
Embed Size (px)
Citation preview
Holtek Semiconductor Inc.2013/8/12 -1
HT32F1765 Starter KitHT32F1765 Starter Kit
Holtek 32-bit MCU Holtek 32-bit MCU
PromotionPromotion
Holtek Semiconductor Inc.2013/8/12 -2
HT32F1765 SK Introduction Designed for Cortex-M3 new users by providing a low-cost
platform. Together with the convenience of its software development platform, it provides a complete solution from evaluation to production
Using the HT32F1765 Operating frequency up to 72 MHz 128KB Flash, 64KB SRAM Integrated TIMER, I2C, SPI, USART, USB and ADC, can be used for the
testing and development of many external devices LQFP100 package 8.000 MHz External Crystal Clock
Comprises Target Board and Serial-Wire Debugger Can use the Target Board external power supply or be powered
by the Debugger Size: 65mm x 100 mm
Holtek Semiconductor Inc.2013/8/12 -3
HT32F1765 SK Development Environment
Provides a standard C language program development environment Provides a complete function library avoiding the complicated lower
level function development Integrated hardware debug interface, SWD, uses a USB cable to
connect to the IDE. The system will download the programs and debug immediately
Provides a standard development environment including Keil uVision, IAR EWARM and CooCox CoIDE
IDE
•Compiler•Debugger•Flash Loader
USBUSB
HT32F1765 SK
Holtek Semiconductor Inc.2013/8/12 -4
HT32F1765 SK Hardware
SWD Debugger Target Board
PE0~15 PD0~15 PC8~15
PA0~15
PC0~7 PB0~15
RESET
USB Port
USB Port
SWD-10P
Holtek Semiconductor Inc.2013/8/12 -5
HT32F1765 SK Usage
Target BoardTarget Board
EvaluateEvaluate
DevelopDevelop
DebuggerDebugger
SWDSWD
Any Board with a SWD-10P ConnectorAny Board with a SWD-10P Connector
Holtek Semiconductor Inc.2013/8/12 -6
MT6573
SRAM32/64 KB
Flash Memory128 KB
SPI x 2 / I2C x 2USART x 2
Basic FunctionTimer x 2
8MHz HSIHSE
I/O
3-Phase Motor Control Timer x 1
AnalogInputs
VDD
SPI / I2C / USART Device
3-PhaseBrushless Motor
Backup Domain32KHz LSILSE RTC
LDOPORWDTLVDBOD
CortexTM-M3
HT32F1755/65HT32F2755*
72 MHz
ARM is a registered trademark of ARM Limited in the EU and other countries.Cortex is a trademark of ARM Limited in the EU and other countries.
USB 2.0 FS x 1
Capture & Compare PWM Timer x 2
12-bit ADC8 Channels(OPA/CMP)
32.768KHz
4 ~ 16 MHzUSB Host
ISO 7816-3 x 1 Smart Card
CSIF* x 1 CMOS Sensor*
HT32F1765 Block Diagram
Holtek Semiconductor Inc.2013/8/12 -7
Function Spec / Number DescriptionCPU Core Cortex-M3 r2p0 JTAG / Serial Wire Debug, MPU
Operating Voltage 2.7V - 3.6V
System Clock 72MHz Max. generated from HSE/HSI by PLL
Flash 128K Bytes Flash Security / Accelerator
SRAM 32K / 64K Bytes 1755: 32KB 1765/2755: 64KB
Oscillators
High-Speed ExternalHigh-Speed Internal RCLow-Speed ExternalLow-Speed Internal RC
HSE: 4MHz ~ 16MHz (Clock Stop Detection )HSI: 8MHz ±5% @ -40 ~ +85 ℃ ℃LSE: 32 KHzLSI: 32 KHz ±10% @ 25 ℃
PDMA 1 With 12 channels
USB 18 endpoints (including endpoint 0)USB 2.0 Full Speed
SCI 1 ISO7816-3 Smart Card Interface
CSIF 1CMOS sensor interface, Clock speed up to 24MHzYUV or RAW RGB data format (QVGA / CIF)For HT32F2755 only
HT32F1765 Feature 1
Holtek Semiconductor Inc.2013/8/12 -8
Function Spec / Number Description
Basic Function Timer(BFTM) 2 – 32-bit compare counter
– One shot / Repetitive interrupt mode
General Purpose Timer(GPTM) 2
– Input capture – Output compare– PWM generation (Edge and Center-aligned mode)– One Pulse Mode output– QEI & Hall sensor interface
Motor Control Timer(MCTM) 1
As GPTM but with extra motor functions:–– Complementary output with programmableComplementary output with programmable dead time insertiondead time insertion–– Programmable polarityProgrammable polarity–– Programmable idle stateProgrammable idle state–– Break protectionBreak protection–– Support 3-phase motor controlSupport 3-phase motor control
USART 2 With FIFO, Baud Rate up to 4.5Mbps
SPI 2 Master Up to 36MHz / Slave Up to 18 MHz
I2C 2 Master/Slave Standard/Fast mode (100 / 400KHz)
ADC 12-bit x 8 channels Max. 1 Msps with 12-bit SAR ADC
Op Amp / Comparator 2
Watchdog 1
RTC 1
HT32F1765 Feature 2
Holtek Semiconductor Inc.2013/8/12 -9
Function Spec / Number Description
LVD Y 9 levels: 2.7V ~ 3.5V, 0.1V per level
BOD Y 2.5V
POR Y Power On Reset:1.36V
Internal LDO 1VIN = 2.7V ~ 3.6VNormal mode: VOUT = 1.8V / 200mALow-power mode: VOUT = 1.8V / 100mA
Operation Mode Run, Sleep, Power-downDeep Sleep Mode1, 2
Run:Run: Typ. 60mA @ 72MHz, Max. Typ. 60mA @ 72MHz, Max. 72mA72mA
Deep Sleep 2:Deep Sleep 2: Typ. 18uA, Max. 25uA25uA
Power down:Power down: Typ.Typ. 4uA 4uA
Backup Registers 32-bit x 10 General data storage in Backup Domain
ESD/EFT Latch up
ESD HBM: 4kVESD MM: 300VLatch up: ±400mA
HBM: Human Body ModeMM: Machine Mode
Operating Temperature -40 ~ +85 ℃ ℃
I/O Ports 33/46/80Max. Port A~E[15:0] ; Be configured up to 4 alternate functions (AFIO)
Package LQFP 48/64/100
HT32F1765 Feature 3
Holtek Semiconductor Inc.2013/8/12 -10
HT32F1755/1765/2755LQFP48
7mm x 7mm
PA0
PA1
PA2
PA3
PA4
PA5
PA6
PA7
PC10
USBDP
USBDM
1
2
3
4
5
6
7
8
9
10
11
25
26
27
28
29
30
31
32
33
PD10
PD11
PE5
PE6
PE7
PE8
VDD33_1
Vss33_1
VD
DA
VSSA
JTMS/SWDIO
RTCOU
T
PB5/XTAL32KOU
T
PB4/XTAL32KIN
VBAT
nRST
VSSLD
O
VLD
OIN
VLD
OO
UT
XTALOU
T
XTALIN
PC12
PC11
JTRST
JTDI
VSS33_2
VD
D33_2
JTDO/TRACESWO
PC9/BOOT1
PC8/BOOT012
13 14 15 16 17 18 19 20 21 22 23 24
34
35
36
48 47 46 45 44 43 42 41 40 39 38 37
VDD33_3
VSS33_3
JTCK/SWCLK
PD8
PD9
PE9
PE10
HT32F1755/1765/2755LQFP64
10mm x 10mm
PA0
PA1
PA2
PA3
PA4
PA5
PA6
PA7
PC10
USBDP
USBDM
1
2
3
4
5
6
7
8
9
10
11
33
34
35
36
37
38
39
40
41
PE5
PE6
PE7
PE8
VDD33_1
Vss33_1
VD
DA
VSSA
JTMS/SWDIO
RTCOU
T
PB5/XTAL32KO
UT
PB4/XTAL32KIN
VBAT
nRST
VSSLD
O
VLD
OIN
VLD
OO
UT
PC14
PC13
JTRST
JTDI
JTDO/TRACESWO
PC9/BOOT1
PC8/BOOT0
12
17 18 19 20 21 22 23 24 25 26 27 28
42
43
44
64 63 62 61 60 59 58 57 56 55 54 53
VDD33_3
VSS33_3
JTCK/SWCLK
PE9
PE10
13
14
15
16
XTALO
UT
XTALIN
VSS33_2
VD
D33_2
29 30 31 32
45 PC12
PC11
46
47
48
52 51 50 49
PB0
PB1
PB2
PB3
PB7
PC2
PC1
PC0
PC3
PC15
PD12
PD13
PD10
PD11
PD9
PD8
VD
D33_4
VSS33_4
HT32F1765 Pin Assignment 1
Holtek Semiconductor Inc.2013/8/12 -11
RTCOU
TPB5/XTAL32KO
UT
PB4/XTAL32KINV
BAT
nRSTV
SSLDO
VLD
OIN
VLD
OO
UT
XTALOU
TXTALIN
VSS33_2
VD
D33_2
26 27 28 29 30 31 32 33 34 35 36 37
PD12
PD13
PE0
PE1PE2PE3
VD
DA
VSSA
100 99 98 97 96 95 94 93 92 91 90 89
PE4
JTDO/TRACESWO
PC10
51
52
53
54
55
56
57
58
59
JTMS/SWDIO
PC12PC11
JTRSTJTDI
PC9/BOOT1PC8/BOOT0
60
61
62
VDD33_3
VSS33_3
JTCK/SWCLK
HT32F1755/1765/2755LQFP100
14mm x 14mmUSBDM
PA0PA1PA2PA3PA4PA5PA6PA7
USBDP
1
2
3
4
5
6
7
8
9
10
11
VDD33_1
VSS33_1
12
PA12
PA8PA9
PA10PA11
PA13PA14PA15
13
14
22
23
24
25
PB13
38 39 40 41 42 43 44 45 46 47 48 49
PC13
63
64
65
66
67
68
69
70
71
72
73
74
VD
D33_4
PD10
PD11
PE5PE6PE7PE8
88 87 86 85 84 83 82 81 80 79 78 77
PD9
PE9PE10
76
PD8
75
VSS33_4
50
15
16
17
18
19
20
21PB0PB1PB2PB3NC
PB10PB9PB8PB7
PB14PB15
PC2PC1PC0
PC5PC4PC3
PC7PC6
PC14PC15
PD7PD6PD5PD4PD3PD2PD1PD0
PD14
PD15
VREF+
VREF-
HT32F1765 Pin Assignment 2
Holtek Semiconductor Inc.2013/8/12 -12
HT32 Firmware Library
Examples Support for each peripheral Running on HT32 DVB
Libraries CMSIS compliant Support for all the
peripherals
Project Template Empty projects for IDE
Utilities HT32 DVB configuration
Holtek Semiconductor Inc.2013/8/12 -13
RTOSSmall Footprint, several K bytesMulti-tasking process
• ARM-ARTX• IAR PowerPac• FreeRTOS• CoOS • uC/OS2
• ARM-ARTX• IAR PowerPac• FreeRTOS• CoOS • uC/OS2
Create 4 TasksLEDUSARTButtonsBuzzer
Create 4 TasksLEDUSARTButtonsBuzzer
Supported OS Demo
Example Source CodeExample
Source Code
Holtek Semiconductor Inc.2013/8/12 -14
HT32F1765 SK Reference Documents
IC Description HT32F1755-1765-2755_Datasheetv100.pdf HT32F1755-1765-2755_UserManualv110.pdf
Firmware Library HT32F175x_275x_Programmer_Guide_v101.chm
Tool installation instructions HT32_Keil-QuickStartv110.pdf HT32_IAR-QuickStartv110.pdf HT32_CooCoxCoIDE-QuickStartv100.pdf e-Link32-QuickStartv100.pdf
Holtek Semiconductor Inc.2013/8/12 -15