Rev. 1.00
10
September 11, 2018
Rev. 1.00
11
September 11, 2018
HT45F4050
A/D NFC Flash MCU
HT45F4050
A/D NFC Flash MCU
Pin Assignment
PB4/CTCK/CTPB
VSSN
VDD
PA3/IN
T1/SDO
PA2/ICPCK/OCDSCK
PF3/SCK/SCL/SCOM3
PF
0/S
CS
/S
C
O
M
0
PB
3/C
TP
PD3/AN1
1
PF
6/AN12/C-
PF
7/C
+
PB
1/P
TPI/PTP
PB2/PTCK/P
TP
B
PB0/CX
PC6/STPI/STP/AN6
PC7/S
TCK/STPB/AN7
PD0/AN8
PD1/AN9
PD2/AN1
0
PC0/AN0/VREFI
AVSS
PF5/XT1
PF4/XT2
AVDD
PC5/AN5
PC4/AN4
PC1/AN1/CX/VREF
PC3/PTCK/PTPB/AN3
PC2/PTPI/PTP/AN2
PF1/SDO/S
C
O
M
1
PF2/SDI/SDA/SCOM2
PE4
PE3/VDDI
O/
CTP
PE2/CTCK/CTPB
PE1/STPI/
ST
P
PE0/STCK/STPB
PA7/IN
T1/TX
PA6/IN
T0/RX
PA0/ICPDA/OCDSDA
PA
4/S
D
I/S
D
A
PB5/RES
PA
5/SC
K/
S
C
L
PB7/OSC2
LB
LA
PB6/OSC1
VSS
HT45F4050/HT45V4050
48 LQFP-A
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
45
46
47
48
37
38
39
40
41
42
43
44
PA1/IN
T0/SCS
Notes: 1. If the pin-shared
pin
functions have multiple
outputs
simultaneously, the desired pin-shared function is
determined by the corresponding software control bits
.
2.
The actual device and its equivalent OCDS EV device share the same package type, however the OCDS
EV device part number is HT
45V4050
. Pins OCDSCK and OCDSDA which are pin-shared with PA2
and PA0 are only used for the OCDS EV device.
Pin Description
With the exception of the power pins, all pins on the device can be referenced by its Port name,
e.g. PA0, PA1 etc., which refer to the digital I/O function of the pins. However these Port pins are
also shared with other function such as the Analog to Digital Converter, Timer Module pins etc.
The function of each pin is listed in the following table, however the details behind how each pin is
configured is contained in other sections of the datasheet.
Pin Name
Function
OPT
I/T
O/T
Description
PA0/ICPDA/
OCDSDA
PA0
PAPU
PAWU
PAS0
ST
CMOS General purpose I/O. Register enabled pull-high and
wake-up.
ICPDA
—
ST
CMOS ICP Address/Data pin
OCDSDA
—
ST
CMOS OCDS Address/Data pin, for EV chip only
PA1/INT0/SCS
PA1
PAPU
PAWU
PAS0
ST
CMOS General purpose I/O. Register enabled pull-high and
wake-up.
INT0
PAS0
INTEG
INTC0
IFS1
ST
—
External Interrupt 0
SCS
PAS0
IFS0
ST
CMOS SPI slave select