Claims
- 1. A data processing device, comprising:
- a central processing unit (CPU) for executing instructions;
- a memory circuit connected to the CPU for storing a plurality of instructions which are executed by the CPU;
- serial port interface circuitry connected to the CPU, operable to transmit and receive data with dual phase frames; and
- wherein the serial port interface circuitry comprises at least a first control register operable to be loaded by an instruction executed by the CPU, wherein the first control register is operable to select a first set of parameters for a first phase of the dual phase frame and further operable to select a second set of parameters for a second phase of the frame, such that the first set of parameters comprise a first phase number of words per frame and the second set of parameters comprise a second phase number of words per frame.
- 2. The data processing device of claim 1, wherein the serial port interface circuitry further comprises:
- a data transmit output;
- a data transmit register connected to the data transmit output, the data transmit register operable to receive a transmit data word having a plurality of bits from the CPU;
- frame sync generation circuitry and control circuitry, operable to cause a serial data stream to be transmitted from the data transmit register via the data transmit output in a time-division multiplexed manner, such that a plurality of data channels are available; and
- a multi-channel control register operable to select one of the plurality of data channels in which to transmit the transmit data word, such that each bit of the transmit data word is assigned to the selected channel from the plurality of data channels.
- 3. The data processing device of claim 2, wherein the serial port interface circuitry further comprises a transmit channel enable register connected to the data transmit port, the transmit channel enable register operable to disable transmission of one or more words of a transmit data frame.
- 4. The data processing device of claim 3, wherein the serial port interface circuitry further comprises:
- a data receive port;
- a sample rate clock generation circuit connected to the data receive port;
- an external clock input connected to the sample rate generation circuit for receiving an external clock signal;
- a frame sync signal input connected to the sample rate clock generation circuit for receiving an external frame sync signal;
- a sample rate generation register connected to the sample rate generation circuit for controlling the sample rate generation circuit in response to another selected instruction executed by the CPU;
- wherein the sample rate generation circuit further comprises a frame pulse detection circuit connected to the frame sync signal input; and
- wherein the sample rate generation circuit is operable to re-synchronize the sample rate clock generation circuitry to the external frame sync signal in response to the frame pulse detection circuit when a control bit in the sample rate generation register is in a first state, and the sample rate generation circuit is further operable to free-run when the control bit in the sample rate generation register is in a second state.
- 5. The data processing device of claim 4, wherein the sample rate generation circuit further comprises a clock divider circuit connected to the external clock input and having a data bit clock output, operable to convert the external clock signal having a first frequency to a data bit clock having a second frequency in response to another selected instruction executed by the CPU.
- 6. The data processing device of claim 5, wherein the sample rate generation circuit further comprises an internal clock input connected a first input of a multiplexer circuit;
- wherein the external clock input is connected to a second input of the multiplexor, and an output of the multiplexor is connected to clock divider circuit; and
- wherein the multiplexor is responsive to another selected instruction executed by the CPU.
- 7. The data processing device of claim 1, wherein that the first set of parameters comprise a first phase number of bits per word and the second set of parameters comprise a second phase number of bits per word.
REFERENCE TO RELATED APPLICATIONS
This application claims priority under 35 USC .sctn.119(e)(1) of Provisional Application Ser. No. 60/053,081, filed Jul. 9, 1997.
This application is related to co-assigned application Ser. No. 09/012,813 filed contemporaneously herewith and incorporated herein by reference.
US Referenced Citations (15)
Non-Patent Literature Citations (3)
Entry |
Audio Codec '97 Component Specification, Rev. 1.02, May 28, 1996; Intel Corp. |
ADI-ADSP-2106x SHARC User's Manual, 2.sup.nd ed., Jul. 1996. |
"TMS320C5X User's Guide" Texas Instruments Incorporated, Jan. 1993, pp. 5-15 to 5-48. |