English
Language : 

CT8022 Datasheet, PDF (158/194 Pages) List of Unclassifed Manufacturers – VOIP/VON G.723.1, G279AB TRUESPEECH CO-PROCESSOR
TrueSpeech® Co-Processor
PRELIMINARY/CONFIDENTIAL
Version: 1.18
9.25 General Purpose Input Output pins (GPIO)
The CT8022 provides 8 GPIO pins, GPIO-0 to GPIO-7. Two of these pins may be configured for system use to
provide CT8015compatibility as DATAFLAGN and Frame Interrupt FR.
GPIO-0
GPIO-5
may be used to provide the DATAFLAGN output signal
may be used to provide the frame interrupt output signal
After reset, all pins are configured as inputs and are available for general purpose use by the Host controller.
9.25.1 Configure GPIO System Use
GPIO pins are configured for system use by setting the system/user control mask:
Command = 0AXXH:
0000 1010
0
0
GPIO5
0
0
0
(15-8)
(7)
(6)
(5)
(4)
(3)
(2)
0
GPIO0
(1)
(0)
Status = 00XXH:
0000 0000
(15-8)
0
0
GPIO5
0
0
0
0
GPIO0
(7)
(6)
(5)
(4)
(3)
(2)
(1)
(0)
Setting GPIO0 to 1enables GPIO0 as an output to provide the DATAFLAGN signal
Setting GPIO5 to 1 enables GPIO5 as an output to provide the Frame Interrupt pin FR
By default, both of these control bits are set to zero.
9.25.2 Configure GPIO Input/Output Direction:
Command = 09XXH:
0000 1001
GPIO-7 GPIO-6
X
(15-8)
(7)
(6)
(5)
X
GPIO-3 GPIO-2 GPIO-1
X
(4)
(3)
(2)
(1)
(0)
Status = 00XXH:
0000 0000
(15-8)
GPIO-7 GPIO-6
1
(7)
(6)
(5)
1
GPIO-3 GPIO-2 GPIO-1
1
(4)
(3)
(2)
(1)
(0)
Setting the GPIO bit to ‘1’ configures the pin as an output; setting the bit to ‘0’ configures the pin as an input.
158
DSP GROUP, INC., 3120 SCOTT BOULEVARD
CT8022A11AQC FW Revision 0118
SANTA CLARA, CA 95054 PH: 408 986 – 4300 FAX: 408 986 – 4490
All specifications are subject to change without prior notice.