KR0182183B1 - Mode-changeable audio data output circuit - Google Patents

Mode-changeable audio data output circuit Download PDF

Info

Publication number
KR0182183B1
KR0182183B1 KR1019960058393A KR19960058393A KR0182183B1 KR 0182183 B1 KR0182183 B1 KR 0182183B1 KR 1019960058393 A KR1019960058393 A KR 1019960058393A KR 19960058393 A KR19960058393 A KR 19960058393A KR 0182183 B1 KR0182183 B1 KR 0182183B1
Authority
KR
South Korea
Prior art keywords
mode
bit
signal
audio data
input
Prior art date
Application number
KR1019960058393A
Other languages
Korean (ko)
Other versions
KR19980039373A (en
Inventor
권순구
Original Assignee
삼성전자주식회사
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 삼성전자주식회사 filed Critical 삼성전자주식회사
Priority to KR1019960058393A priority Critical patent/KR0182183B1/en
Publication of KR19980039373A publication Critical patent/KR19980039373A/en
Application granted granted Critical
Publication of KR0182183B1 publication Critical patent/KR0182183B1/en

Links

Classifications

    • HELECTRICITY
    • H03ELECTRONIC CIRCUITRY
    • H03GCONTROL OF AMPLIFICATION
    • H03G5/00Tone control or bandwidth control in amplifiers
    • H03G5/005Tone control or bandwidth control in amplifiers of digital signals
    • HELECTRICITY
    • H03ELECTRONIC CIRCUITRY
    • H03GCONTROL OF AMPLIFICATION
    • H03G5/00Tone control or bandwidth control in amplifiers
    • H03G5/16Automatic control
    • H03G5/165Equalizers; Volume or gain control in limited frequency bands

Landscapes

  • Compression, Expansion, Code Conversion, And Decoders (AREA)

Abstract

이 발명은 모드 변환이 가능한 오디오 데이터 출력 회로에 관한 것으로서, 클럭 신호에 동기시켜 직렬 데이터 형태로 입력되는 n-비트의 오디오 데이터를 1비트씩 래치(Latch)시키기 위한 카운팅 수단과, 상기 n-비트의 오디오 데이터를 하나의 입력으로 받고 상기 카운팅 수단의 최종 출력단 데이터를 다른 하나의 입력으로 받아 선택 신호에 따라서 하나의 입력 데이터를 선택하여 상기 카운팅 수단의 첫번째 입력 단자로 출력하는 제1 선택 수단과, 상기 제1 선택 수단을 제어하기 위한 선택 신호와 상기 카운팅 수단을 제어하기 위한 클럭 신호를 발생시키고 외부로부터 입력되는 모드 선택 신호에 따라 상기 오디오 데이터의 출력 형식을 제어하기 위한 제어 신호, 즉 상기 오디오 데이터를 비트(BIT) 단위로 제어하기 위한 비트 클럭 신호, 워드(WORD) 단위로 제어하기 위한 워드 클럭 신호 그리고 레프트/라이트 채널별로 제어하기 위한 레프트/라이트 클럭 신호를 출력하는 모드 변환 수단과, 상기 모드 선택 신호에 따라서 상기 카운팅 수단에 래치된 오디오 데이터를 선택하기 위한 제2 선택 수단을 포함하여 이루어져 있으며, 사용자가 선택한 모드에 따라서 사용자가 원하는 음질의 오디오 데이터를 들을 수 있도록 한 오디오 데이터 출력 회로에 관한 것이다.The present invention relates to an audio data output circuit capable of mode switching, comprising: counting means for latching n-bit audio data input in serial data form in synchronization with a clock signal by one bit, and the n-bit A first selecting means for receiving audio data of one as an input and receiving final output data of the counting means as another input and selecting one input data according to a selection signal and outputting it to the first input terminal of the counting means; A control signal for generating the selection signal for controlling the first selection means and a clock signal for controlling the counting means and controlling the output format of the audio data according to a mode selection signal input from the outside, that is, the audio data Bit signal to control by bit unit, word unit unit Mode conversion means for outputting a word clock signal for control and a left / right clock signal for control for each left / right channel, and second selection means for selecting audio data latched in the counting means in accordance with the mode selection signal. The present invention relates to an audio data output circuit for allowing a user to listen to audio data of a desired sound quality according to a mode selected by a user.

Description

모드 변환이 가능한 오디오 데이터 출력 회로Audio data output circuit which can change mode

이 발명은 모드 변환이 가능한 오디오 데이터 출력 회로에 관한 것으로서, 더 상세히 말하자면 사용자에 의해 선택된 각 모드(Mode)별로 오디오 데이터의 출력 형식을 다르게 함으로써, 사용자가 원하는 음질의 오디오 데이터를 들을 수 있도록 한 모드 변환이 가능한 오디오 데이터 출력 회로에 관한 것이다.The present invention relates to an audio data output circuit capable of mode conversion. More specifically, the present invention relates to a mode in which a user can listen to audio data of a desired sound quality by changing an output format of audio data for each mode selected by the user. The present invention relates to an audio data output circuit that can be converted.

일반적으로 오디오 데이터가 출력되는 과정을 살펴보면, 아날로그 오디오 신호는 아날로그-디지탈 컨버터(ADC)에 의해서 디지탈 신호로 변환되어 신호 처리기(DSP)로 입력된다. 상기 신호 처리기에서는 음장 조성(sound-field processing) 및 음질 조정(equalization)을 수행하고, 상기 처리가 완료되어 레프트와 라이트 채널(Left/Right Channel)로 출력되는 각 디지탈 신호는 디지탈-아날로그 컨버터(DAC)를 거쳐 다시 아날로그 신호로 변환되어 사용자가 들을 수 있게 된다.In general, referring to a process of outputting audio data, an analog audio signal is converted into a digital signal by an analog-to-digital converter (ADC) and input to a signal processor (DSP). The signal processor performs sound-field processing and sound quality adjustment, and each digital signal outputted through the left and right / right channels after the processing is completed is a digital-to-analog converter (DAC). After conversion, it is converted into an analog signal and can be heard by the user.

그러나 상기와 같은 오디오 데이터 출력 방식에 있어서, 레프트와 라이트 채널로 출력되는 데이터의 형식은 각각 20비트(Bit) 또는 16비트 중 한가지로만 고정되어 출력되도록 설계되어 있다.However, in the audio data output method as described above, the format of the data output through the left and right channels is fixed to only one of 20 bits or 16 bits, respectively.

그러므로, 이와 같은 종래의 데이터 출력 방식에서는 사용자가 자신의 취향에 맞는 음질을 선택할 수 있는 선택도가 떨어진다는 문제점이 있다.Therefore, such a conventional data output method has a problem in that the user has a poor selectivity to select a sound quality according to his or her taste.

따라서 이 발명의 목적은 상기와 같은 종래의 문제점을 해결하기 위한 것으로서, 사용자가 직접 다양한 오디오 데이터의 출력 모드를 선택할 수 있고 선택된 각 모드별로 오디오 데이터의 출력 형식을 다르게 함으로써, 사용자가 원하는 음질의 데이터를 들을 수 있도록 한 모드 변환이 가능한 오디오 데이터 출력 회로를 제공하는 데에 있다.Accordingly, an object of the present invention is to solve the above-mentioned problems, and the user can directly select various output modes of the audio data, and by varying the output format of the audio data for each selected mode, the user can select the sound quality data. It is to provide an audio data output circuit capable of one mode conversion so that it can be heard.

도 1은 이 발명의 실시예에 따른 모드 변환이 가능한 오디오 데이터 출력 회로의 블럭도이고,1 is a block diagram of an audio data output circuit capable of mode conversion according to an embodiment of the present invention.

도 2는 이 발명의 실시예에 따른 모드 변환 회로의 상세 회로도이고,2 is a detailed circuit diagram of a mode conversion circuit according to an embodiment of the present invention;

도 3은 이 발명의 실시예에 따른 모드 0일 경우 오디오 데이터의 출력 형식을 나타낸 타이밍도이고,3 is a timing diagram illustrating an output format of audio data in mode 0 according to an embodiment of the present invention.

도 4는 이 발명의 실시예에 따른 모드 1일 경우 오디오 데이터의 출력 형식을 나타낸 타이밍도이고,4 is a timing diagram illustrating an output format of audio data in case of Mode 1 according to an embodiment of the present invention.

도 5는 이 발명의 실시예에 따른 모드 2일 경우 오디오 데이터의 출력 형식을 나타낸 타이밍도이고,5 is a timing diagram showing an output format of audio data in case of Mode 2 according to an embodiment of the present invention.

도 6은 이 발명의 실시예에 따른 모드 3일 경우 오디오 데이터의 출력 형식을 나타낸 타이밍도이다.6 is a timing diagram illustrating an output format of audio data in mode 3 according to an embodiment of the present invention.

상기의 목적을 달성하기 위한 이 발명은, 클럭 신호에 동기시켜 직렬 데이터 형태로 입력되는 n-비트의 오디오 데이터를 1비트씩 래치(Latch)시키기 위한 카운팅 수단과, 상기 n-비트의 오디오 데이터를 하나의 입력으로 받고, 상기 카운팅 수단의 최종 출력단 데이터를 다른 하나의 입력으로 받아, 선택 신호에 따라서 하나의 입력 데이터를 선택하여 상기 카운팅 수단의 첫번째 입력 단자로 출력하는 제1 선택 수단과, 상기 제1 선택 수단을 제어하기 위한 선택 신호와 상기 카운팅 수단을 제어하기 위한 클럭 신호를 발생시키고, 외부로부터 입력되는 모드 선택 신호에 따라 상기 오디오 데이터의 출력 형식을 제어하기 위한 제어 신호, 즉 상기 오디오 데이터를 비트(BIT) 단위로 제어하기 위한 비트 클럭 신호, 워드(WORD) 단위로 제어하기 위한 워드 클럭 신호 그리고 레프트/라이트 채널별로 제어하기 위한 레프트/라이트 클럭 신호를 출력하는 모드 변환 수단과, 상기 모드 선택 신호에 따라서 상기 카운팅 수단에 래치된 오디오 데이터를 선택하기 위한 제2 선택 수단을 포함하여 이루어져 있다.The present invention for achieving the above object is a counting means for latching the n-bit audio data input in the form of serial data in synchronization with a clock signal by one bit, and the n-bit audio data First selecting means for receiving one input, receiving the final output data of the counting means as another input, selecting one input data according to a selection signal, and outputting the selected input data to the first input terminal of the counting means; 1 generating a selection signal for controlling the selection means and a clock signal for controlling the counting means, the control signal for controlling the output format of the audio data according to a mode selection signal input from the outside; Bit clock signal to control in bit unit, word clock signal to control in word unit And mode switching means for outputting left / right clock signals for controlling for each left / right channel, and second selecting means for selecting audio data latched in the counting means in accordance with the mode selection signal.

이하, 이 발명이 속하는 기술 분야에서 통상의 지식을 가진 자가 이 발명을 용이하게 실시할 수 있을 정도로 상세히 설명하기 위해 이 발명의 가장 바람직한 실시예를 첨부된 도면을 참조로 설명하기로 한다.DETAILED DESCRIPTION Hereinafter, exemplary embodiments of the present invention will be described with reference to the accompanying drawings so that those skilled in the art can easily implement the present invention in detail.

도 1은 이 발명의 실시예에 따른 모드 변환이 가능한 오디오 데이터 출력 회로의 블럭도이고, 도 2는 이 발명의 실시예에 따른 모드 변환 회로의 상세 회로도이다.1 is a block diagram of an audio data output circuit capable of mode conversion according to an embodiment of the present invention, and FIG. 2 is a detailed circuit diagram of a mode conversion circuit according to an embodiment of the present invention.

도 1에 도시되어 있듯이, 이 발명의 실시예에 따른 모드 변환이 가능한 오디오 데이터 출력 회로에서, 먼저 링 카운터(Ring Counter; 10)는 입력되는 모드 클럭 신호(MODCLK)에 동기시켜 직렬 형태로 입력되는 40비트의 오디오 데이터(D39:0)를 1비트씩 래치시킨다.As shown in FIG. 1, in an audio data output circuit capable of mode switching according to an embodiment of the present invention, first, a ring counter 10 is input in serial form in synchronization with an input mode clock signal MODCLK. The 40-bit audio data D39: 0 is latched by 1 bit.

멀티플렉서(20)는 상기 오디오 데이터(D39:0)를 하나의 입력 단자(D0)로 받고, 상기 링 카운터(10)의 최종 출력단 데이터(S0)를 다른 하나의 입력 단자(D1)로 받아, 하나의 입력 데이터를 선택하여 상기 링 카운터(10)의 첫번째 입력 단자(D39)로 출력하는데, 선택 신호로서 사용되는 로드 제어 신호(LOADL)에 따라서 먼저 상기 오디오 데이터(D39:0)를 선택하여 링 카운터(10)로 1비트씩 래치시키고 이 과정이 끝나면 상기 링 카운터(10)의 최종 출력단 데이터(S0)를 선택하여 상기 래치된 오디오 데이터가 순환되도록 한다.The multiplexer 20 receives the audio data D39: 0 through one input terminal D0, and receives the final output terminal data S0 of the ring counter 10 as another input terminal D1. Selects the input data and outputs it to the first input terminal D39 of the ring counter 10. First, the audio data D39: 0 is selected according to the load control signal LOADL used as the selection signal. After latching bit by bit (10) and the process is completed, the final output terminal data SO of the ring counter 10 is selected to circulate the latched audio data.

모드 변환 회로(30)는, 상기 멀티플렉서(20)를 제어하기 위한 로드 제어 신호(LOADL)와 상기 링 카운터(10)를 제어하기 위한 모드 클럭 신호(MODCLK)를 발생시키고, 외부로부터 입력되는 모드 선택 신호(MODE0, MODE1)에 따라 상기 오디오 데이터의 출력 형식을 제어하기 위한 각종 제어 신호(BCLK, WCLK, LRCLK)를 출력한다.The mode conversion circuit 30 generates a load control signal LOADL for controlling the multiplexer 20 and a mode clock signal MODCLK for controlling the ring counter 10, and selects a mode input from the outside. According to signals MODE0 and MODE1, various control signals BCLK, WCLK, and LRCLK for controlling the output format of the audio data are output.

다음에, 디 플립플롭(40)은 상기 모드 변환 회로(30)로부터 발생된 모드 클럭 신호(MODCLK)에 동기시켜 상기 링 카운터(10)의 출력 데이터(S39)를 1비트를 지연시켜(S40) 출력한다.Next, the de-flip-flop 40 delays the output data S39 of the ring counter 10 by one bit in synchronization with the mode clock signal MODCLK generated from the mode conversion circuit 30 (S40). Output

마지막으로, 멀티플렉서(50)는 상기 모드 선택 신호(MODE0, MODE1)에 따라서 상기 링 카운터(10)에 래치된 오디오 데이터(S35, S39)와 상기 디 플립플롭(40)의 출력 신호(S40) 중 하나를 선택하여 출력(SDAT)한다.Finally, the multiplexer 50 is configured to output the audio data S35 and S39 latched to the ring counter 10 and the output signal S40 of the de flip-flop 40 according to the mode selection signals MODE0 and MODE1. Select one to output (SDAT).

상기 모드 변환 회로(30)는, 2.8224MHz의 클럭 주파수(CLK)를 2분주하기 위한 디 플립플롭(31)과, 모드 선택 신호(MODE0, MODE1)에 따라서 16비트 모드(MODE0=1, MODE1=0인 경우)와 20비트 모드를 판별하기 위한 모드 판별부(32)와, 상기 모드 판별부(32)의 출력 신호에 따라서 16비트 모드이면 상기 디 플립플롭(31)의 출력 신호를 선택하고 20비트 모드이면 상기 클럭 주파수(CLK)를 선택하여 이를 비트 클럭 신호(BCLK)로 출력하기 위한 멀티플렉서(33)와, 상기 멀티플렉서(33)의 출력 신호를 클럭 입력으로 받아 카운팅을 수행하는 6비트 카운터(34)와, 상기 6비트 카운터(34)의 출력 신호(Q4, Q3, Q2)를 입력받아 워드 클럭 신호(WCLK)의 라이트(Right) 12비트를 제거하기 위한 라이트 12비트 제거부(35)와, 상기 6비트 카운터(34)의 출력 신호(Q4, Q3, Q2)를 입력받아 워드 클럭 신호(WCLK)의 레프트(Left) 12비트를 제거하기 위한 레프트 12비트 제거부(36)와, 상기 라이트 12비트 제거부(35)의 출력 신호를 데이터 입력(D2)으로 받고 상기 레프트 12비트 제거부(36)의 출력 신호를 데이터 입력(D0, D3)으로 받으며 모드 선택 신호(MODE0, MODE1)를 각각 선택 입력(S0, S1)으로 받아 선택 입력에 따라 하나의 데이터를 선택하기 위한 멀티플렉서(37)와, 하이 레벨의 전압(+)을 데이터 입력(D1)으로 받고 상기 6비트 카운터(34)의 출력 신호(Q5)를 다른 하나의 데이터 입력(D0)으로 받아 상기 모드 판별부(32)의 출력 신호에 따라 하나의 데이터를 선택하기 위한 멀티플렉서(38)와, 상기 6비트 카운터(34)의 출력 신호(Q4∼Q0)와 상기 멀티플렉서(38)의 출력 신호를 논리 조합하여 20비트 모드일 경우는 64개의 비트 클럭 신호가 카운트되는 동안 '하이' 상태를 유지하는 로드 제어 신호(LOADL)를 출력하고 16비트 모드일 경우는 32개의 비트 클럭 신호가 카운트되는 동안 '하이' 상태를 유지하는 로드 제어 신호(LOADL)를 출력하는 32/64비트 선택부(39)와, 상기 멀티플렉서(33, 37)와 32/64비트 선택부(39)의 출력 신호를 조합하여 상기 모드 클럭 신호(MODCLK)를 발생시키기 위한 모드 클럭 신호 발생부(3A)와, 상기 멀티플렉서(37) 출력 신호의 반전된 신호를 데이터 입력(D1)으로 받고 상기 6비트 카운터(34)의 출력 신호(Q3)를 다른 하나의 데이터 입력(D0)으로 받아 상기 모드 판별부(32)의 출력 신호에 따라 하나의 데이터를 선택하여 상기 워드 클럭 신호(WCLK)를 발생시키기 위한 멀티플렉서(3B)와, 상기 6비트 카운터(34)의 출력 신호(Q4, Q5)를 각각 데이터 입력(D1, D0)으로 받아 상기 모드 판별부(32)의 출력 신호에 따라 하나의 데이터를 선택하여 상기 레프트/라이트 클럭 신호(LRCLK)를 발생시키기 위한 멀티플렉서(3C)를 포함하여 이루어져 있다.The mode converting circuit 30 has a 16-bit mode (MODE0 = 1, MODE1 =) in accordance with the de-flop 31 for dividing the clock frequency CLK of 2.8224 MHz into two and the mode selection signals MODE0 and MODE1. 0) and the mode discrimination unit 32 for discriminating the 20-bit mode, and the output signal of the flip-flop 31 is selected in the case of the 16-bit mode according to the output signal of the mode determination unit 32. In the bit mode, the multiplexer 33 selects the clock frequency CLK and outputs it as a bit clock signal BCLK, and a 6-bit counter that counts the output signal of the multiplexer 33 as a clock input. 34 and a write 12-bit removing unit 35 for receiving the output signals Q4, Q3, and Q2 of the 6-bit counter 34 to remove the right 12 bits of the word clock signal WCLK. In response to the output signals Q4, Q3, and Q2 of the 6-bit counter 34, left of the word clock signal WCLK Le ft) A left 12-bit remover 36 for removing 12 bits and an output signal of the write 12-bit remover 35 are received as a data input D2 and an output signal of the left 12-bit remover 36 is received. Receives the data inputs D0 and D3 and receives the mode selection signals MODE0 and MODE1 as the selection inputs S0 and S1, respectively, the multiplexer 37 for selecting one data according to the selection input, and a high level voltage. Receive (+) as the data input D1 and receive the output signal Q5 of the 6-bit counter 34 as the other data input D0, one data according to the output signal of the mode discriminating unit 32. In the case of 20-bit mode, the multiplexer 38 for selecting the < RTI ID = 0.0 > and the output signals Q4-Q0 < / RTI > of the 6-bit counter 34 and the output signal of the multiplexer 38 are logically combined. Load control signal (LOADL) stays 'high' while counting 32 / 64-bit selector 39 for outputting a load control signal LOADL that maintains a high state while the 32-bit clock signal is counted in the 16-bit mode and the multiplexers 33 and 37. ) And the inverted signal of the output signal of the multiplexer 37 and the mode clock signal generator 3A for generating the mode clock signal MODCLK by combining the output signal of the 32 / 64-bit selector 39. Receives the output signal Q3 of the 6-bit counter 34 to the other data input D0 by receiving the data input D1 and selects one data according to the output signal of the mode determining unit 32. The multiplexer 3B for generating the word clock signal WCLK and the output signals Q4 and Q5 of the 6-bit counter 34 are respectively received as data inputs D1 and D0 of the mode discriminating unit 32. The left / right clock is selected by selecting one data according to the output signal. And a multiplexer 3C for generating the clock signal LRCLK.

