Abstract:
A system for testing an overall system employing an integrated circuit with a modulator thereon is disclosed. The system for testing includes structure for causing the modulator to continually transmit data and structure for causing the continually transmitted data to exhibit extreme frequency deviation. In both instances the structure may be a single register. This register may also include a set of bits that may be set to select a continuous or an alternating pattern or, stated another way, a maximum or a minimum peak frequency deviation.

Description:
This application is a continuation of Application No. 07/918,626, filed Jul. 21, 1992 now abandoned. 
    
    
     CROSS REFERENCE TO RELATED APPLICATIONS 
     This application is related to the following U.S. Patent Applications which are hereby incorporated by reference herein: 
     &#34;General I/O Port Interrupt Mechanism&#34;, U.S. patent application Ser. No. 07/917,497, now U.S. Pat. No. 5,448,743; &#34;Improved External Memory Access Control for a Processing Unit&#34;, U.S. patent application Ser. No. 07/917,489, now U.S. Pat. No. 5,408,639. &#34;Method Of Weak Pull-Up Disable And Mechanism Therefore For Use With A Microcontroller in Integrated Circuit and Cordless Telephone Using The Integrated Circuit&#34;, U.S patent application Ser. No. 07/917,488 (pending); &#34;Interupt Mask Disable Circuit And Method&#34;, U.S. patent application Ser. No. 08/346,834 (notice of allowance received and issue fee paid awaiting Patent Number); &#34;Integrated Circuit and Cordless Telephone Using The Integrated Circuit&#34;, U.S. patent application Ser. No. 07/918,627 (allowed); &#34;Keypad Scanner Process and Device and Cordless Telephone Employing The Mechanism&#34;, U.S. patent application Ser. No. 08/464,072, now U.S. Pat. No. 5,512,893; &#34;Serial Interface Module and Method&#34;, U.S. patent application Ser. No. 07/918,624, now U.S. Pat. No. 5,404,459; &#34;Low Power Emergency Telephone Mode&#34;, U.S. patent application Ser. No. 08/320,778, now U.S. Pat. No. 5,495,530; &#34;In-Circuit Emulation Capability Mode in Integrated Circuit And Cordless Telephone Using The Integrated Circuit&#34;, U.S. patent application Ser. No. 08/387,389; &#34;Clock Generator Capable of Shut-down Mode and Clock Generation Method&#34;; U.S. patent application Ser. No. 08/201,077, now U.S. Pat. No. 5,502,689; and &#34;Signal Averager&#34;, U.S. patent application Ser. No. 07/918,621, now U.S. Pat. No. 5,420,904.&#34; 
     All of the related applications are filed on even date herewith, are assigned to the assignee of the present invention, and are hereby incorporated herein in their entirety by this reference thereto. 
     BACKGROUND OF THE INVENTION 
     1. Field of the Invention 
     The present invention generally relates to processing systems for testing products including a modulator. More particularly, the present invention relates to systems for testing products that manipulate digital data and that include an I/Q modulator. 
     2. Description of Related Art 
     As is well known to those skilled in the art, data may be transmitted using a carrier signal via a modulation process. Modulation processes involve the encoding of source data onto a carrier signal. During modulation, one or more of three fundamental frequency-domain parameters--that is, amplitude, frequency, and phase--is or are operated upon. 
     A distinction must be made between analog and digital data and analog and digital signals. Viewing modulation processes broadly, four different combinations are possible: (1) digital data may be encoded into a digital signal; (2) digital data may be encoded into an analog signal; (3) analog data may be encoded into a digital signal; and (4) analog data may be encoded into an analog signal. There are various reasons why one combination may be preferred over the others in a particular situation. For example, with respect to the combination most relevant to the discussion herein, the combination of encoding digital data into an analog signal, it is often used because certain equipment processes digital data but some transmission media, such as optical fiber and the unguided media, will only propagate analog signals. One of the most familiar uses of the digital data to analog signal transformation revolves around the transmission of digital data through the public telephone network, which was designed to receive, switch, and transmit analog signals in the voice-frequency range of about 300 to 3400 Hz. 
     As previously mentioned, modulation involves operation on one or more of three characteristics of a carrier signal. Those three characteristics are amplitude, frequency and phase. Not surprisingly, therefore, there are three basic modulation techniques for encoding digital data into analog signals: amplitude-shift keying (ASK) hereinafter; frequency-shift keying (FSK) hereinafter; and phase-shift keying (PSK) hereinafter. 
     The FSK modulation technique, the one most immediately relevant, involves representing the two binary values by two different frequencies near the carrier frequency. Typically, the two different frequencies are offset from the carrier frequency by equal but opposite amounts. FSK is commonly used on voice grade lines up to 1200 bps. FSK is also often used for high-frequency (e.g., 3 to 30 MHz) radio transmission. 
     Another concept relevant to the present invention is quadrature modulation. Quadrature modulation, which is a process well known to those skilled in the art, is the modulation of two carrier components 90 degrees apart in phase by separate modulating functions. Quadrature modulation has become a popular technique for more efficiently using bandwidth by having each signalling element represent more than one bit. 
     Still yet another concept relevant to the present invention is the concept of ensuring output signal quality of a particular signal processing product is high. Although the desirability of having high output signal quality of such a product is self-evident, there has not heretofore been developed a commercially viable, virtually foolproof method of verifying output signal quality that can be built into such products themselves. Stated another way, heretofore transmitters and the like have not been enabled to produce certain patterns designed to facilitate testing at the system level. Having a build in &#34;tester&#34;, if you will, is desirable as it is readily accessible. However, there has not yet been developed such a &#34;tester&#34; simple and inexpensive enough to allow it to be incorporated into a commercial product. It should be readily apparent based upon the foregoing that the lack of such an output signal content verifier or tester is a shortcoming and deficiency of the prior art. 
     SUMMARY OF THE INVENTION 
     The present invention overcomes the shortcoming and deficiency mentioned above by providing a system for testing an overall system employing an integrated circuit with a modulator thereon. The system for testing includes structure for causing the modulator to continually transmit data and structure for causing the continually transmitted data to exhibit extreme frequency deviation. In both instances the structure may be a single register. This register may also include a set of bits that may be set to select a continuous or an alternating pattern or, stated another way, a maximum or a minimum peak frequency deviation. 
     The present invention also overcomes the shortcoming and deficiency of the prior art mentioned above by providing a method for testing an overall system employing an integrated circuit with a modulator thereon. The method for testing includes the step of causing the modulator to continually transmit data, and the step of causing the continually transmitted data to exhibit extreme peak frequency deviation. In embodiments of the method according to the teachings of the present invention, both steps may be performed by a register. As in the system according to the teachings of the present invention, this register may include a set of bits that may be set to select a continuous or an alternating pattern or, stated another way, a maximum or a minimum peak frequency deviation. 
     Accordingly, it is an object of the present invention to provide an on-chip I/Q modulator having the capacity to output special data sequences. 
     Another object of the present invention is to provide a simple system and method for testing overall systems that employ a particular integrated circuit. 
     Yet another object of the present invention is to provide a system and method for generating test modes that enable or facilitate factory testing of units that include a special integrated circuit. 
    
    
     BRIEF DESCRIPTION OF THE DRAWINGS 
     For a more complete understanding of the present invention, and for further objects and advantages thereof, reference may now be made to the following detailed description taken in conjunction with the accompanying drawings wherein: 
     FIG. 1 is a block diagram of a transmit modulator including a test mode subsystem according to the teachings of the present invention; 
     FIG. 2 depicts desirable ramp up and ramp down functions for the transmit modulator depicted in FIG. 1; 
     FIG. 3 is a block diagram of a register that may be employed in embodiments of the present invention; 
     FIG. 4 is a chart depicting possible bit sequences and output in embodiments of the present invention; 
     FIG. 5 (which consists of FIGS. 5a and 5b) is a block diagram or an integrated circuit (IC) including an embodiment the present invention; 
     FIG. 6 is a block diagram of a handset unit of a cordless telephone into which the IC of FIG. 5 has been installed; and 
     FIG. 7 is a block diagram of a base unit of a cordless telephone into which the IC of FIG. 5 has been installed. 
    
    
     DETAILED DESCRIPTION OF THE INVENTION 
     Referring now to the drawings and, more particularly, to FIG. 1, there is shown a block diagram of a transmit modulator (generally designated by reference numeral 10) including a test mode subsystem according to the teachings of the present invention. In operation, the transmit modulator 10 accepts serial data and converts it to a quadrature pair of single-ended analog outputs. These outputs can then be externally mixed with an (intermediate frequency) hereinafter IF carrier and summed to obtain a desired frequency modulated signal. 
     The heart of the modulator 10 is a look-up Read Only Memory or ROM 12 addressed by a data dependent state machine address generator 14 and followed by a series of synchronizing latches 16. Two identical DAC&#39;s 18, 20 followed by buffers 22, 24 drive the analog outputs 26, 28. 
     As previously mentioned, the transmit modulator 10 includes a test mode capability to simplify spectral measurements. This test mode capability is the focus of the present invention and it is discussed in detail below. Before that discussion, however, set forth are certain details regarding transmit modulator requirements. These requirements are discussed herein, and at this point, to further understanding of an environment in which the present invention may be employed. That understanding should, in turn, facilitate understanding of the structure and operation of embodiments of the present invention. 
     Still further with respect to modulator 10, it should be understood that modulator 10 has been actually constructed and used with great success. Thus, certain specific details regarding the structure and operation of modulator 10 are set forth below. These details should be understood as being exemplary only, and not limiting what may be included or shown in embodiments of the present invention. 
     The modulator outputs, when properly mixed by a mixer with the external IF signal, produce a filtered FSK signal which complies with the CT2-CAI spectral requirements. An external passive single-pole low pass filter at 100 kHz may be disposed between each output and the mixer to reduce spurious emissions. 
     Regarding absolute delay from input to output, in the actually constructed modulator 10, the nominal delay from the time a bit is received at the rising edge of TXCLK to the time the corresponding output frequency trajectory commences is X μs±108 ns+Y ns (digital logic delay X=approximately 14 μs; analog buffer delay Y=approximately 500 ns). Delays to I and Q outputs are identical except for DAC and analog buffer propagation delays. This point is illustrated in FIG. 2, wherein desirable ramp up and ramp down functions for the modulator 10 are shown. 
     With respect to spectral requirements, all spectral requirements apply to I and Q outputs referenced to MREF and filtered by single-pole passive low pass filters with 3 dB frequency at 100 kHz. In the actually constructed embodiment of the modulator 10, all dBV values are based on the assumption that -9 dBV at I and Q yields +10 dBm at the final radio frequency RF output. Adjacent channel power and spurious emissions are measured during constant transmission of pseudorandom data and during constant transmission of data corresponding to an adaptive differential pulse code modulation ADPCM silent code (all 0&#39;s) at the scrambler input of the frame formatter. 
     In the actually constructed modulator 10, op amp power-on and power-off settling times are about 100 μsec maximum. 
     Additional details regarding spectral requirements of the actually constructed modulator 10 are set forth in the chart immediately below. 
     
         ______________________________________MODULATOR SPECTRAL REQUIREMENTSDESCRIPTION      CAI SPECIFICATION______________________________________adjacent channel Spec: Section 4.5.5. -39 dBVpower for random maxdata integratedover ± 40 kHz bandspurious emissions            Spec: Section 4.7.2 -55 dBVbetween 150 kHz and            max2.0 MHzspurious emissions            Spec: Section 4.7.2 -73 dBVabove 2.0 MHz    maxpeak spurs at 100            Spec:Section 4.5.6 -45 dBVkHz during Ping- maxpong switchingpeak spurs at 500            Spec: Section 4.5.6 -79 dBVkHz during Ping- maxpong switching______________________________________ 
    
     As previously mentioned, with regard to ramp up and ramp down requirements, FIG. 2 depicts the desired ramp up and ramp down functions. During the first bit interval after TX Enable goes high, the Q output follows curve 00 from 0 to +1 (full scale) while the I output is force to 0 VAC. The effect of this sequence is that at the external mixer the output is ramped from 0 VAC to full scale at the IF carrier frequency. 
     At the beginning of the transmit mode which follows, the initial phase offset is zero and I and Q outputs depend on the input data pattern. At the end of the transmit burst, the data {k+1} bit, which lies after the transmitted data frame and may be unpredictable, is manipulated in modulator 10 in order to guarantee convergence of the I output to zero at the end of the bit period. The Q output is likewise guaranteed to converge to one of two positions, ± full scale. 
     During the ramp down mode, the I output is held at zero and the Q output goes from its previous value of ± full scale to zero, following curve 00. 
     The Enable --  I and Enable --  Q control bits demonstrate when the respective DAC&#39;s and buffers are enabled (high) or driving zero volts (low). This point is illustrated in FIG. 2. 
     With respect to DAC requirements, in the actually constructed modulator 10, the I and Q outputs are driven through buffers by identical DAC&#39;s updated at 4.608 MHz. 
     Discussing the modulator 10 now functionally, the modulator 10 receives serial input data, dataclock, and a transmit enable signal from other, larger system components. The actual filtering and modulation of the data is performed by mapping the input sequence to one of eight possible output patterns stored in ROM. The selected ROM patterns are then transferred to two D/A&#39;s and buffered by on-chip op amps. 
     The transformation from input data to ROM sequence requires knowledge of the current data bit, the previous data bit, and the next data bit; as a result, there is at least a one bit delay when going through the modulator. 
     A test mode is provided that forces continuous transmission for ease in measuring the output spectrum and output power. In the test mode according to the teachings of the present invention, the input data can be forced to all 1&#39;s, all 0&#39;s, or alternating 1/0&#39;s. Once again, further details are set forth later below. 
     With respect to operational modes, the modulator 10 has six modes of operation: 
     Power down. When the TX MODEM ENABLE bit of a Module Enable Control Register 0 is zero, power consumption is reduced because the clocks within the modulator stop and I, Q, and MREF outputs are disabled. 
     Silent. When the TX MODEM ENABLE bit is high but the TX Enable input is low, the modulator clocks stop under set timing constraints and I, Q and MREF analog outputs drive a DC output voltage of approximately VCC/2 with no AC signal. Analog drivers are powered-up in silent mode to reduce power-up/power-down transients during the Ping-pong CT2 protocol. 
     Ramp Up. Every time a burst of data is sent to the modulator, marked by TX Enable going high when the TX MODEM ENABLE bit is high, a one bit-time ramp up sequence occurs to minimize transients from the silent to transmit modes. TXCLK is synchronized to the PLL1152 clock output from associated logic. 
     Transmit. Normal transmission of FSK proceeds after a ramp up when TX Enable and the TX MODEM ENABLE bit are high. Normal transmission may include any even number of data bits. This mode supports the constant transmission necessary for spectrum measurement and test modes. TXCLK is synchronized to the PLL1152 output. 
     Ramp Down. Every time normal transmission ceases, marked by TX Enable going low while the TX MODEM ENABLE bit is high, the modulator completes a one bit-time ramp down sequence to minimize transient noise in the transition from transmit to silent mode. TXCLK is synchronized to the PLL1152 output. 
     Test Modes. Constant 1&#39;s, constant 0&#39;s, or alternating 1&#39;s and 0&#39;s can be transmitted according to the Test Control Register, overriding Silent mode. In test mode, the bit clock is generated by dividing the crystal oscillator frequency to 72 kHz instead of using TXCLK. 
     The normal sequence of modes is Power Down; Silent; Ramp Up; Transmit; Ramp Down; Silent; Ramp Up; Transmit; Ramp Down; Silent; and Power Down. 
     Now, discussing the transmit modulator test mode system and method of the present invention, as previously mentioned, the on-chip I/Q modulator 10 contains the capability to output special data sequences that simplify the testing of systems that employ the IC. In the actually constructed modulator 10 the test mode capability is effected by a Test Control Register, depicted in FIG. 3, and generally designated by reference numeral 30. The actually used register 30 employs 3 bits, has a default of XXXXXXOOO, can be accessed by reads and writes, is set by software, and cleared by software or reset. 
     According to the teachings of the present invention, bits in this register 30 force the modulator 10 to output all ones, all zeros, or to an alternating one zero one zero pattern. These patterns facilitate frequency deviation measurements. In the actually constructed embodiment of the present invention, when the deviation test mode is enabled, the Rx and Tx Enable pins are forced to the transmit state. Additionally, a mode is provided that allows the transmit data pattern to be input directly from the B/D port. 
     Further details regarding each of the bit positions depicted in FIG. 3 follow: 
     BITS 7-3 Reserved--Write operations must write zeros. Reads return an indeterminate value. A read-modify-write operation can write back the read value. 
     BIT 2 Deviation Test Enable--When set, the modulator 10 enters test mode, in which it continually transmits data. Data content is determined by bits [1:0] of the Test Control Register 30. The TX CLK signal is supplied by a conventional crystal oscillator divided down to 72 kHz. The TX Enable, TX CLK, and TX Data inputs from a conventional frame formatter are ignored. The Test Enable bit is forwarded to the frame formatter so that it may control external circuitry through the TX/RX Enable pin. When cleared, the modulator operates normally, accepting TX CLK, TX Enable, and TX DATA from the frame formatter. 
     BITS[1:0] Test Mode [1:0]--When the Deviation Test Enable is high the Test Mode bits select a continuous data transmission pattern. Transmitting static data is intended to generate maximum peak frequency deviation. Transmitting alternating 1&#39;s and 0&#39;s (10101010 . . . ) is intended to generate minimum peak frequency deviation. When transmitting alternating data the first bit sent is a 1. Additionally, a data pattern can be input directly from the B/D port. FIG. 4 depicts bit and output relationships in the actually constructed embodiments of the present invention. 
     To further facilitate development of an appreciation within those skilled in the art of the use of an embodiment of the present invention, set forth in FIG. 5 is a block diagram of an integrated circuit including a transmit modulator or modem 10. FIGS. 5 and 7 show how the IC of FIG. 5 may be incorporated into a cordless telephone handset and base station. All of these FIGS. 5-7 and each element depicted in them are discussed at length in various of these related cases. These FIGS. are significant here, and therefore included herein, because they show how an embodiment of the present invention may be incorporated into an actual commercial product. 
     Based upon the foregoing, those skilled in the art should now fully understand the structure and operation of the present invention. Those persons should also appreciate how the present invention overcomes certain shortcomings and deficiencies of the prior art by providing a built-in tester for a commercial product that processes signals. More specifically, the present invention provides an on-chip I/Q modulator having the capacity to output special data sequences. Embodiments of the present invention can be very simple, and also very effective at verifying the spectral content of output signals of certain commercial products. 
     Obviously, numerous modifications and variations are possible in view of the above teachings. Accordingly, within the scope of the appended claims, the present invention may be practiced otherwise than as specifically described herein.