Professional Documents
Culture Documents
FAX0755-29063506
ZIP code:518126
Version
Release time
Revision note
V1.0
2014.01.09
First draft
V2.0
2014.03.21
Elicit code
V3.0
2015.07.02
V4.1
2015.09.18
overall optimization
V4.2
2016.3.20
Circuit optimization
Catalog
1
Introduction........................................................................................................................................................ 4
1.1
1.2
P78 Specifications............................................................................................................................................ 5
Power supply..............................................................................................................................................8
3.3
USB port..................................................................................................................................................... 8
3.4
UART port................................................................................................................................................... 8
3.5
I2C port..................................................................................................................................................... 9
3.6
I2S port..................................................................................................................................................... 9
3.7
TF card port............................................................................................................................................ 10
3.8
Bluetooth port........................................................................................................................................ 11
3.9
SPI port................................................................................................................................................... 11
3.10
3.11
Indicator light.................................................................................................................................... 12
3.12
Factory reset........................................................................................................................................ 12
3.13
GPIO port................................................................................................................................................13
3.14
Pin reuse................................................................................................................................................13
1 Introduction
P78 is a 2.4G wireless communication module, based on MTK MT7620A solution of Shenzhen Compare
Electronics Co., Ltd. P78 series module designed abundant external interface and the powerful
software supporting platform, can proceed the secondary development. And support multiple external
device, meet different requirement.
support 2 UART ports. Can application for: WIFI smart socket, WIFI audio box, industrial control,
ip camera, smart home control center.
2 P78 Specifications
Product feature
Description
Item No.
P78
Standards
Wireless security
WEP 64/128 bit, WPA, WPA2, 802.1x, and 802.11i, Cisco CCS V1.0, 2.0 V3.0 compatibility
I/O PIN
Dip34
Frequency
2.42.4835GHz
Channel
Modulation Type
Transmission rete
Receive Sensitivity
transmission distance
RF power
20dBmMax
Antenna Gain
Working Voltage
DC 3.3V 0.2V
Dimension
34mm*40mm
Operational
Working temperature-20 to 75
Storage temperature-40 to 85
environment
Storage humidity5%-95%
Descriptions
Power input
USB
UART0
UART1
I2C
GPIOs
I2S
Pin-out
1
Network name
Type
Descriptions
Descriptions
GND
Ground
GND
Ground
67
GPIO29
I/O
GPIO
WLNLED
I/O
66
GPIO24
I/O
GPIO
65
GPIO27
I/O
GPIO
GPIO
UART_TXD1
I/O
64
GND
Ground
UART_RXD1
I/O
63
GPIO26
I/O
GPIO
LINK0
I/O
62
GPIO25
I/O
GPIO
LINK4
I/O
61
GPIO23
I/O
GPIO
UART_CTS1
I/O
60
GPIO0
I/O
GPIO
10
GPIO22
I/O
59
GND
Ground
11
GND
Ground
58
GND
Ground
12
PADP
I/O
USB+
57
BT_WACT
I/O
13
PADN
I/O
USB
56
BT_ACT
I/O
14
TXOM4
I/O
55
BT_AUX
I/O
15
TXOP4
I/O
54
BT_STAT
I/O
16
RXIM4
I/O
53
BT_ANT
I/O
17
RXIM 4
I/O
52
GND
Ground
18
TXOM0
I/O
51
GND
Ground
19
TXOP0
I/O
50
GND
Ground
20
RXIM0
I/O
49
SD_CMD
I/O
21
RXIM 0
I/O
48
SD_D3
I/O
22
1.8VD
Output 1.8V
47
SD_D2
23
I2S_CLK_
P
I/O
46
SD_CLK
P
I/O
24
I2S_WS
I/O
45
GND
25
HPOUTFB
44
SD_CD
I/O
26
I2C_CLK
I/O
I2C clock
43
SD_D1
I/O
27
I2C_SD
I/O
I2C data
42
SD_D0
I/O
28
I2S_SDO
I/O
41
SD_WP
I/O
29
I2S_SDI
I/O
40
GND
30
UART0_RX
I/O
39
SPI_MISO
I/O
31
UART0_TX
I/O
38
SPI_MOSI
I/O
32
UART_RTS1
I/O
37
SPI_CLK
I/O
33
VCC
3.3V input
36
SPI_CS1
34
VCC
3.3V input
35
GND
Ground
Ground
Ground
Pin-out
30
31
Name
Type
Description
UART_RXD0
UART_TXD0
I
O
UART Receiver
UART Transmit
Pin-out
5
6
9
32
Name
Type
Description
UART_TXD1
UART_RXD1
UART_CTS1
UART_RTS1
O
I
I
O
UART Receiver
UART Transmit
UART Receiver Allow
UART Transmit Request
P78 UART1 support standard async communnication fromat(start bit, stop bit, parity bit ),
support DMA operate Direct Memory Access, the max
Transmission rete
UART, right now the UART_RIN1UART_DSR1UART_DCD1 UART_DTR1 this 4 signals must be through I2S to reuse
and gain. Please see 3.9 pin-out reuse.
Pin-out
26
27
Name
type
Description
I2C_CLK
I2C_SD
I/O
I/O
I2C Clock
I2C DATA
P78 module provide I2C port, port level 3.3V, support multiple external device, such as sensor,
controller, FM module, LCD, keyboard port etc.
Name
I2S_CLK_
I2S_WS
I2S_SDO
I2S_SDI
Type
Description
I/O
I/O
I/O
I/O
Name
SD_CMD
SD_D3
SD_D2
SD_CLK
SD_CD
SD_D1
SD_D0
SD_WP
Type
I/O
I/O
I/O
I/O
I/O
I/O
I/O
I/O
10
Description
Name
Type
57
56
55
54
53
BT_WACT
BT_ACT
BT_AUX
BT_STAT
BT_ANT
I/O
I/O
I/O
I/O
I/O
Description
Type
Name
SPI_MISO
SPI_MOSI
SPI_CLK
SPI_CS1
Description
I/O
I/O
I/O
I/O
P78 module have 2 groups SPI port, SPI0 for module internal FLASH to storage system firmware. SPI1
can circumscribed SPI FLASH.
Name
Type
Description
TXOM4
TXOP4
RXIM4
RXIM 4
TXOM0
TXOP0
RXIM0
RXIM 0
I/O
I/O
I/O
I/O
I/O
I/O
I/O
I/O
Pin-out
14
15
16
17
18
19
20
21
Network port 0 and network port 4 can be WAN or LAN, can set through software. Such as use for 2
LAN or 1 WAN 1 LAN.
Connection can refer to below pic:
11
Type
WLNLED
I/O
LINK0
I/O
LINK4
I/O
Pin-out
Description
Reference as below:
Name
Type
Description
GPIO22
I/O
Name
Type
Description
GPIO28
GPIO29
GPIO24
GPIO27
GPIO26
GPIO25
GPIO23
GPIO0
I/O
I/O
I/O
I/O
I/O
I/O
I/O
I/O
GPIO
GPIO
GPIO
GPIO
GPIO
GPIO
GPIO
GPIO
Pin-out
68
67
66
65
63
62
61
60
P78 default 8 GPIO ports, as above pic. If need more GPIO port, just can through other ports
to reuse, for example UART1 reuse for GPIO port, set corresponding register in the software, will
be realize. Please see the 3.14 pin reuse.
3b001
PCM
UARTF
3b010
PCM
I2S
3b000
UARTF
3b100
PCM
GPIO
3b101
GPIO
UARTF
3b110
GPIO
I2S
3b111
GPIO
PCMDTX
PCMDTX
UART_RIN1
PCMDTX
GPIO#14
GPIO#14
GPIO#14
PCMDRX
PCMDRX
UART_DSR1
PCMDRX
GPIO#13
GPIO#13
GPIO#13
PCMCLK
PCMCLK
UART_DCD1
PCMCLK
GPIO#12
GPIO#12
GPIO#12
PCMFS
PCMFS
UART_DTR1
PCMFS
GPIO#11
GPIO#11
GPIO#11
I2S_SDI
UART_RXD1
I2S_SDI
UART_RXD1
UART_RXD1
I2S_SDI
I2S_SDO
UART_CTS1
I2S_SDO
UART_CTS1
UART_CTS1
I2S_SDO
I2S_WS
UART_TXD1
I2S_WS
UART_TXD1
UART_TXD1
I2S_WS
I2S_CLK
UART_RTS1
I2S_CLK
UART_RTS1
UART_RTS1
I2S_CLK
UART_CTS1
UART_TXD1
UART_RTS1
GPIO#10
GPIO#9
GPIO#8
GPIO#7
13
GPIO#10
GPIO#9
GPIO#8
GPIO#7