여기서 상기 모드 판별부(32)는, 모드 선택 신호(MODE0)를 반전시키기 위한 인버터(1)와, 상기 인버터(1)의 출력 신호와 모드 선택 신호(MODE1)를 부정 논리합하기 위한 NOR 게이트(2)로 구성되어 있다.Here, the mode determining unit 32 includes an inverter 1 for inverting the mode selection signal MODE0, and a NOR gate 2 for negating and ORing the output signal of the inverter 1 and the mode selection signal MODE1. It consists of).

상기 라이트 12비트 제거부(35)는, 상기 6비트 카운터(34)의 출력 신호(Q3, Q2)를 논리합하기 위한 OR 게이트(3)와, 상기 OR 게이트(3)의 출력 신호와 상기 6비트 카운터(34)의 출력 신호(Q4)를 논리곱하기 위한 AND 게이트(4)로 구성되어 있다.The write 12-bit remover 35 includes an OR gate 3 for ORing the output signals Q3 and Q2 of the 6-bit counter 34, an output signal of the OR gate 3, and the 6 bits. It consists of an AND gate 4 for ANDing the output signal Q4 of the counter 34.

상기 레프트 12비트 제거부(36)는, 상기 6비트 카운터(34)의 출력 신호(Q3, Q2)를 논리곱하기 위한 AND 게이트(5)와, 상기 AND 게이트(5)의 출력 신호와 상기 6비트 카운터(34)의 출력 신호(Q4)를 부정 논리합하기 위한 NOR 게이트(6)로 구성되어 있다.The left 12-bit remover 36 includes an AND gate 5 for ANDing the output signals Q3 and Q2 of the 6-bit counter 34, an output signal of the AND gate 5, and the 6 bits. It consists of the NOR gate 6 for carrying out the negative OR of the output signal Q4 of the counter 34. As shown in FIG.

