WO2005038571A2 - Data processing system having a serial data controller - Google Patents

Data processing system having a serial data controller Download PDF

Info

Publication number
WO2005038571A2
WO2005038571A2 PCT/US2004/032254 US2004032254W WO2005038571A2 WO 2005038571 A2 WO2005038571 A2 WO 2005038571A2 US 2004032254 W US2004032254 W US 2004032254W WO 2005038571 A2 WO2005038571 A2 WO 2005038571A2
Authority
WO
WIPO (PCT)
Prior art keywords
serial
data
coupled
ports
serial data
Prior art date
Application number
PCT/US2004/032254
Other languages
French (fr)
Other versions
WO2005038571A3 (en
Inventor
Mark E. Elledge
John J. Vaglica
Sreedharan Bhaskaran
Allen Guoyuan Deng
Original Assignee
Freescale Semiconductor, Inc.
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Freescale Semiconductor, Inc. filed Critical Freescale Semiconductor, Inc.
Publication of WO2005038571A2 publication Critical patent/WO2005038571A2/en
Publication of WO2005038571A3 publication Critical patent/WO2005038571A3/en

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F13/00Interconnection of, or transfer of information or other signals between, memories, input/output devices or central processing units
    • G06F13/38Information transfer, e.g. on bus
    • G06F13/40Bus structure
    • G06F13/4004Coupling between buses
    • G06F13/4027Coupling between buses using bus bridges
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D10/00Energy efficient computing, e.g. low power processors, power management or thermal management

Definitions

  • This invention relates to data processing, and more particularly to a data processing system having a serial data controller.
  • Wireless devices such as cellular handsets are being manufactured with more, increasingly complex, features in smaller form factors.
  • an application processor AP
  • additional audio devices such as stereo digital-to-analog converters (DACs) and Bluetooth codecs
  • DACs stereo digital-to-analog converters
  • Bluetooth codecs Bluetooth codecs
  • Data processing system 10 includes processors 12 and 14, and audio devices 16, 18, 20, and 22, where audio device 16 is a voice codec, audio device 18 is a Bluetooth module, audio device 20 is a stereo DAC, and audio device 22 is an external access port.
  • processor 12 has one input/output (I/O) port 15 coupled to communicate with both audio devices 16 and 18.
  • Processor 14 has an I/O port 17 coupled to communicate with audio device 20 and an I/O port 19 coupled to communicate with audio device 22. Also, processors 12 and 14 are coupled together so data can be passed between them. In data processing system 10, both processors can access all of audio devices 16, 18, 20, and 22.
  • processor 14 wants to send data to one of audio devices 16 and 18, processor 14 must first pass the data to processor 12 which then sends the data to the desired audio device 16 or 18.
  • processors There are several disadvantages to passing data between the processors in this example.
  • interrupt frequency of the processors increases.
  • latency of the audio stream increases.
  • audio streams sent between processors require rate adaptation to account for subtle differences in clocks generated on the different processors. Therefore, there is a need for a multi-processor data processing system that solves the above problems.
  • FIG. 1 illustrates, in block diagram form, a data processing system in accordance with the prior art.
  • FIG. 2 illustrates, in block diagram form, a data processing system in accordance with the present invention.
  • FIG. 3 illustrates, in block diagram form, one embodiment of a host port of FIG. 2.
  • FIG. 4 illustrates, in block diagram form, one embodiment of a peripheral port of FIG. 2.
  • FIG. 5 illustrates, in partial block diagram form and partial logic diagram form, the TX/RX data reversal logic of FIG. 3 in more detail.
  • FIG. 6 illustrates, in logic diagram form, the receive data and network mode logic of FIG. 3 in more detail.
  • FIG. 7 illustrates a timing diagram of various signals of the receive data and network mode logic of FIG. 6. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENT
  • the present invention provides a serial data controller in a data processing system for selectively multiplexing serial data signals from a plurality of serial data sources to a plurality of serial devices.
  • the serial data controller is coupled between the serial data sources and the plurality of serial devices and includes one or more host ports and one or more peripheral ports coupled together through a switching matrix.
  • a control circuit and a plurality of control registers are used to set up, or configure, and control the data path between the host and peripheral ports including clock and frame synchronization timing of the data path.
  • One embodiment of an apparatus in accordance with the present invention includes at least three serial devices and a serial data controller.
  • the serial data controller includes at least three serial ports and a plurality of data paths. Each serial device is coupled to one of the serial ports.
  • a first data path and a second data path of a plurality of data paths each have a first end portion coupled to one of the serial ports and a second end portion coupled to another one of the serial ports.
  • a first one of the serial ports being coupled to a second one of the serial ports via the first data path and to a third one of the serial ports via the second data path.
  • Control circuitry of the data controller is for dynamically selecting one or more of the data paths for transmission of serial data from a transmitting serial device to a selected subset of the serial devices and not to a deselected subset of the serial devices, wherein the data remains in a serial format throughout the transmission from the transmitting serial device to the selected serial devices.
  • a special purpose audio information steering circuit includes a plurality of serial I/O ports and control circuitry.
  • Each of the plurality of serial I/O ports is configured to couple to a corresponding serial device.
  • each of the I/O ports is coupled to each of the other I/O ports via a point-to-point data path through which audio information may be transmitted from a first serial device to a second serial device.
  • the control circuitry dynamically selects one or more of the data paths for transmission of audio data from an I/O port receiving audio data to a selected subset of the I/O ports and not to a deselected subset of the I/O ports. In this way, the audio data remains in a serial format throughout the transmission from the receiving I/O port to the selected I/O ports.
  • a special purpose audio information steering circuit includes a plurality of serial ports, a software configurable serial interface block and control registers.
  • the plurality of serial ports including N host ports configured to receive data from multiple serial sources in a TDM network mode and M peripheral ports configured to receive data from a single selectable serial source.
  • the software configurable serial interface block is coupled to each of the host ports and the peripheral ports.
  • the interface block includes MxN data paths, each data path being coupled between a host and a peripheral.
  • the control registers are for storing control information to dynamically select one or more of the data paths for transmission of audio data from a first selected subset of the serial ports to a second selected subset of the serial ports and not to a deselected subset of the serial ports.
  • the audio data remains in a serial format throughout the transmission from the first subset of serial ports to the second subset of serial ports.
  • the serial data controller in accordance with the present invention allows point-to-point communications between multiple processors and multiple ⁇ devices.
  • the sources, and/or destinations, of serial data can freely share serial devices in a standard configuration as well as dynamically creating (and/or disconnecting) networks of multiple serial devices.
  • any source/destination of data can access any serial device.
  • one source of data can send the data to multiple devices via a host port, and one source can send data to one device and receive data from another device.
  • connectivity between devices and data sources/destinations can be modified through programming.
  • FIG. 2 illustrates, in block diagram form, a data processing system 30 in accordance with the present invention.
  • Data processing system 30 includes a clock domain 32 and a clock domain 34.
  • Domain 32 includes a processor 70 coupled to a bus 71.
  • Processor 70 generates a system clock for timing operations of processor 70 and the peripherals attached to processor 70.
  • Memory 72, serial device 74, and serial device 76 are each coupled to bus 71.
  • Clock domain 34 includes a processor 80 coupled to a bus 81.
  • a serial device 82 and a memory 84 are coupled to bus 81.
  • Processor 80 also generates a system clock for timing operations of processor 80 and the peripherals attached to processor 80.
  • the system clock of processor 70 may, or may not, have the same clock frequency, phase, and duty cycle as the system clock of processor 80.
  • clock domain 32 is bi-directionally coupled to clock domain 34.
  • Processors 70 and 80 may each be one of many different processor, or processor central processing units (CPU), types that are used in integrated circuit data processing systems, such as a digital signal processor (DSP), a reduced instruction set computer (RISC) processor, or the like, depending on which processor type best suits the particular applications. Still referring to FIG.
  • DSP digital signal processor
  • RISC reduced instruction set computer
  • a serial data controller 36 includes a plurality of ports 50, 52, 54, 56, 58, 60, and 62, labeled "PORT 1" through "PORT 7", respectively.
  • Each of ports 50, 52, 54, 56, 58, 60 and 62 can be coupled to one of the other ports via a switching matrix 64.
  • a control circuit 66 and a plurality of control registers 68 are used to configure and control the plurality of ports.
  • the plurality of control registers 68 includes a plurality of user programmable bits, or bit fields, used to control the operation of serial data controller 36.
  • control circuit 66 and the plurality of control registers 68 are bi-directionally coupled to bus 71 to allow resources of domain 32, such as processor 70, to control the data pathways of serial data controller 36.
  • control circuit 66 and the plurality of control registers 68 may be bi-directionally coupled to bus 71 , bus 81 , or both bus 71 and bus 81.
  • Ports 50, 52, and 54 are characterized as host ports and ports 56, 58, 60, and 62 are characterized as peripheral ports. Host ports and peripheral ports can both send and receive data as well as be the master of the data flow, by providing clock timing as synchronization, if so desired.
  • Host port 50 is bi- directionally coupled to serial device 74 of domain 32 and is described in more detail in the discussion of FIG. 3.
  • port 52 is bi-directionally coupled to serial device 76
  • port 54 is bi-directionally coupled to serial device 82
  • port 56 is bi-directionally coupled to a serial device 40
  • port 58 is bi-directionally coupled to a serial device 42
  • port 60 is bi-directionally coupled to a serial device 44
  • port 62 is bi-directionally coupled to a serial device 46.
  • Peripheral port 7 will be described in more detail in the discussion of FIG. 4.
  • the serial devices are for receiving or providing serial audio data. In other embodiments, the serial devices may be used for other types of serial data.
  • serial data controller 36 includes two types of ports. Ports 50, 52, and 54 are similar to each other and are designated as “host” ports, and ports 56, 58, 60, and 62 are similar to each other and are designated as "peripheral” ports.
  • a host port differs from a peripheral port in that the host ports include network mode logic (see FIG. 6). Also, a host port can receive data from multiple sources when operating in "network mode", whereas peripheral ports cannot. Data can be transmitted between a host port and a host port or a peripheral port, from a peripheral port to another peripheral port, or from a host port to more than one of the other ports.
  • serial data controller 36 allows for selectable control of serial communication data paths between any of ports 50, 52, 54, 56, 58, 60, and 62 via switching matrix 64.
  • Serial data controller 36 can dynamically connect and/or disconnect a network of serial devices through the data paths of serial data controller 36.
  • serial device 74 of clock domain 32 may communicate serial data via port 50 and any other port in data processing system 30.
  • the data paths are selected or deselected using control circuitry 66 and control registers 68.
  • a host port can communicate with more than one host and/or peripheral port. Communications between the host port and the networked peripheral ports is on a time-slotted basis.
  • Network mode is defined as a time-division multiplexed protocol mode for sending unique serial data from a host port to one or more other ports using a time-slotted frame. In network mode, both master-slave and slave-slave communication can take place.
  • FIG. 3 illustrates, in block diagram form, host port 50 of FIG. 2.
  • Host ports 52 and 54 are similar to host port 50.
  • Host port 50 includes clock and frame sync selector 90, transmit (TX)/ receive (RX) data reversal logic 92, and receive data and network mode logic 94.
  • Each of clock and frame synchronization selector 90, TX/RX data reversal logic 92 and receive data and network mode logic 94 have inputs for receiving control signals from control registers 68.
  • Clock and frame sync selector 90 has a plurality of inputs for receiving clock (CLK) and frame synchronization (FS) signals labeled "CLK/FS FROM PORT 2" to "CLK/FS FROM PORT 7" from each of the other ports.
  • CLK and FS selector 90 includes a plurality of outputs for providing a plurality of CLK and FS signals labeled "PORT 1 CLK/FS to PORTS 2 - 7" to inputs of the CLK and FS selectors of the other ports.
  • clock and frame synchronization selector 90 includes an I/O terminal labeled "TX CLOCK”, an I/O terminal labeled "RX CLOCK”, an I/O terminal labeled "TX FRAME SYNC”, and an I/O terminal labeled "RX FRAME
  • the clock and frame synchronizing signals can be generated and provided by any of the ports.
  • CLK and FS selector 90 provides the clock and frame synchronizing signals to input terminals of serial device 74.
  • TX/RX data reversal logic 92 is bi-directionally coupled to serial device
  • TX/RX data reversal logic 92 for communicating serial data signals labeled "TX/RX DATA" and "RX/TX DATA".
  • An output of TX/RX data reversal logic 92 is for providing data signals labeled "PORT 1 TX DATA TO PORTS 2 - 7" to any other selected port of data processing system 30.
  • An input of TX/RX data reversal logic 92 is for receiving a data signal labeled "SELECTED RX DATA" from an output of receive data and network mode logic 94, and an input of TX/RX data reversal logic 92 is for receiving an output buffer enable signal from receive data and network mode logic 94 labeled "SELECTED OBE".
  • Receive data and network logic 94 includes a plurality of input terminals from receiving data labeled "RX DATA FROM PORTS 2 - 7", and a plurality of input terminals for providing a plurality of enable signals labeled "RX OBE FROM PORTS 2 - 7".
  • TX/RX data reversal logic 92 will be described in more detail in the discussion of FIG. 5, and receive data and network mode logic 94 will be described in more detail in the discussion of FIG 6.
  • Host port 50 can be configured as a four-wire or six-wire interface. When configured as a synchronous four- wire interface, the clock and frame sync signals are made available on TX CLOCK and TX FRAME SYNC.
  • TX/RX reversal logic 92 is used to provide flexibility in supporting network mode configurations by allowing the TX/RX DATA and the RX/TX DATA lines to be swapped so that mastership of the serial data path can be passed between multiple external devices coupled to a single host or peripheral port.
  • Receive data and network mode logic 94 is used to support the network modes.
  • FIG. 4 illustrates, in block diagram form, one embodiment of the peripheral port 62 of FIG. 2.
  • Peripheral port 62 is similar to host port 50 except that peripheral port 62 does not include the logic necessary for supporting network mode as a master.
  • Port 62 includes clock and frame synchronizer selector 96, TX/RX data reversal logic 98, and receive data logic 100.
  • clock and frame synchronizer selector 96, TX/RX data reversal logic 98 and receive data and network mode logic 100 have inputs for receiving control signals from control registers 68.
  • Clock and frame sync selector 96 is similar to clock and frame synchronizer 90, and has a plurality of inputs for receiving clock (CLK) and frame synchronizer (FS) signals labeled "CLK/FS FROM PORT 1" to "CLK/FS FROM PORT 6" from each of the other ports. Also, CLK and FS selector 96 includes a plurality of outputs for providing a plurality of CLK and FS signals labeled "PORT 7 CLK/FS to PORTS 1 - 6" to inputs of the CLK and FS selectors of the other ports.
  • CLK and FS selector 96 includes a plurality of outputs for providing a plurality of CLK and FS signals labeled "PORT 7 CLK/FS to PORTS 1 - 6" to inputs of the CLK and FS selectors of the other ports.
  • clock and frame synchronizer selector 96 includes an I/O terminal labeled "TX CLOCK", an I/O terminal labeled "RX CLOCK”, an I/O terminal labeled “TX FRAME SYNC”, and an I/O terminal labeled "RX FRAME SYNC” to or from a serial device coupled to port 62 such as serial device 46.
  • the clock and frame synchronization signals can be generated and provided by any of the ports.
  • CLK and FS selector 96 provides the clock and frame synchronization signals to input terminals of serial device 46.
  • TX/RX data reversal logic 98 is bi-directionally coupled to serial device
  • TX/RX data reversal logic 98 for communicating serial data signals labeled "TX/RX DATA" and "RX/TX DATA".
  • An output of TX/RX data reversal logic 98 is for providing data signals labeled "PORT 7 TX DATA TO PORTS 1 - 6" to any other selected port of data processing system 30.
  • An input of TX/RX data reversal logic 98 is for receiving a data signal labeled "SELECTED RX DATA" from an output of receive data logic 100, and an input of TX/RX data reversal logic 98 is for receiving an output buffer enable signal from receive data logic 100 labeled "SELECTED OBE".
  • Receive data logic 100 includes a plurality of input terminals from receiving data labeled "RX DATA FROM PORTS 1 - 6", and a plurality of input terminals for providing a plurality of enable signals labeled "RX OBE FROM PORTS 1 - 6".
  • TX/RX reversal logic 98 is used to provide flexibility in supporting network mode configurations by allowing the TX/RX DATA and the RX/TX DATA lines to be swapped so that mastership of the serial data path can be passed between multiple external devices coupled to a single host or peripheral port.
  • FIG. 5 illustrates, in partial block diagram form and partial logic diagram form, TX/RX data reversal logic 92 of FIG. 3 in more detail.
  • TX/RX data reversal logic 92 includes multiplexer 102, decoders, or demultiplexers, 104 and 106, and buffer circuits 108 and 110.
  • Multiplexer 102 has a first input terminal for receiving TX/RX DATA from serial device 74, a second input terminal for receiving RX/TX DATA from serial device 74, an output terminal for providing either the RX/TX DATA or the TX/RX DATA from serial device 74 to a selected one or more of PORTS 2 - 7 depending on the logic state of a control signal provided by control registers 68 to a control terminal of multiplexer 102.
  • Decoder 104 has an input terminal for receiving SELECTED RX DATA from receiving data and network mode logic 94, a first output terminal coupled to an input of buffer circuit 108, and a second output terminal coupled to an input of buffer circuit 110, and a control terminal for receiving a control signal from control registers 68. Depending on the logic state of the control signal, the SELECTED RX DATA is provided to either one of buffer circuits 108 and 110.
  • Buffer circuit 108 has an output terminal for providing buffered RX/TX DATA to serial device 74
  • buffer circuit 110 has an output terminal for providing buffered TX/RX DATA to serial device 74.
  • decoder 106 has an output terminal coupled to a control input of buffer circuit 108 and an output terminal coupled to a control input of buffer circuit 110, for providing the output enable signal SELECTED OBE to the appropriate one of buffer circuits 108 or 110 in response to a control signal from control registers 68.
  • TX/RX data reversal logic 92 is used to "reverse" or swap which of the RX/TX DATA or TX/RX DATA terminals communicates data. As indicated in FIG.
  • a predetermined control bit from control registers 68 controls which of the first or second input terminals of multiplexer 102 provides the TX DATA from the RX/TX DATA path or the TX/RX DATA path to serial device 74. Also, if data is to be received from a selected one of the other ports, a predetermined control bit from control registers 68 determines which of the first or second output terminals of decoder 104 is selected to provide the data to one the RX/TX DATA or TX/RX DATA via one of buffer circuits 108 or 110.
  • FIG. 6 illustrates, in logic diagram form, receive data and network mode logic 94 of FIG. 3 in more detail.
  • Receive data and network mode logic 94 includes multiplexers 120, 122, 124, 126, 128, 130, 134, 136, 138, and 140, and AND logic gate 132.
  • Each of multiplexers 120, 122, 124, 126, 128, and 130 have a first input terminal coupled to receive a logic "one", and a second input terminal coupled to receive RX DATA from one of ports 2 - 7.
  • a control terminal of each of multiplexers 120, 122, 124, 126, 128, and 130 is coupled to receive a network mode mask signal from control registers 68.
  • An output of each of multiplexers 120, 122, 124, 126, 128, and 130 is coupled to an input of AND logic gate 132.
  • Multiplexer 134 has a plurality of input terminals, each of the plurality of input terminals coupled to receive RX DATA from one of the other ports.
  • Multiplexer 134 provides one of the RX DATA signals from one of the other ports to an output terminal of multiplexer 134 depending of a STATIC PORT SELECT signal from control registers 68.
  • multiplexer 136 has a plurality of input terminals, each of the plurality of input terminals coupled to receive output buffer enable signal RX OBE from one of the other ports.
  • multiplexer 136 provides the SELECTED OBE signal to determine which buffer circuit of TX/RX data reversal logic 92 will be enabled to provide the SELECTED RX DATA from multiplexer 140.
  • Multiplexer 138 may be optionally included in received data and network mode logic 94, and has a first input terminal coupled to receive RX DATA from port 62 (PORT 7), a second input terminal coupled to the output terminal of multiplexer 134, a control terminal coupled to receive a DYNAMIC PORT SELECT signal and an output terminal.
  • Multiplexer 140 has a first input terminal coupled to the output terminal of AND logic gate 132, a second input terminal coupled to the output terminal of multiplexer 138, and a third input terminal coupled to the output terminal of multiplexer 134.
  • Multiplexer 140 provides the SELECTED RX DATA via one of its three input terminals in response to a control signal labeled "RECEIVE MODE [1:0]" from control registers 68.
  • Each of the host ports 50, 52, and 54 include the receive data and network mode logic 94 to determine which data lines from the other ports are used to create the SELECTED RX DATA line for the host port 50, 52, or
  • control signal RECEIVE MODE [1:0] 0:0
  • host port 50 is coupled in a point-to-point arrangement to receive data from one other selected port.
  • control block 66 if host port 50 is to communicate with, for example, peripheral port 62, host port 50 is connected to serial device 74 of domain 32 processor 70 provides control information to control block 66 and to control registers 68.
  • a data path is created from serial device 46 to serial device 76 through receive data logic 94 and TX/RX data reversal logic 92 of port 50. Clock and frame synchronization information is communicated to clock and frame sync selector 90.
  • the data will be transmitted to port 50 via switching matrix 64, which in one embodiment includes "cross-bar" logic.
  • the data is received at port 50 via multiplexers 134 and 140 of receive data and network mode logic 94 (FIG. 6).
  • the SELECTED RX DATA is provided to TX/RX data reversal logic 92 (FIG. 5) and outputted to serial device 74 via one of RX/TX DATA or TX/RX DATA.
  • a peripheral port can communicate with another peripheral port.
  • one peripheral port is configured as a master and provides the clock and frame synchronization signals to the other peripheral port.
  • both peripheral ports are configured as slave ports but with routing established from peripheral port to peripheral port by another port that provides the frame synchronization and clock timing.
  • a host port can communicate with another host port to provide a path for synchronous interprocessor communication.
  • cpntrol signal RECEIVE MODE [1:0] 0: 1
  • host port 50 is coupled in a point-to-multi-point mode of operation.
  • control signal RECEIVE MODE [1:0] is a bit field of control registers 68. Referring to FIG. 6, the output of AND logic gate 132 is routed through multiplexer 140 to provide the SELECTED RX DATA to serial device 74.
  • the NETWORK MASK MODE signals from control registers 68 selects the transmit signals of the ports that are to be connected in network mode.
  • the transmit signals received at the RX DATA inputs of multiplexers 120, 122, 124, 126, 128, and 130 are ANDed together by AND logic gate 132 to from the SELECTED RX DATA. Only one of the ports 2 - 7 transmit data in a predetermined time-slot. All of the other ports remain at a logic high, or a logic "1" tristated, or "pulled-up" state during that time slot. Hence, non-active signals in the selection will be high and do not influence the output of AND logic gate 132.
  • control signal RECEIVE MODE [1:0] 1:0.
  • This network mode uses optional multiplexer to synchronously select RX DATA signals from port 7 and one other selected port.
  • control signal DYNAMIC PORT SELECT is generated using clock and frame synchronization timing signals to produce timing indicating the active time slots for the two ports.
  • FIG. 7 is a timing diagram of various signals of receive data and network mode logic 94 of FIG. 6. FIG. 7 is provided to illustrate one example of a network mode of operation.
  • a frame synchronization signal from, for example, clock and frame synchronization selector 90 is used to start a data transfer from two or more of ports 52, 54, 56, 58, 60, and 62 to port 50.
  • the RX DATA is transmitted in timeslots such as time slots 0 and 1. In the illustrated embodiment, three bits of data are transmitted per timeslot. For example, timeslot 0 may be used by port 7 and timeslot 1 may be used by port 6. Other timeslots, not shown, may be used by other selected ports.
  • the ports that are active in the network are determined by the NETWORK MODE MASK signal from control registers 68. Note that the arrows indicate that the data is transmitted on the rising edges of the CLOCK signal.
  • the data may be transmitted on the falling edges of the CLOCK signal.
  • the three bits of data of timeslot 0 are transmitted at times TI, T2, and T3.
  • the three bits of data of timeslot 1 are transmitted at times T4, T5, and T6.
  • Serial data controller 36 provides several advantages over the prior art. For example, with serial data controller 36 there is no need from parallel-to- serial or serial-to-parallel data conversions. Also, multiple data rates can be accommodated on different data paths. In addition, serial data controller 36 provides separate transmit and receive clock rates and data paths. In addition, data is only sent to those devices that require data, thereby saving power and providing a more secure system than the prior art.

Landscapes

  • Engineering & Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Computer Hardware Design (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Information Transfer Systems (AREA)
  • Multi Processors (AREA)

Abstract

A data processing system (30) includes two processors (70, 80) and a serial data controller (36) for selectively multiplexing serial data signals between one or more of a plurality of serial data devices (40, 42, 44, 46, 74, 76, 82) The serial data controller (36) includes one or more host ports (50, 52, 54) and one or more peripheral ports (56, 58, 60, 62) coupled together through a switching matrix (64). A control circuit (66) and a plurality of control registers (68) are used to configure and control a serial data path created between two or more ports including clock and frame synchronization timing of the data path.

Description

DATA PROCESSING SYSTEM HAVING A SERIAL DATA CONTROLLER
FIELD OF TEE INVENTION
This invention relates to data processing, and more particularly to a data processing system having a serial data controller.
BACKGROUND OF THE INVENTION
Wireless devices, such as cellular handsets are being manufactured with more, increasingly complex, features in smaller form factors. As the complexity of applications supported by wireless devices increases, more hardware is required on an integrated circuit to support the new applications. For example, an application processor (AP) and additional audio devices (such as stereo digital-to-analog converters (DACs) and Bluetooth codecs) have been added to the system in addition to the traditional baseband processor. In order to maximize the system's flexibility, both the baseband processor and the AP processor should be able to utilize all of the audio resources in the system. A simple solution to the problem of sharing the audio resources between multiple processors is to connect some of the audio devices to one processor and the rest of the audio devices to the other processor as illustrated in FIG. 1. FIG. 1 illustrates, in block diagram form, data processing system 10 in accordance with the prior art. Data processing system 10 includes processors 12 and 14, and audio devices 16, 18, 20, and 22, where audio device 16 is a voice codec, audio device 18 is a Bluetooth module, audio device 20 is a stereo DAC, and audio device 22 is an external access port. By way of illustration, processor 12 has one input/output (I/O) port 15 coupled to communicate with both audio devices 16 and 18. Processor 14 has an I/O port 17 coupled to communicate with audio device 20 and an I/O port 19 coupled to communicate with audio device 22. Also, processors 12 and 14 are coupled together so data can be passed between them. In data processing system 10, both processors can access all of audio devices 16, 18, 20, and 22. However, if for example, processor 14 wants to send data to one of audio devices 16 and 18, processor 14 must first pass the data to processor 12 which then sends the data to the desired audio device 16 or 18. There are several disadvantages to passing data between the processors in this example. First, both processors must be in a RUN operating mode in order for processor 14 data to reach audio devices 16 and 18. Second, interrupt frequency of the processors increases. Third, the maximum allowable interrupt timing of the processors decreases. Fourth, latency of the audio stream increases. Fifth, audio streams sent between processors require rate adaptation to account for subtle differences in clocks generated on the different processors. Therefore, there is a need for a multi-processor data processing system that solves the above problems. BRIEF DESCRIPTION OF THE DRAWINGS
FIG. 1 illustrates, in block diagram form, a data processing system in accordance with the prior art. FIG. 2 illustrates, in block diagram form, a data processing system in accordance with the present invention. FIG. 3 illustrates, in block diagram form, one embodiment of a host port of FIG. 2. FIG. 4 illustrates, in block diagram form, one embodiment of a peripheral port of FIG. 2. FIG. 5 illustrates, in partial block diagram form and partial logic diagram form, the TX/RX data reversal logic of FIG. 3 in more detail. FIG. 6 illustrates, in logic diagram form, the receive data and network mode logic of FIG. 3 in more detail. FIG. 7 illustrates a timing diagram of various signals of the receive data and network mode logic of FIG. 6. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENT
Generally, the present invention provides a serial data controller in a data processing system for selectively multiplexing serial data signals from a plurality of serial data sources to a plurality of serial devices. The serial data controller is coupled between the serial data sources and the plurality of serial devices and includes one or more host ports and one or more peripheral ports coupled together through a switching matrix. A control circuit and a plurality of control registers are used to set up, or configure, and control the data path between the host and peripheral ports including clock and frame synchronization timing of the data path. One embodiment of an apparatus in accordance with the present invention includes at least three serial devices and a serial data controller. The serial data controller includes at least three serial ports and a plurality of data paths. Each serial device is coupled to one of the serial ports. A first data path and a second data path of a plurality of data paths each have a first end portion coupled to one of the serial ports and a second end portion coupled to another one of the serial ports. A first one of the serial ports being coupled to a second one of the serial ports via the first data path and to a third one of the serial ports via the second data path. Control circuitry of the data controller is for dynamically selecting one or more of the data paths for transmission of serial data from a transmitting serial device to a selected subset of the serial devices and not to a deselected subset of the serial devices, wherein the data remains in a serial format throughout the transmission from the transmitting serial device to the selected serial devices. In another embodiment, a special purpose audio information steering circuit includes a plurality of serial I/O ports and control circuitry. Each of the plurality of serial I/O ports is configured to couple to a corresponding serial device. Also, each of the I/O ports is coupled to each of the other I/O ports via a point-to-point data path through which audio information may be transmitted from a first serial device to a second serial device. The control circuitry dynamically selects one or more of the data paths for transmission of audio data from an I/O port receiving audio data to a selected subset of the I/O ports and not to a deselected subset of the I/O ports. In this way, the audio data remains in a serial format throughout the transmission from the receiving I/O port to the selected I/O ports. In yet another embodiment, a special purpose audio information steering circuit includes a plurality of serial ports, a software configurable serial interface block and control registers. The plurality of serial ports including N host ports configured to receive data from multiple serial sources in a TDM network mode and M peripheral ports configured to receive data from a single selectable serial source. The software configurable serial interface block is coupled to each of the host ports and the peripheral ports. The interface block includes MxN data paths, each data path being coupled between a host and a peripheral. The control registers are for storing control information to dynamically select one or more of the data paths for transmission of audio data from a first selected subset of the serial ports to a second selected subset of the serial ports and not to a deselected subset of the serial ports. The audio data remains in a serial format throughout the transmission from the first subset of serial ports to the second subset of serial ports. The serial data controller in accordance with the present invention allows point-to-point communications between multiple processors and multiple devices. The sources, and/or destinations, of serial data can freely share serial devices in a standard configuration as well as dynamically creating (and/or disconnecting) networks of multiple serial devices. Also, any source/destination of data can access any serial device. For example, one source of data can send the data to multiple devices via a host port, and one source can send data to one device and receive data from another device. In addition, connectivity between devices and data sources/destinations can be modified through programming. Further, a data source/destination can share data with another source/destination, where the processors of, for example, a multi-processor system are not required to communicate with each other, as in the prior art, in order for the data to be shared. FIG. 2 illustrates, in block diagram form, a data processing system 30 in accordance with the present invention. Data processing system 30 includes a clock domain 32 and a clock domain 34. Domain 32 includes a processor 70 coupled to a bus 71. Processor 70 generates a system clock for timing operations of processor 70 and the peripherals attached to processor 70. Memory 72, serial device 74, and serial device 76 are each coupled to bus 71. Clock domain 34 includes a processor 80 coupled to a bus 81. A serial device 82 and a memory 84 are coupled to bus 81. Processor 80 also generates a system clock for timing operations of processor 80 and the peripherals attached to processor 80. The system clock of processor 70 may, or may not, have the same clock frequency, phase, and duty cycle as the system clock of processor 80. In the illustrated embodiment, clock domain 32 is bi-directionally coupled to clock domain 34. Processors 70 and 80 may each be one of many different processor, or processor central processing units (CPU), types that are used in integrated circuit data processing systems, such as a digital signal processor (DSP), a reduced instruction set computer (RISC) processor, or the like, depending on which processor type best suits the particular applications. Still referring to FIG. 2, a serial data controller 36 includes a plurality of ports 50, 52, 54, 56, 58, 60, and 62, labeled "PORT 1" through "PORT 7", respectively. Each of ports 50, 52, 54, 56, 58, 60 and 62 can be coupled to one of the other ports via a switching matrix 64. A control circuit 66 and a plurality of control registers 68 are used to configure and control the plurality of ports. The plurality of control registers 68 includes a plurality of user programmable bits, or bit fields, used to control the operation of serial data controller 36. In the illustrated embodiment, control circuit 66 and the plurality of control registers 68 are bi-directionally coupled to bus 71 to allow resources of domain 32, such as processor 70, to control the data pathways of serial data controller 36. In another embodiment, control circuit 66 and the plurality of control registers 68 may be bi-directionally coupled to bus 71 , bus 81 , or both bus 71 and bus 81. Ports 50, 52, and 54 are characterized as host ports and ports 56, 58, 60, and 62 are characterized as peripheral ports. Host ports and peripheral ports can both send and receive data as well as be the master of the data flow, by providing clock timing as synchronization, if so desired. Host port 50 is bi- directionally coupled to serial device 74 of domain 32 and is described in more detail in the discussion of FIG. 3. Likewise, port 52 is bi-directionally coupled to serial device 76, port 54 is bi-directionally coupled to serial device 82, port 56 is bi-directionally coupled to a serial device 40, port 58 is bi-directionally coupled to a serial device 42, port 60 is bi-directionally coupled to a serial device 44, and port 62 is bi-directionally coupled to a serial device 46. Peripheral port 7 will be described in more detail in the discussion of FIG. 4. In the illustrated embodiment, the serial devices are for receiving or providing serial audio data. In other embodiments, the serial devices may be used for other types of serial data. As mentioned above, serial data controller 36 includes two types of ports. Ports 50, 52, and 54 are similar to each other and are designated as "host" ports, and ports 56, 58, 60, and 62 are similar to each other and are designated as "peripheral" ports. A host port differs from a peripheral port in that the host ports include network mode logic (see FIG. 6). Also, a host port can receive data from multiple sources when operating in "network mode", whereas peripheral ports cannot. Data can be transmitted between a host port and a host port or a peripheral port, from a peripheral port to another peripheral port, or from a host port to more than one of the other ports. In operation, serial data controller 36 allows for selectable control of serial communication data paths between any of ports 50, 52, 54, 56, 58, 60, and 62 via switching matrix 64. Serial data controller 36 can dynamically connect and/or disconnect a network of serial devices through the data paths of serial data controller 36. For example, serial device 74 of clock domain 32 may communicate serial data via port 50 and any other port in data processing system 30. The data paths are selected or deselected using control circuitry 66 and control registers 68. In network mode, a host port can communicate with more than one host and/or peripheral port. Communications between the host port and the networked peripheral ports is on a time-slotted basis. Network mode is defined as a time-division multiplexed protocol mode for sending unique serial data from a host port to one or more other ports using a time-slotted frame. In network mode, both master-slave and slave-slave communication can take place. FIG. 3 illustrates, in block diagram form, host port 50 of FIG. 2. Host ports 52 and 54 are similar to host port 50. Host port 50 includes clock and frame sync selector 90, transmit (TX)/ receive (RX) data reversal logic 92, and receive data and network mode logic 94. Each of clock and frame synchronization selector 90, TX/RX data reversal logic 92 and receive data and network mode logic 94 have inputs for receiving control signals from control registers 68. Clock and frame sync selector 90 has a plurality of inputs for receiving clock (CLK) and frame synchronization (FS) signals labeled "CLK/FS FROM PORT 2" to "CLK/FS FROM PORT 7" from each of the other ports. CLK and FS selector 90 includes a plurality of outputs for providing a plurality of CLK and FS signals labeled "PORT 1 CLK/FS to PORTS 2 - 7" to inputs of the CLK and FS selectors of the other ports. In addition, clock and frame synchronization selector 90 includes an I/O terminal labeled "TX CLOCK", an I/O terminal labeled "RX CLOCK", an I/O terminal labeled "TX FRAME SYNC", and an I/O terminal labeled "RX FRAME
SYNC". Depending on which device is serving as a master device, the clock and frame synchronizing signals can be generated and provided by any of the ports. As illustrated, CLK and FS selector 90 provides the clock and frame synchronizing signals to input terminals of serial device 74. TX/RX data reversal logic 92 is bi-directionally coupled to serial device
74 for communicating serial data signals labeled "TX/RX DATA" and "RX/TX DATA". An output of TX/RX data reversal logic 92 is for providing data signals labeled "PORT 1 TX DATA TO PORTS 2 - 7" to any other selected port of data processing system 30. An input of TX/RX data reversal logic 92 is for receiving a data signal labeled "SELECTED RX DATA" from an output of receive data and network mode logic 94, and an input of TX/RX data reversal logic 92 is for receiving an output buffer enable signal from receive data and network mode logic 94 labeled "SELECTED OBE". Receive data and network logic 94 includes a plurality of input terminals from receiving data labeled "RX DATA FROM PORTS 2 - 7", and a plurality of input terminals for providing a plurality of enable signals labeled "RX OBE FROM PORTS 2 - 7". TX/RX data reversal logic 92 will be described in more detail in the discussion of FIG. 5, and receive data and network mode logic 94 will be described in more detail in the discussion of FIG 6. Host port 50 can be configured as a four-wire or six-wire interface. When configured as a synchronous four- wire interface, the clock and frame sync signals are made available on TX CLOCK and TX FRAME SYNC. When configured as an asynchronous six-wire interface, transmit clock and frame sync signals are made available on TX CLOCK and TX FRAME SYNC and receive clock and frame sync signals are made available on RX CLOCK and RX FRAME SYNC. TX/RX reversal logic 92 is used to provide flexibility in supporting network mode configurations by allowing the TX/RX DATA and the RX/TX DATA lines to be swapped so that mastership of the serial data path can be passed between multiple external devices coupled to a single host or peripheral port. Receive data and network mode logic 94 is used to support the network modes. FIG. 4 illustrates, in block diagram form, one embodiment of the peripheral port 62 of FIG. 2. Peripheral port 62 is similar to host port 50 except that peripheral port 62 does not include the logic necessary for supporting network mode as a master. Port 62 includes clock and frame synchronizer selector 96, TX/RX data reversal logic 98, and receive data logic 100. Each of clock and frame synchronizer selector 96, TX/RX data reversal logic 98 and receive data and network mode logic 100 have inputs for receiving control signals from control registers 68. Clock and frame sync selector 96 is similar to clock and frame synchronizer 90, and has a plurality of inputs for receiving clock (CLK) and frame synchronizer (FS) signals labeled "CLK/FS FROM PORT 1" to "CLK/FS FROM PORT 6" from each of the other ports. Also, CLK and FS selector 96 includes a plurality of outputs for providing a plurality of CLK and FS signals labeled "PORT 7 CLK/FS to PORTS 1 - 6" to inputs of the CLK and FS selectors of the other ports. In addition, clock and frame synchronizer selector 96 includes an I/O terminal labeled "TX CLOCK", an I/O terminal labeled "RX CLOCK", an I/O terminal labeled "TX FRAME SYNC", and an I/O terminal labeled "RX FRAME SYNC" to or from a serial device coupled to port 62 such as serial device 46. Depending on which device is serving as a master device, the clock and frame synchronization signals can be generated and provided by any of the ports. As illustrated, CLK and FS selector 96 provides the clock and frame synchronization signals to input terminals of serial device 46. TX/RX data reversal logic 98 is bi-directionally coupled to serial device
46 for communicating serial data signals labeled "TX/RX DATA" and "RX/TX DATA". An output of TX/RX data reversal logic 98 is for providing data signals labeled "PORT 7 TX DATA TO PORTS 1 - 6" to any other selected port of data processing system 30. An input of TX/RX data reversal logic 98 is for receiving a data signal labeled "SELECTED RX DATA" from an output of receive data logic 100, and an input of TX/RX data reversal logic 98 is for receiving an output buffer enable signal from receive data logic 100 labeled "SELECTED OBE". Receive data logic 100 includes a plurality of input terminals from receiving data labeled "RX DATA FROM PORTS 1 - 6", and a plurality of input terminals for providing a plurality of enable signals labeled "RX OBE FROM PORTS 1 - 6". TX/RX reversal logic 98 is used to provide flexibility in supporting network mode configurations by allowing the TX/RX DATA and the RX/TX DATA lines to be swapped so that mastership of the serial data path can be passed between multiple external devices coupled to a single host or peripheral port. FIG. 5 illustrates, in partial block diagram form and partial logic diagram form, TX/RX data reversal logic 92 of FIG. 3 in more detail. TX/RX data reversal logic 92 includes multiplexer 102, decoders, or demultiplexers, 104 and 106, and buffer circuits 108 and 110. Multiplexer 102 has a first input terminal for receiving TX/RX DATA from serial device 74, a second input terminal for receiving RX/TX DATA from serial device 74, an output terminal for providing either the RX/TX DATA or the TX/RX DATA from serial device 74 to a selected one or more of PORTS 2 - 7 depending on the logic state of a control signal provided by control registers 68 to a control terminal of multiplexer 102. Decoder 104 has an input terminal for receiving SELECTED RX DATA from receiving data and network mode logic 94, a first output terminal coupled to an input of buffer circuit 108, and a second output terminal coupled to an input of buffer circuit 110, and a control terminal for receiving a control signal from control registers 68. Depending on the logic state of the control signal, the SELECTED RX DATA is provided to either one of buffer circuits 108 and 110. Buffer circuit 108 has an output terminal for providing buffered RX/TX DATA to serial device 74, and buffer circuit 110 has an output terminal for providing buffered TX/RX DATA to serial device 74. Accordingly, decoder 106 has an output terminal coupled to a control input of buffer circuit 108 and an output terminal coupled to a control input of buffer circuit 110, for providing the output enable signal SELECTED OBE to the appropriate one of buffer circuits 108 or 110 in response to a control signal from control registers 68. TX/RX data reversal logic 92 is used to "reverse" or swap which of the RX/TX DATA or TX/RX DATA terminals communicates data. As indicated in FIG. 5, when TX DATA is to be provided from serial device 74 to a selected one or more of the other ports, a predetermined control bit from control registers 68 controls which of the first or second input terminals of multiplexer 102 provides the TX DATA from the RX/TX DATA path or the TX/RX DATA path to serial device 74. Also, if data is to be received from a selected one of the other ports, a predetermined control bit from control registers 68 determines which of the first or second output terminals of decoder 104 is selected to provide the data to one the RX/TX DATA or TX/RX DATA via one of buffer circuits 108 or 110. Concurrently with the operation of decoder 104, decoder 106 provides a select signal to the appropriate one of buffer circuits 108 or 110 as determined by the control registers 68. Note that the TX/RX data reversal logic 98 of FIG. 4 is similar to TX/RX data reversal logic 92. FIG. 6 illustrates, in logic diagram form, receive data and network mode logic 94 of FIG. 3 in more detail. Receive data and network mode logic 94 includes multiplexers 120, 122, 124, 126, 128, 130, 134, 136, 138, and 140, and AND logic gate 132. Each of multiplexers 120, 122, 124, 126, 128, and 130 have a first input terminal coupled to receive a logic "one", and a second input terminal coupled to receive RX DATA from one of ports 2 - 7. A control terminal of each of multiplexers 120, 122, 124, 126, 128, and 130 is coupled to receive a network mode mask signal from control registers 68. An output of each of multiplexers 120, 122, 124, 126, 128, and 130 is coupled to an input of AND logic gate 132. Multiplexer 134 has a plurality of input terminals, each of the plurality of input terminals coupled to receive RX DATA from one of the other ports. Multiplexer 134 provides one of the RX DATA signals from one of the other ports to an output terminal of multiplexer 134 depending of a STATIC PORT SELECT signal from control registers 68. Likewise, multiplexer 136 has a plurality of input terminals, each of the plurality of input terminals coupled to receive output buffer enable signal RX OBE from one of the other ports. In response to the STATIC PORT SELECT signal, multiplexer 136 provides the SELECTED OBE signal to determine which buffer circuit of TX/RX data reversal logic 92 will be enabled to provide the SELECTED RX DATA from multiplexer 140. Multiplexer 138 may be optionally included in received data and network mode logic 94, and has a first input terminal coupled to receive RX DATA from port 62 (PORT 7), a second input terminal coupled to the output terminal of multiplexer 134, a control terminal coupled to receive a DYNAMIC PORT SELECT signal and an output terminal. Multiplexer 140 has a first input terminal coupled to the output terminal of AND logic gate 132, a second input terminal coupled to the output terminal of multiplexer 138, and a third input terminal coupled to the output terminal of multiplexer 134. Multiplexer 140 provides the SELECTED RX DATA via one of its three input terminals in response to a control signal labeled "RECEIVE MODE [1:0]" from control registers 68. Each of the host ports 50, 52, and 54 (FIG. 2) include the receive data and network mode logic 94 to determine which data lines from the other ports are used to create the SELECTED RX DATA line for the host port 50, 52, or
54. In a non-network mode of operation, control signal RECEIVE MODE [1:0] = 0:0, and host port 50 is coupled in a point-to-point arrangement to receive data from one other selected port. For example, if host port 50 is to communicate with, for example, peripheral port 62, host port 50 is connected to serial device 74 of domain 32 processor 70 provides control information to control block 66 and to control registers 68. A data path is created from serial device 46 to serial device 76 through receive data logic 94 and TX/RX data reversal logic 92 of port 50. Clock and frame synchronization information is communicated to clock and frame sync selector 90. From port 62, the data will be transmitted to port 50 via switching matrix 64, which in one embodiment includes "cross-bar" logic. The data is received at port 50 via multiplexers 134 and 140 of receive data and network mode logic 94 (FIG. 6). The SELECTED RX DATA is provided to TX/RX data reversal logic 92 (FIG. 5) and outputted to serial device 74 via one of RX/TX DATA or TX/RX DATA. A peripheral port can communicate with another peripheral port. In one case, one peripheral port is configured as a master and provides the clock and frame synchronization signals to the other peripheral port. In another case, both peripheral ports are configured as slave ports but with routing established from peripheral port to peripheral port by another port that provides the frame synchronization and clock timing. A host port can communicate with another host port to provide a path for synchronous interprocessor communication. In one network mode of operation, cpntrol signal RECEIVE MODE [1:0] = 0: 1, and host port 50 is coupled in a point-to-multi-point mode of operation. In the illustrated embodiment, control signal RECEIVE MODE [1:0] is a bit field of control registers 68. Referring to FIG. 6, the output of AND logic gate 132 is routed through multiplexer 140 to provide the SELECTED RX DATA to serial device 74. The NETWORK MASK MODE signals from control registers 68 selects the transmit signals of the ports that are to be connected in network mode. The transmit signals received at the RX DATA inputs of multiplexers 120, 122, 124, 126, 128, and 130 are ANDed together by AND logic gate 132 to from the SELECTED RX DATA. Only one of the ports 2 - 7 transmit data in a predetermined time-slot. All of the other ports remain at a logic high, or a logic "1" tristated, or "pulled-up" state during that time slot. Hence, non-active signals in the selection will be high and do not influence the output of AND logic gate 132. In another, optional network mode of operation, control signal RECEIVE MODE [1:0] = 1:0. This network mode uses optional multiplexer to synchronously select RX DATA signals from port 7 and one other selected port. In the optional network mode, control signal DYNAMIC PORT SELECT is generated using clock and frame synchronization timing signals to produce timing indicating the active time slots for the two ports. FIG. 7 is a timing diagram of various signals of receive data and network mode logic 94 of FIG. 6. FIG. 7 is provided to illustrate one example of a network mode of operation. Prior to time TO a frame synchronization signal from, for example, clock and frame synchronization selector 90 is used to start a data transfer from two or more of ports 52, 54, 56, 58, 60, and 62 to port 50. The RX DATA is transmitted in timeslots such as time slots 0 and 1. In the illustrated embodiment, three bits of data are transmitted per timeslot. For example, timeslot 0 may be used by port 7 and timeslot 1 may be used by port 6. Other timeslots, not shown, may be used by other selected ports. The ports that are active in the network are determined by the NETWORK MODE MASK signal from control registers 68. Note that the arrows indicate that the data is transmitted on the rising edges of the CLOCK signal. In another mode, the data may be transmitted on the falling edges of the CLOCK signal. The three bits of data of timeslot 0 are transmitted at times TI, T2, and T3. The three bits of data of timeslot 1 are transmitted at times T4, T5, and T6. Serial data controller 36 provides several advantages over the prior art. For example, with serial data controller 36 there is no need from parallel-to- serial or serial-to-parallel data conversions. Also, multiple data rates can be accommodated on different data paths. In addition, serial data controller 36 provides separate transmit and receive clock rates and data paths. In addition, data is only sent to those devices that require data, thereby saving power and providing a more secure system than the prior art. Various changes and modifications to the embodiments herein chosen for purposes of illustration will readily occur to those skilled in the art. For example, variations in the types of conductivities of transistors, the types of transistors, etc. may be readily made. To the extent that such modifications and variations do not depart from the scope of the invention, they are intended to be included within the scope thereof, which is assessed only by a fair interpretation of the following claims.

Claims

CLAIMS What is claimed is:
1. An apparatus comprising: at least three serial devices;
5 a serial data controller comprising: at least three serial ports, each serial device being coupled to one of the serial ports; and a plurality of data paths including at least a first data path and a second data path, each data path having a first end portion0 coupled to one of the serial ports and a second end portion coupled to another one of the serial ports, a first one of the serial ports being coupled to a second one of the serial ports via the first data path and to a third one of the serial ports via the second data path; and5 control circuitry for dynamically selecting one or more of the data paths for transmission of serial data from a transmitting serial device to a selected subset of the serial devices and not to a deselected subset of the serial devices, wherein the data remains in a serial format throughout the transmission from the o transmitting serial device to the selected serial devices.
2. The apparatus of claim 1 wherein the at least three serial devices are comprised within at least two integrated circuits.
3. The apparatus of claim 1 wherein a first serial port comprises: timing selector logic coupled to receive and transmit message timing signals 5 corresponding to messages sent from each of the serial devices; receive data logic for receiving serial data from each other serial port and for selecting serial data from one of the other serial ports; and data reversal logic coupled to receive the selected serial data from the receive data logic and coupled to receive and provide serial data from and to a first serial device coupled to the first serial port.
4. The apparatus of claim 3 wherein the receive data logic comprises: a receive data selection circuit coupled to receive a serial data signal from each of the other serial ports and coupled to provide a selected one of the serial data signals; and a buffer enable selection circuit coupled to receive a buffer enable signal from each of the serial ports of the serial data controller and for providing a selected buffer enable signal to the data reversal logic of the corresponding serial port.
5. The apparatus of claim 4 wherein the apparatus further comprises network mode logic, the network mode logic comprising: a plurality of control registers coupled to provide at least one network mode mask control signal to the network mode logic; and a network mode selection circuit coupled to receive the serial data signals from the other serial ports and coupled to provide a selected one of the serial data signals under control of the at least one network mode mask control signal.
6. The apparatus of claim 5 wherein the receive data logic further comprises: a multiplexer coupled to receive the selected serial data signal from the network mode logic at a first input, the selected serial data signal from the receive data selection circuit at a second input, a receive mode control signal at a control input to select an output signal depending on an indication of whether the serial data is being transmitted in network mode or in a point-to-point mode.
7. A method of processing serial data in a time-division-multiplexed network mode in a system comprising a plurality of serial data sources and a serial data controller coupled to each of the serial data sources, the method comprising at least one of the following steps: dynamically selecting at least one of the serial data sources for participation in a time division multiplexed network; and dynamically deselecting at least one of the serial data sources from participation in the time-division-multiplexed network.
8. The method of claim 7 further comprising the steps of: dynamically selecting a clock master device from among the serial data sources; and dynamically selecting a frame synchronization master device from among the serial data sources.
9. The method of claim 7 further comprising the step of dynamically selecting a network master from among the serial data sources.
10. The method of claim 7 further comprising the step of transmitting serial data from a first serial data source to a second serial data source without submitting a request from the first serial data source to a third serial data source.
PCT/US2004/032254 2003-10-10 2004-09-30 Data processing system having a serial data controller WO2005038571A2 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
US10/683,778 2003-10-10
US10/683,778 US7047350B2 (en) 2003-10-10 2003-10-10 Data processing system having a serial data controller

Publications (2)

Publication Number Publication Date
WO2005038571A2 true WO2005038571A2 (en) 2005-04-28
WO2005038571A3 WO2005038571A3 (en) 2005-12-01

Family

ID=34422828

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/US2004/032254 WO2005038571A2 (en) 2003-10-10 2004-09-30 Data processing system having a serial data controller

Country Status (3)

Country Link
US (1) US7047350B2 (en)
TW (1) TWI354895B (en)
WO (1) WO2005038571A2 (en)

Families Citing this family (18)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2005135269A (en) * 2003-10-31 2005-05-26 Toshiba Corp Electronic equipment
US20050136992A1 (en) * 2003-12-23 2005-06-23 Mueller Peter D. Providing access to auxiliary hardware in multiprocessor devices
US8565345B2 (en) * 2005-10-04 2013-10-22 Hypres Inc. Oversampling digital radio frequency transmitter
US8462889B2 (en) 2005-10-04 2013-06-11 Hypres, Inc. Oversampling digital receiver for radio-frequency signals
GB2444191B (en) * 2005-11-26 2008-07-16 Wolfson Microelectronics Plc Audio device
KR101201317B1 (en) * 2005-12-08 2012-11-14 엘지디스플레이 주식회사 Apparatus and method for driving liquid crystal display device
CN200976109Y (en) * 2006-10-20 2007-11-14 东莞东城威仪塑胶电子制品厂 Reciprocating object control system
US7542365B2 (en) 2007-09-27 2009-06-02 Freescale Semiconductor, Inc. Apparatus and method for accessing a synchronous serial memory having unknown address bit field size
JP5346978B2 (en) * 2011-04-15 2013-11-20 シャープ株式会社 Interface device, wiring board, and information processing device
JP5346979B2 (en) * 2011-04-18 2013-11-20 シャープ株式会社 Interface device, wiring board, and information processing device
US9026253B2 (en) 2011-11-22 2015-05-05 Honeywell International Inc. Building controller with operating system interaction through an integrated display
US8775714B2 (en) 2012-01-30 2014-07-08 Infineon Technologies Ag System and method for a bus interface
TWI477120B (en) * 2012-11-13 2015-03-11 Askey Computer Corp Signal expansion selection device
JP2015043170A (en) * 2013-08-26 2015-03-05 株式会社東芝 Interface circuit and system
CN103984659B (en) * 2014-05-15 2017-07-21 华为技术有限公司 The method and apparatus that timesharing uses serial ports
US11100963B1 (en) * 2020-07-22 2021-08-24 Elite Semiconductor Microelectronics Technology Inc. Data first-in first-out (FIFO) circuit
CN112199316B (en) * 2020-10-10 2024-01-05 海尔海斯(西安)控制技术有限公司 Configuration method and communication method of chain-type master-slave serial port communication device
US11451233B2 (en) * 2020-11-20 2022-09-20 Stmicroelectronics International N.V. Pulse width modulator with reduced pulse width

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6188686B1 (en) * 1996-08-14 2001-02-13 Fujitsu Limited Switching apparatus
US6760328B1 (en) * 1999-10-14 2004-07-06 Synchrodyne Networks, Inc. Scheduling with different time intervals

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US4736362A (en) 1985-07-26 1988-04-05 Advanced Micro Devices, Inc. Programmable data-routing multiplexer
US5596578A (en) 1993-10-04 1997-01-21 Fostex Corporation Of America Time division multiplexing data transfer system for digital audio data distribution
US5796733A (en) * 1996-07-03 1998-08-18 General Signal Corporation Time division switching system
US6377575B1 (en) * 1998-08-05 2002-04-23 Vitesse Semiconductor Corporation High speed cross point switch routing circuit with word-synchronous serial back plane
US7720515B2 (en) 2001-05-24 2010-05-18 Qualcomm Incorporated Apparatus and method for reducing power consumption in a mobile unit

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6188686B1 (en) * 1996-08-14 2001-02-13 Fujitsu Limited Switching apparatus
US6760328B1 (en) * 1999-10-14 2004-07-06 Synchrodyne Networks, Inc. Scheduling with different time intervals

Also Published As

Publication number Publication date
US20050080975A1 (en) 2005-04-14
WO2005038571A3 (en) 2005-12-01
TWI354895B (en) 2011-12-21
TW200525914A (en) 2005-08-01
US7047350B2 (en) 2006-05-16

Similar Documents

Publication Publication Date Title
US7047350B2 (en) Data processing system having a serial data controller
US6128317A (en) Transmitter and receiver supporting differing speed codecs over single links
CN104981790A (en) Multi-slot multi-point audio interface
KR20160084408A (en) System and method of sending data via additional secondary data lines on a bus
JPH0758881A (en) Computer system
US6178180B1 (en) Communications adapter for processing ATM and ISDN data
EP0836358B1 (en) Time-slot allocation method in a TDM communication system
WO2013154558A1 (en) Reconfiguration of an optical connection infrastructure
JP2006304011A (en) Interface circuit
EP2816791B1 (en) Multi-path speech signal multiplexing circuit, equipment and method
WO1997041700A1 (en) Signal concentrator for connection between cellular telephone and associated accessories
US7940708B2 (en) PCM type interface
US6628656B1 (en) Circuit, method and/or architecture for improving the performance of a serial communication link
KR100486546B1 (en) Highway expansion apparatus for key phone system and operation method thereof
JPH0338197A (en) Multi-media exchange system
EP1074119B1 (en) Method and arrangement related to synchronous switching
JP2001086135A (en) Interface card configuration system
JPH04372241A (en) Transmitter
KR100271601B1 (en) A high-speed paging transmitter controller for single channel
US5995616A (en) Apparatus for communication between a telephone exchange and connected telephone sets
KR0129612B1 (en) Apparatus for the con of hardware component of concentrated b-nt system
KR20000047242A (en) Data communication device between main processor and subprocessors
US20030118165A1 (en) Highway expansion apparatus for key telephone system and operation method thereof
JP2001057689A (en) Multi-direction time division multiplex communication system intermingled with wired and wireless channels
JPS63180235A (en) Time division multiplexer

Legal Events

Date Code Title Description
AK Designated states

Kind code of ref document: A2

Designated state(s): AE AG AL AM AT AU AZ BA BB BG BR BW BY BZ CA CH CN CO CR CU CZ DE DK DM DZ EC EE EG ES FI GB GD GE GH GM HR HU ID IL IN IS JP KE KG KP KR KZ LC LK LR LS LT LU LV MA MD MG MK MN MW MX MZ NA NI NO NZ OM PG PH PL PT RO RU SC SD SE SG SK SL SY TJ TM TN TR TT TZ UA UG US UZ VC VN YU ZA ZM ZW

AL Designated countries for regional patents

Kind code of ref document: A2

Designated state(s): BW GH GM KE LS MW MZ NA SD SL SZ TZ UG ZM ZW AM AZ BY KG KZ MD RU TJ TM AT BE BG CH CY CZ DE DK EE ES FI FR GB GR HU IE IT LU MC NL PL PT RO SE SI SK TR BF BJ CF CG CI CM GA GN GQ GW ML MR NE SN TD TG

121 Ep: the epo has been informed by wipo that ep was designated in this application
122 Ep: pct application non-entry in european phase