상기 32/64비트 선택부(39)는, 상기 6비트 카운터(34)의 출력 신호(Q2, Q1, Q0)를 논리곱하기 위한 AND 게이트(7)와, 상기 6비트 카운터(34)의 출력 신호(Q4, Q3)와 상기 멀티플렉서(38)의 출력 신호를 논리곱하기 위한 AND 게이트(8)와, 상기 AND 게이트(7, 8)의 출력 신호를 부정 논리곱하기 위한 NAND 게이트(9)로 구성되어 있다.The 32 / 64-bit selector 39 includes an AND gate 7 for ANDing the output signals Q2, Q1, and Q0 of the 6-bit counter 34 and the output signal of the 6-bit counter 34. And an AND gate 8 for ANDing the output signals of the multiplexer 38 with (Q4, Q3), and a NAND gate 9 for negative ANDing the output signals of the AND gates 7 and 8. .

상기 모드 클럭 신호 발생부(3A)는, 상기 멀티플렉서(33, 37)의 출력 신호를 논리합하기 위한 OR 게이트(A)와, 상기 멀티플렉서(33)의 출력 신호와 상기 32/64비트 선택부(39)의 출력 신호를 논리합하기 위한 OR 게이트(B)와, 상기 OR 게이트(A, B)의 출력 신호를 논리곱하기 위한 AND 게이트(C)로 구성되어 있다.The mode clock signal generator 3A includes an OR gate A for ORing the output signals of the multiplexers 33 and 37, an output signal of the multiplexer 33, and the 32 / 64-bit selector 39. OR gates B for ORing the output signals of ") and AND gates C for ANDing the output signals of the OR gates A and B.

상기와 같이 구성되어 있는 이 발명의 실시예에 따른 모드 변환이 가능한 오디오 데이터 출력 회로의 동작은 다음과 같다.Operation of the audio data output circuit capable of mode switching according to the embodiment of the present invention configured as described above is as follows.

이 발명은 사용자에 의해 선택된 각 모드(Mode)별로 오디오 데이터의 출력 형식을 다르게 하기 위한 것으로서, 도 1에 도시된 바와 같이 링 카운터(10), 멀티플렉서(20, 50), 모드 변환 회로(30) 및 디 플립플롭(40) 등으로 구성되어 있다.The present invention is to change the output format of the audio data for each mode (Mode) selected by the user, as shown in Figure 1 ring counter 10, multiplexer (20, 50), mode conversion circuit 30 And a de-flop flop 40 or the like.

먼저, 상기 멀티플렉서(20)의 입력 신호는 오디오 데이터(D39:0) 40비트이고 레프트(Left) 20비트와 라이트(Right) 20비트로 나누어지게 된다. 상기 멀티플렉서(20)는 로드 제어 신호(LOADL)가 '로우'이면 새로운 오디오 데이터를 입력받고, '하이'이면 입력된 오디오 데이터가 상기 링 카운터(10)에서 모드 클럭 신호(MODCLK)에 동기되어 래치되도록 한다.First, the input signal of the multiplexer 20 is divided into 40 bits of audio data D39: 0, left 20 bits, and right 20 bits. The multiplexer 20 receives new audio data when the load control signal LOADL is 'low', and latches the input audio data in synchronization with the mode clock signal MODCLK in the ring counter 10 when the load control signal LOADL is 'low'. Be sure to

상기 링 카운터(10)에 래치된 데이터 중 일부(S35, S39)는 상기 디 플립플롭(40)의 출력 데이터(S40)와 함께 상기 멀티플렉서(50)로 입력되고, 모드 선택 신호(MODE1, MODE0)에 따라서 하나의 데이터가 선택되어 20비트 또는 16비트 단위로 출력된다.Some of the data latched to the ring counter 10 (S35, S39) are input to the multiplexer 50 together with the output data S40 of the de-flip-flop 40, and mode selection signals MODE1 and MODE0. According to this, one data is selected and output in units of 20 bits or 16 bits.

도 2는 상기 모드 변환 회로(30)의 상세 회로도로서, 디 플립플롭(31)은 입력되는 2.8224MHz의 클럭 주파수(CLK)를 2분주한다. 그리고 상기 2분주된 클럭 주파수와 분주되지 않은 클럭 주파수(CLK)를 각각 데이터 입력(D1, D0)으로 받는 멀티플렉서(33)는 모드 판별부(32)의 출력 신호에 따라 하나의 데이터를 선택하게 되는데, 상기 모드 선택 신호 MODE1이 '로우'이고 MODE0이 '하이'이면(모드 1) 상기 모드 판별부(32)의 출력 신호는 '하이'가 되어 상기 멀티플렉서(33)가 2분주된 클럭 주파수를 선택하므로 비트 클럭 신호(BCLK)가 2배로 느려져 16비트 모드가 된다.FIG. 2 is a detailed circuit diagram of the mode conversion circuit 30, in which the flip-flop 31 divides an input clock frequency CLK of 2.8224 MHz into two. The multiplexer 33 which receives the divided clock frequency and the undivided clock frequency CLK as data inputs D1 and D0 respectively selects one data according to the output signal of the mode discriminator 32. When the mode selection signal MODE1 is 'low' and MODE0 is 'high' (mode 1), the output signal of the mode determination unit 32 becomes 'high' so that the multiplexer 33 selects the clock frequency divided by two. As a result, the bit clock signal BCLK is doubled to 16-bit mode.

상기 오디오 데이터(D39:0)를 워드(WORD) 단위로 제어하기 위한 워드 클럭 신호(WCLK)는 각 모드에 따라 4가지 형태(WCLK0∼WCLK3)로 바뀌게 되는데, 모드 0(MODE1=MODE0=0)과 모드 3(MODE1=MODE0=1)인 경우 워드 클럭 신호에서 레프트 12비트를 제거하기 위한 회로가 레프트 12비트 제거부(36)이며, 모드 2(MODE1=1, MODE0=0)인 경우 워드 클럭 신호에서 라이트 12비트를 제거하기 위한 회로가 라이트 12비트 제거부(35)이다.The word clock signal WCLK for controlling the audio data D39: 0 in word units is changed into four types (WCLK0 to WCLK3) according to each mode, and mode 0 (MODE1 = MODE0 = 0) And mode 3 (MODE1 = MODE0 = 1), the circuit for removing the left 12 bits from the word clock signal is the left 12-bit remover 36, and in the case of mode 2 (MODE1 = 1, MODE0 = 0), the word clock is The circuit for removing the write 12 bits from the signal is the write 12 bit remover 35.

도 3∼도 6은 이 발명의 실시예에 따른 모드 0∼모드 3일 경우 오디오 데이터의 출력 형식을 나타낸 타이밍도이다.3 to 6 are timing charts showing the output format of audio data in the mode 0 to mode 3 according to the embodiment of the present invention.

먼저, 모드 0인 경우(MODE1=MODE0=0)는 도 3에 도시되어 있는 바와 같이 워드 클럭 신호(WCLK0)가 발생하며, 모드 클럭 신호(MODCLK)가 링 카운터(10)의 클럭 신호로서 입력되어 오디오 데이터(S40)부터 레프트 20비트(S40∼S21), 라이트 20비트(S20∼S1)가 순차적으로 출력된다.First, in the case of mode 0 (MODE1 = MODE0 = 0), the word clock signal WCLK0 is generated as shown in FIG. 3, and the mode clock signal MODCLK is input as the clock signal of the ring counter 10. The left 20 bits S40 to S21 and the right 20 bits S20 to S1 are sequentially output from the audio data S40.

다음에, 모드 1인 경우(MODE1=0, MODE0=1)는 16비트 모드로서 도 4에 도시되어 있는 바와 같이 워드 클럭 신호(WCLK1)가 발생하며, 오디오 데이터(S35)부터 레프트 16비트(S35∼S20), 라이트 16비트(S19∼S4)가 순차적으로 출력된다.Next, in the case of mode 1 (MODE1 = 0, MODE0 = 1), the word clock signal WCLK1 is generated as shown in FIG. 4 as a 16-bit mode, and the left 16 bits (S35) to audio data S35 are generated. S20 and the write 16 bits S19 to S4 are sequentially output.

모드 2인 경우(MODE1=1, MODE0=0)는 도 5에 도시되어 있는 바와 같이 워드 클럭 신호(WCLK2)가 발생하며, 오디오 데이터(S39)부터 레프트 20비트(S39∼S20), 라이트 20비트(S19∼S0)가 순차적으로 출력된다.In the case of mode 2 (MODE1 = 1, MODE0 = 0), the word clock signal WCLK2 is generated as shown in FIG. 5, and the left 20 bits (S39 to S20) and the right 20 bits from the audio data S39 are generated. (S19 to S0) are sequentially output.

모드 3인 경우(MODE1=MODE0=1)는 도 6에 도시되어 있는 바와 같이 워드 클럭 신호(WCLK3)가 발생하며, 오디오 데이터(S39)부터 레프트 20비트(S39∼S20), 라이트 20비트(S19∼S0)가 순차적으로 출력된다.In the case of mode 3 (MODE1 = MODE0 = 1), as shown in FIG. 6, the word clock signal WCLK3 is generated, from the audio data S39 to the left 20 bits (S39 to S20) and the right 20 bits (S19). S0) are output sequentially.

이 때, 상기 모드 2와 모드 3의 차이를 살펴보면, 상기 모드 2의 경우는 오디오 데이터가 먼저 출력되고 워드 클럭 신호(WCLK2)의 라이트 12비트가 제거되는 경우이고, 상기 모드 3의 경우는 오디오 데이터가 나중에 출력되고 워드 클럭 신호(WCLK3)의 레프트 12비트가 제거되는 경우이다.In this case, referring to the difference between the mode 2 and the mode 3, in the case of the mode 2, the audio data is first outputted and the write 12 bits of the word clock signal WCLK2 are removed, and in the case of the mode 3, the audio data Is output later and the left 12 bits of the word clock signal WCLK3 are removed.

따라서 이 발명의 실시예에 따른 모드 변환이 가능한 오디오 데이터 출력 회로의 효과는, 사용자가 선택한 모드에 따라서 사용자가 원하는 음질의 오디오 데이터를 들을 수 있도록 한 것이다.Therefore, the effect of the mode data switchable audio data output circuit according to an embodiment of the present invention is that the user can listen to the audio data of the desired sound quality according to the mode selected by the user.

Claims (6)

클럭 신호에 동기시켜 직렬 데이터 형태로 입력되는 n-비트의 오디오 데이터를 1비트씩 래치(Latch)시키기 위한 카운팅 수단과, 상기 n-비트의 오디오 데이터를 하나의 입력으로 받고, 상기 카운팅 수단의 최종 출력단 데이터를 다른 하나의 입력으로 받아, 선택 신호에 따라서 하나의 입력 데이터를 선택하여 상기 카운팅 수단의 첫번째 입력 단자로 출력하는 제1 선택 수단과, 상기 제1 선택 수단을 제어하기 위한 선택 신호와 상기 카운팅 수단을 제어하기 위한 클럭 신호를 발생시키고, 외부로부터 입력되는 모드 선택 신호에 따라 상기 오디오 데이터의 출력 형식을 제어하기 위한 제어 신호, 즉 상기 오디오 데이터를 비트(BIT) 단위로 제어하기 위한 비트 클럭 신호, 워드(WORD) 단위로 제어하기 위한 워드 클럭 신호 그리고 레프트/라이트 채널별로 제어하기 위한 레프트/라이트 클럭 신호를 출력하는 모드 변환 수단과, 상기 모드 선택 신호에 따라서 상기 카운팅 수단에 래치된 오디오 데이터를 선택하기 위한 제2 선택 수단을 포함하여 이루어져 있는 오디오 데이터 출력 회로.Counting means for latching n-bit audio data input in the form of serial data in synchronization with a clock signal by one bit, and receiving the n-bit audio data as one input and receiving the last counting means. First selection means for receiving output terminal data as another input, selecting one input data according to a selection signal, and outputting the input data to a first input terminal of the counting means, a selection signal for controlling the first selection means, and A control signal for generating a clock signal for controlling a counting means and for controlling an output format of the audio data according to a mode selection signal input from an external device, that is, a bit clock for controlling the audio data in units of bits. Signal, word clock signal for word unit control and left / right channel control A left / light mode conversion means for outputting a clock signal and a second audio selection means data output circuit, which consists, including according to the mode selection signal for selecting the audio data latched in the counting means. 청구항 1에 있어서, 상기 모드 변환 수단은, 입력된 클럭 주파수를 2분주하기 위한 디 플립플롭과, 모드 선택 신호에 따라서 16비트 모드와 20비트 모드를 판별하기 위한 모드 판별부와, 상기 모드 판별부의 출력 신호에 따라서 16비트 모드이면 상기 디 플립플롭의 출력 신호를 선택하고, 20비트 모드이면 상기 클럭 주파수를 선택하여 이를 비트 클럭 신호로 출력하기 위한 제1 멀티플렉서와, 상기 제1 멀티플렉서의 출력 신호를 클럭 입력으로 받아 카운팅을 수행하는 카운터와, 상기 카운터의 출력 신호를 입력받아 워드 클럭 신호의 라이트 12비트를 제거하기 위한 라이트 12비트 제거부와, 상기 카운터의 출력 신호를 입력받아 워드 클럭 신호의 레프트 12비트를 제거하기 위한 레프트 12비트 제거부와, 상기 라이트 12비트 제거부와 레프트 12비트 제거부의 출력 신호를 데이터 입력으로 받고 모드 선택 신호를 선택 입력으로 받아, 선택 입력에 따라 하나의 데이터를 선택하기 위한 제2 멀티플렉서와, 하이 레벨의 전압을 하나의 데이터 입력으로 받고 상기 카운터의 출력 신호를 다른 하나의 데이터 입력으로 받아, 상기 모드 판별부의 출력 신호에 따라 하나의 데이터를 선택하기 위한 제3 멀티플렉서와, 상기 카운터의 출력 신호와 상기 제3 멀티플렉서의 출력 신호를 논리 조합하여 20비트 모드일 경우는 64개의 비트 클럭 신호가 카운트되는 동안 '하이' 상태를 유지하는 로드 제어 신호를 출력하고 16비트 모드일 경우는 32개의 비트 클럭 신호가 카운트되는 동안 '하이' 상태를 유지하는 로드 제어 신호를 출력하는 32/64비트 선택부와, 상기 제1, 제2 멀티플렉서와 32/64비트 선택부의 출력 신호를 조합하여 모드 클럭 신호를 발생시키기 위한 모드 클럭 신호 발생부와, 상기 제2 멀티플렉서 출력 신호의 반전된 신호를 하나의 데이터 입력으로 받고 상기 카운터의 출력 신호를 다른 하나의 데이터 입력으로 받아, 상기 모드 판별부의 출력 신호에 따라 하나의 데이터를 선택하여 워드 클럭 신호를 발생시키기 위한 제4 멀티플렉서와, 상기 카운터의 출력 신호를 데이터 입력으로 받아 상기 모드 판별부의 출력 신호에 따라 하나의 데이터를 선택하여 레프트/라이트 클럭 신호를 발생시키기 위한 제5 멀티플렉서를 포함하여 이루어져 있는 오디오 데이터 출력 회로.The apparatus of claim 1, wherein the mode converting means comprises: a de-flop for dividing an input clock frequency into two, a mode discriminating unit for discriminating a 16-bit mode and a 20-bit mode according to a mode selection signal, and the mode discriminating unit. According to an output signal, a first multiplexer for selecting the output signal of the flip-flop in the 16-bit mode and the clock frequency in the 20-bit mode and outputting it as a bit clock signal and an output signal of the first multiplexer A counter for performing counting by receiving a clock input, a write 12-bit removing unit for removing write 12 bits of the word clock signal by receiving the output signal of the counter, and a left of the word clock signal receiving the output signal of the counter A left 12-bit remover for removing 12 bits, the write 12-bit remover and a left 12-bit remover A second multiplexer for receiving an output signal as a data input and a mode selection signal as a selection input, receiving a high level voltage as one data input, receiving a high level voltage as one data input, and receiving a different output signal from the counter. In the case of a 20-bit mode in which a third multiplexer for receiving one data input and selecting one data according to an output signal of the mode discriminator and a logic combination of an output signal of the counter and an output signal of the third multiplexer are logically combined. Outputs a load control signal that remains 'high' while the 64 bit clock signals are counted, and outputs a load control signal that remains 'high' while the 32 bit clock signals are counted in 16-bit mode. Mode by combining a 32 / 64-bit selector with output signals of the first and second multiplexers and a 32 / 64-bit selector A mode clock signal generator for generating a clock signal, an inverted signal of the second multiplexer output signal as one data input, and an output signal of the counter as another data input; A fourth multiplexer for generating a word clock signal by selecting one data and receiving the output signal of the counter as a data input, and selecting one data according to an output signal of the mode discriminator to generate a left / right clock signal. An audio data output circuit comprising a fifth multiplexer for generating. 청구항 2에 있어서, 상기 클럭 주파수는 2.8224MHz인 오디오 데이터 출력 회로.The audio data output circuit according to claim 2, wherein said clock frequency is 2.8224 MHz. 청구항 2에 있어서, 상기 카운터는 6비트 카운터인 오디오 데이터 출력 회로.The audio data output circuit as claimed in claim 2, wherein the counter is a 6 bit counter. 청구항 1에 있어서, 상기 카운팅 수단은 링 카운터(Ring Counter)인 오디오 데이터 출력 회로.The audio data output circuit as claimed in claim 1, wherein the counting means is a ring counter. 청구항 5에 있어서, 상기 링 카운터의 출력단에는, 모드 클럭 신호에 동기시켜 상기 링 카운터의 출력 데이터를 1비트 지연시키기 위한 디 플립플롭이 더 포함되어 있는 오디오 데이터 출력 회로.6. The audio data output circuit according to claim 5, wherein the output terminal of the ring counter further includes a de-flip for delaying the output data of the ring counter by one bit in synchronization with a mode clock signal.
KR1019960058393A 1996-11-27 1996-11-27 Mode-changeable audio data output circuit KR0182183B1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
KR1019960058393A KR0182183B1 (en) 1996-11-27 1996-11-27 Mode-changeable audio data output circuit

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
KR1019960058393A KR0182183B1 (en) 1996-11-27 1996-11-27 Mode-changeable audio data output circuit

Publications (2)

Publication Number Publication Date
KR19980039373A KR19980039373A (en) 1998-08-17
KR0182183B1 true KR0182183B1 (en) 1999-04-15

Family

ID=19483978

Family Applications (1)

Application Number Title Priority Date Filing Date
KR1019960058393A KR0182183B1 (en) 1996-11-27 1996-11-27 Mode-changeable audio data output circuit

Country Status (1)

Country Link
KR (1) KR0182183B1 (en)

Also Published As

Publication number Publication date
KR19980039373A (en) 1998-08-17

Similar Documents

Publication Publication Date Title
KR0182183B1 (en) Mode-changeable audio data output circuit
JPH04326229A (en) Multiple amplitude sample generator and method thereof
KR20010054849A (en) Conditional select encoder and method thereof
KR910006154B1 (en) Digital muting circuit
US5724277A (en) Background noise generating apparatus
JP2917095B2 (en) Thermometer code processing method and apparatus
US7123679B2 (en) Counter having improved counting speed
JP2998704B2 (en) counter
JPS63123228A (en) Digital-analog converter
KR100300863B1 (en) Digital audio interface circuit
JP3562127B2 (en) Pulse width modulation circuit
JP3374205B2 (en) Serial data interface device
JP2959303B2 (en) Arithmetic circuit
JPS5858680A (en) Data processing method using look-up table memory
KR930006069Y1 (en) Sound data output device of electronic musical instrument
JP3871502B2 (en) Multi-channel D / A converter
JPH07273652A (en) A/d converter circuit
JP2536490B2 (en) Run-length encoding device
JPH1082802A (en) Wave-form memory device
JPH0773187B2 (en) Bit length expansion device
JPH03134842A (en) Silent state detecting circuit
JPH1198019A (en) D/a conversion circuit
JP2698843B2 (en) Electronic musical instrument
JPH06188685A (en) Fir filter
JPH0564890B2 (en)

Legal Events

Date Code Title Description
A201 Request for examination
E701 Decision to grant or registration of patent right
GRNT Written decision to grant
FPAY Annual fee payment

Payment date: 20051109

Year of fee payment: 8

LAPS Lapse due to unpaid annual fee