JP2000022623A - Lsi for mobile communication terminal - Google Patents

Lsi for mobile communication terminal

Info

Publication number
JP2000022623A
JP2000022623A JP10188505A JP18850598A JP2000022623A JP 2000022623 A JP2000022623 A JP 2000022623A JP 10188505 A JP10188505 A JP 10188505A JP 18850598 A JP18850598 A JP 18850598A JP 2000022623 A JP2000022623 A JP 2000022623A
Authority
JP
Japan
Prior art keywords
voice
mobile communication
codec
audio
processing
Prior art date
Legal status (The legal status 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 status listed.)
Pending
Application number
JP10188505A
Other languages
Japanese (ja)
Inventor
Toshio Kamimura
俊夫 上村
Tomohiro Ezaki
智宏 江崎
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Hitachi Ltd
Original Assignee
Hitachi Ltd
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 Hitachi Ltd filed Critical Hitachi Ltd
Priority to JP10188505A priority Critical patent/JP2000022623A/en
Publication of JP2000022623A publication Critical patent/JP2000022623A/en
Pending legal-status Critical Current

Links

Abstract

PROBLEM TO BE SOLVED: To reduce the hardware scale of a one-chip LSI for communication for moving object by providing a memory and an audio management control program, which is loaded on the memory, for transferring audio encoded data between a channel codec and a sound codec. SOLUTION: When A/D and D/A conversions are completed between the analog sounds of a microphone 41 and a speaker 42 and PCM data handled by a sound codec 1113, an interruption request signal IRQ is asserted to an interruption controller 112 and an audio manager 1111 is activated as interruption processing. The audio manager 1111 performs PCM data transfer between an A/D and D/A: 14 for sound and the sound codec 1113 and ADPCM data transfer between a CHC 13 and the sound codec 1113. Therefore, the hardware scale of a PHS(R) one-chip base band LSI: 1 can be suppressed just for two of channel codec LSI: 13 and MPU: 11M.

Description

【発明の詳細な説明】DETAILED DESCRIPTION OF THE INVENTION

【0001】[0001]

【発明の属する技術分野】本発明は、移動体通信のレイ
ヤ1処理を行うチャネルコーデックと、移動体通信の音
声符号化復号化処理を行う音声コーデックと、移動体通
信のレイヤ2,3処理及びマンマシンなどのシステム制
御処理を行うMPUと、を有する移動体通信端末用LS
Iにおいて、メモリと、前記メモリに搭載し、かつ、チ
ャネルコーデックと音声コーデックとの間で音声符号化
データを転送する音声管理制御プログラムと、を有する
ことを特徴とする移動体通信端末用LSIに関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a channel codec for performing layer 1 processing of mobile communication, a voice codec for performing voice coding / decoding processing of mobile communication, layer 2 and 3 processing of mobile communication, An MPU for performing a system control process for a man-machine or the like;
I. a mobile communication terminal LSI comprising: a memory; and a voice management control program mounted on the memory and transferring voice encoded data between a channel codec and a voice codec. .

【0002】[0002]

【従来の技術】従来の移動体通信用LSIは、移動体通
信のレイヤ1処理を行うチャネルコーデックLSIと、
移動体通信の音声符号化復号化処理などを行う音声LS
Iと、移動体通信のレイヤ2,3処理及びマンマシンな
どのシステム制御処理を行うMPUと、の3つのLSI
で構成している。
2. Description of the Related Art A conventional mobile communication LSI includes a channel codec LSI for performing layer 1 processing of mobile communication,
Voice LS for voice coding / decoding of mobile communication
I and an MPU which performs layer 2 and 3 processing of mobile communication and system control processing such as man-machine processing.
It consists of.

【0003】一方、現在、移動体通信用LSIの低価格
化及び低消費電力化に対する要求は一段と厳しくなって
おり、その1つの解決方法として、上記従来の移動体通
信用LSIの3チップ構成のものを1チップ化すること
が考えられる。
On the other hand, at present, demands for lower cost and lower power consumption of mobile communication LSIs have become more severe, and as one solution to this problem, the above-mentioned conventional mobile communication LSI has a three-chip configuration. It is conceivable to make the product into one chip.

【0004】[0004]

【発明が解決しようとする課題】しかしながら、上記従
来の移動体通信用LSIの3チップ構成のものを、従来
のハードウエアに依存したシステム構成をそのまま1チ
ップ化する場合、以下のような問題点がある。
However, in the case where the above-mentioned conventional three-chip mobile communication LSI having a three-chip configuration is integrated into a single chip without changing the conventional hardware-dependent system configuration, the following problems arise. There is.

【0005】第1の問題点は、従来のシステム構成をそ
のまま1チップ化すると、そのハードウエア規模が大き
くなってしまい、低価格化及び低消費電力化が図れない
という問題がある。
[0005] The first problem is that if the conventional system configuration is directly integrated into one chip, the hardware scale becomes large, and it is not possible to reduce the cost and power consumption.

【0006】第2の問題点は、ハードウエアに依存した
現状のシステム構成をそのまま1チップ化すると、市場
変化へ対応するための機能の変更や追加が困難であり、
開発に多大な時間と費用が必要となってしまうという問
題がある。
A second problem is that if the current system configuration depending on hardware is integrated into one chip as it is, it is difficult to change or add functions for responding to market changes.
There is a problem that a lot of time and money are required for development.

【0007】本発明の第1の目的は、移動体通信用1チ
ップLSIのハードウエア規模を小さくすることで、移
動体通信用1チップLSIの低価格化及び低消費電力化
を実現することにある。
A first object of the present invention is to reduce the hardware scale of a one-chip LSI for mobile communication, thereby realizing low cost and low power consumption of the one-chip LSI for mobile communication. is there.

【0008】本発明の第2の目的は、移動体通信用1チ
ップLSIのシステム構成をソフトウエアに依存させる
ことで、市場変化へ対応するための機能の変更や追加を
容易にし、開発期間の短縮を実現することにある。
A second object of the present invention is to make the system configuration of a one-chip LSI for mobile communication dependent on software, thereby facilitating the change or addition of functions for responding to changes in the market. The goal is to achieve shortening.

【0009】[0009]

【課題を解決するための手段】上記目的を達成するため
の手段として、移動体通信のレイヤ1処理を行うチャネ
ルコーデックと、移動体通信の音声符号化復号化処理を
行う音声コーデックと、移動体通信のレイヤ2,3処理
及びマンマシンなどのシステム制御処理を行うMPU
と、を有する移動体通信端末用LSIにおいて、メモリ
と、前記メモリに搭載し、かつ、チャネルコーデックと
音声コーデックとの間で音声符号化データを転送する音
声管理制御プログラムと、を設ける。
As means for achieving the above object, there are provided a channel codec for performing layer 1 processing of mobile communication, a voice codec for performing voice encoding / decoding processing of mobile communication, and a mobile codec. MPU that performs communication layer 2 and 3 processing and system control processing such as man-machine
And a voice management control program mounted on the memory and transferring voice encoded data between a channel codec and a voice codec.

【0010】[0010]

【発明の実施の形態】本発明の実施例である移動体通信
端末用1チップベースバンドLSIを用いた移動体通信
端末を、図1,図2により説明する。
DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS A mobile communication terminal using a one-chip baseband LSI for a mobile communication terminal according to an embodiment of the present invention will be described with reference to FIGS.

【0011】図1は、本発明の実施例である移動体通信
端末用1チップベースバンドLSIを用いた移動体通信
端末のシステム構成を示す。
FIG. 1 shows a system configuration of a mobile communication terminal using a one-chip baseband LSI for a mobile communication terminal according to an embodiment of the present invention.

【0012】移動体通信端末の機能ブロックは、ベース
バンドのデータ処理を行うベースバンドブロックbと、
高周波処理を行うRFブロック2と、マンマシンインタ
フェースを行うマンマシンインタフェースブロック4
と、からなる。なお、RFブロック2は、アンテナ21
と、電波の送受の制御を行うRF22と、を有する。マ
ンマシンインタフェースブロック4は、音声入出力器で
あるマイク41、スピーカ42と、操作や状態の入出力
器であるである液晶43、キー44と、を有する。
The functional blocks of the mobile communication terminal include a baseband block b for performing baseband data processing,
RF block 2 for high-frequency processing and man-machine interface block 4 for man-machine interface
And consisting of The RF block 2 includes an antenna 21
And an RF 22 for controlling transmission and reception of radio waves. The man-machine interface block 4 has a microphone 41 and a speaker 42 as audio input / output devices, and a liquid crystal 43 and keys 44 as input / output devices for operation and status.

【0013】また、ベースバンドブロック2は、移動体
通信のレイヤ1処理などを行う移動体通信端末用1チッ
プベースバンドLSI1と、移動体通信のレイヤ2,3
処理及びマンマシンなどのシステム制御処理を行うシス
テムコントローラ3と、を有する。なお、システムコン
トローラ3は、移動体通信端末用1チップベースバンド
LSI1内1チップマイコン11のMPU11Mで動作
するプログラムを格納したメモリである。
The baseband block 2 includes a one-chip baseband LSI 1 for mobile communication terminals that performs layer 1 processing of mobile communication, and layers 2 and 3 of mobile communication.
A system controller 3 that performs processing and system control processing such as man-machine processing. The system controller 3 is a memory that stores a program that operates on the MPU 11M of the one-chip microcomputer 11 in the one-chip baseband LSI 1 for mobile communication terminals.

【0014】さらに、移動体通信端末用1チップベース
バンドLSI1は、1チップマイコン11と、デジタル
信号と電話回線上信号との間の変換を行うモデム12
と、移動体通信のレイヤ1処理を行うチャネルコーデッ
ク13と、移動体通信の音声符号化復号化処理を行う音
声コーデック223と、マイク41/スピーカ42のア
ナログ音声と音声コーデックが扱うPCMデータとの間
のA/D変換及びD/A変換を行う音声用A/D,D/
A14と、を有する。
Further, the one-chip baseband LSI 1 for mobile communication terminals includes a one-chip microcomputer 11 and a modem 12 for converting between a digital signal and a signal on a telephone line.
A channel codec 13 for performing layer 1 processing of mobile communication, a voice codec 223 for performing voice coding / decoding processing of mobile communication, and analog voice of the microphone 41 / speaker 42 and PCM data handled by the voice codec. A / D, D / A for audio that performs A / D conversion and D / A conversion between
A14.

【0015】さらにまた、1チップマイコン11は、M
PU11Mと、メモリ111と、割り込みコントローラ
112を有する。なお、メモリ111内には、MPU1
1Mのプログラムにより実現した音声管理制御1111
と音声コーデック1113を搭載している。
Further, the one-chip microcomputer 11 has an M
It has a PU 11M, a memory 111, and an interrupt controller 112. Note that the MPU 1
Voice management control 1111 realized by 1M program
And an audio codec 1113.

【0016】図2は、本発明の第1の実施例である移動
体通信端末用1チップベースバンドLSIにおける音声
管理制御プログラムによる音声処理の動作シーケンスを
示す。
FIG. 2 shows an operation sequence of voice processing by a voice management control program in a one-chip baseband LSI for a mobile communication terminal according to a first embodiment of the present invention.

【0017】第1番目に、音声用A/D,D/A14
は、音声コーデック1113が扱うPCMデータのアク
セスが可能となった場合、すなわち、マイク41/スピ
ーカ42のアナログ音声と音声コーデック1113が扱
うPCMデータとの間のA/D変換及びD/A変換が終
了すると、割り込みコントローラ112に対し、割込み
要求信号IRQをアサートする。
First, audio A / D, D / A14
Means that access to PCM data handled by the audio codec 1113 becomes possible, that is, A / D conversion and D / A conversion between analog audio of the microphone 41 / speaker 42 and PCM data handled by the audio codec 1113 are performed. When the processing is completed, an interrupt request signal IRQ is asserted to the interrupt controller 112.

【0018】第2番目に、割り込みコントローラ112
は、割込み要求信号IRQのアサートを検出すると、音
声管理制御1111を割り込み処理として起動する。
Second, the interrupt controller 112
When the assertion of the interrupt request signal IRQ is detected, the voice management control 1111 is activated as an interrupt process.

【0019】第3番目に、音声管理制御1111は、音
声用A/D,D/A14と音声コーデック1113との
間のPCMデータの転送と、CHC13と音声コーデッ
ク1113との間のADPCMデータの転送と、を行
う。
Third, the voice management control 1111 controls the transfer of PCM data between the A / D / D / A 14 for voice and the voice codec 1113, and the transfer of ADPCM data between the CHC 13 and the voice codec 1113. And do.

【0020】なお、第3番目シーケンスにおける音声用
A/D,D/A14内のPCMデータのアクセスによ
り、音声用A/D,D/A14の割込み要求信号IRQ
はネゲートされ、第1番目のシーケンスに戻る。
The access to the PCM data in the audio A / D and D / A 14 in the third sequence causes the interrupt request signal IRQ of the audio A / D and D / A 14 to be transmitted.
Is negated and returns to the first sequence.

【0021】本実施例によれば、移動体通信端末用ベー
スバンドLSIにおいて、音声データの転送を行う音声
管理制御と、音声コーデックとを、移動体通信端末用ベ
ースバンドLSI内の1チップマイコンのハードウエア
リソースを用いたソフトウエアで実現できる。
According to this embodiment, in the baseband LSI for the mobile communication terminal, the voice management control for transferring the voice data and the voice codec are performed by the one-chip microcomputer in the baseband LSI for the mobile communication terminal. It can be realized by software using hardware resources.

【0022】すなわち、従来の移動体通信端末用ベース
バンドLSIセットである、チャネルコーデックLSI
と、スピーチコーデックLSIと、MPUと、を有する
移動体通信端末用1チップベースバンドLSIのハード
ウエア規模を、チャネルコーデックLSIとMPUとの
2つ分に押さえることができる。
That is, a channel codec LSI which is a conventional baseband LSI set for mobile communication terminals
, And the hardware scale of the one-chip baseband LSI for mobile communication terminals having the speech codec LSI and the MPU can be reduced to two for the channel codec LSI and the MPU.

【0023】したがって、移動体通信端末用1チップベ
ースバンドLSIのハードウエア規模を小さくできるの
で、移動体通信端末用1チップベースバンドLSIの低
価格化及び低消費電力化を実現できる。
Therefore, the hardware scale of the one-chip baseband LSI for the mobile communication terminal can be reduced, so that the price and power consumption of the one-chip baseband LSI for the mobile communication terminal can be reduced.

【0024】また、移動体通信端末用1チップベースバ
ンドLSIのシステム構成をソフトウエアに依存させる
ことができるので、市場変化へ対応するための機能の変
更や追加を容易にし、開発期間の短縮を実現できる。
Also, since the system configuration of the one-chip baseband LSI for mobile communication terminals can be made dependent on software, it is easy to change or add functions for responding to market changes, and shorten the development period. realizable.

【0025】本発明の第2の実施例であるPHS用1チ
ップベースバンドLSIを用いたPHS端末を、図3か
ら図9及び表1により説明する。
A PHS terminal using a one-chip baseband LSI for PHS according to a second embodiment of the present invention will be described with reference to FIGS. 3 to 9 and Table 1.

【0026】図3に、本発明の第2の実施例であるPH
S用1チップベースバンドLSIを用いたPHS子機の
システム構成を示す。PHS子機の低価格化,低消費電
力化を実現するため、PHS用1チップベースバンドL
SI1に、RF2、ユーザプログラム用メモリであるF
ROM31、SRAM32、SRAM33、MM I/
Fであるマイク41、スピーカ42、LCD43、ke
y44を加えたシンプルな構成で、PHS子機のシステ
ムを実現できる。
FIG. 3 shows a second embodiment of the present invention.
1 shows a system configuration of a PHS slave unit using a one-chip baseband LSI for S. One-chip baseband L for PHS to reduce the price and power consumption of PHS slaves
SI1, RF2, F which is a memory for user program
ROM 31, SRAM 32, SRAM 33, MMI /
F, microphone 41, speaker 42, LCD 43, ke
With a simple configuration including y44, a PHS slave device system can be realized.

【0027】このため、PHS用1チップベースバンド
LSI1は、1チップマイコン11、変調/復調を行う
モデム12、TDMA通信制御のためのチャネルコーデ
ックアクセラレータ13、マイク/スピーカとのアナロ
グインタフェースである音声用A/D,D/A14を1
チップに内蔵した。
For this reason, the one-chip baseband LSI 1 for PHS includes a one-chip microcomputer 11, a modem 12 for performing modulation / demodulation, a channel codec accelerator 13 for TDMA communication control, and a voice for an analog interface with a microphone / speaker. A / D, D / A14 is 1
Built in chip.

【0028】また、1チップマイコンを用いたミドルウ
エア111として、各種音声処理を管理・制御する音声
マネージャ1111、チャネルコーデックアクセラレー
タを用いてTDMA通信制御を行うチャネルコーデック
ドライバ1112を内蔵している。
The middleware 111 using a one-chip microcomputer includes a voice manager 1111 for managing and controlling various types of voice processing, and a channel codec driver 1112 for controlling TDMA communication using a channel codec accelerator.

【0029】図4に、本発明の第2の実施例であるPH
S用1チップベースバンドLSIを用いたPHS子機の
ソフトウエア階層構造を示す。
FIG. 4 shows a PH according to a second embodiment of the present invention.
3 shows a software hierarchical structure of a PHS slave using a one-chip baseband LSI for S. FIG.

【0030】ユーザソフト3sには、アプリケーション
3s1、通信プロトコルのレイヤ2,3機能3s2、レ
イヤ1との整合を取るフレームドライバ3s3など、m
sオーダの応答時間を満足すればよいなど低速動作でよ
いソフトウエアを割り当てることで、ユーザソフトを高
級言語で開発できるようにした。
The user software 3s includes an application 3s1, a communication protocol layer 2 and 3 function 3s2, a frame driver 3s3 for matching with the layer 1, and the like.
User software can be developed in a high-level language by allocating software that operates at a low speed, such as satisfying the response time of the s order.

【0031】一方、PHS用1チップベースバンドLS
I1内部のミドルウエア111には、音声用A/D,D
/Aなどを用いて各種音声処理を管理・制御する音声マ
ネージャ1111、チャネルコーデックアクセラレータ
を用いてTDMA通信制御を行うチャネルコーデックド
ライバ1112など、ハードウエア制御を行うため数十
us程度の応答時間が要求されるなど高速動作が必要な
PHSの通信プロトコルのレイヤ1を内蔵した。
On the other hand, one chip baseband LS for PHS
A / D and D for audio are stored in middleware 111 inside I1.
A response time of about several tens of us is required for performing hardware control, such as a voice manager 1111 for managing and controlling various types of voice processing using / A or the like, a channel codec driver 1112 for performing TDMA communication control using a channel codec accelerator, and the like. It incorporates Layer 1 of the PHS communication protocol that requires high-speed operation.

【0032】ここで、音声マネージャ1111は、ユー
ザソフト3s、チャネルコーデックドライバ1112、
音声用A/D,D/A14との間に位置し、チャネルコ
ーデックドライバ1112が送受信するADPCMデー
タと音声用A/D,D/A14が入出力するPCMデー
タとの間のADPCM符号化/復号化処理や各種音声ア
プリケーション処理の制御を行うものである。
Here, the voice manager 1111 includes user software 3s, a channel codec driver 1112,
ADPCM encoding / decoding between ADPCM data transmitted / received by the channel codec driver 1112 and PCM data input / output by the audio A / D / D / A 14, which is located between the audio A / D and D / A 14. It controls the conversion process and various audio application processes.

【0033】図5に、本発明の第2の実施例であるPH
S用1チップベースバンドLSIを用いたPHS子機の
通話における音声データの処理タイミングを示す。
FIG. 5 shows a second embodiment of the present invention.
The processing timing of the audio data in the call of the PHS slave using the one-chip baseband LSI for S is shown.

【0034】PHSにおける無線アクセス方式は、1フ
レーム5msを8つのスロットに分割し、4つの回線が
送受で別々のスロットを使用するTDMA−TDD(Ti
me Division Multiple Access−Time Division Duplexi
ng)方式である。
The radio access system in the PHS divides 5 ms per frame into eight slots, and uses TDMA-TDD (Ti
me Division Multiple Access−Time Division Duplexi
ng) method.

【0035】これに対し、PHS用1チップベースバン
ドLSI1を用いた通話における音声データの処理タイ
ミングは、以下の通りである。
On the other hand, the processing timing of voice data in a call using the one-chip baseband LSI 1 for PHS is as follows.

【0036】受信系は、Airのスロットに同期して起
動するチャネルコーデックドライバ1112により、R
x1スロットで受信した5ms区間分のADPCMデー
タの秘匿解除を行った後、8kHz周期で起動する音声
マネージャ1111により、秘匿解除されたADPCM
データの復号化を行い、復号化したPCMデータを音声
用D/A1111に送信することで、受信した5ms区
間分の音声を出力する。
The receiving system is controlled by a channel codec driver 1112 which starts in synchronization with the slot of Air.
After deciphering the ADPCM data for the 5 ms section received in the x1 slot, the deciphered ADPCM is performed by the voice manager 1111 that starts up at a period of 8 kHz.
By decoding the data and transmitting the decoded PCM data to the audio D / A 1111, the received audio for the 5 ms section is output.

【0037】一方、送信系は、音声マネージャ1111
により、音声用A/D14から受信したPCMデータの
符号化を5ms区間分行った後、チャネルコーデックド
ライバ1112により、5ms区間分のADPCMデー
タの秘匿制御を行った後、Tx1スロットで送信する。
On the other hand, the transmission system is a voice manager 1111
Then, after encoding the PCM data received from the audio A / D 14 for the 5 ms section, the channel codec driver 1112 performs concealment control of the ADPCM data for the 5 ms section, and then transmits the Tx1 slot.

【0038】[0038]

【表1】 [Table 1]

【0039】表1に、本発明の第2の実施例であるPH
S用1チップベースバンドLSIの音声処理の機能一覧
を示す。
Table 1 shows the PH of the second embodiment of the present invention.
2 shows a list of functions of audio processing of a one-chip baseband LSI for S.

【0040】通話時に常時動作する基本ソフトには、P
HSの音声符号化方式であるADPCM符号化/復号化
を行うADPCM CODEC、各種音声処理が扱う8
kHzサンプリングのPCMと音声用A/D,D/Aが
扱う32kHzサンプリングのPCMとの間の周波数変
換を行うデジタルフィルタがある。また、音声レベル調
整の関係では、送受信音声アッテネータ、サイドトー
ン、送受信音声ミュート、基地局がエコーキャンセラ未
対応の場合のためのエコーサプレッサがある。
Basic software that always operates during a call includes P
ADPCM CODEC that performs ADPCM encoding / decoding, which is the HS audio encoding method, and handles various audio processing.
There is a digital filter that performs frequency conversion between PCM of kHz sampling and PCM of 32 kHz sampling handled by audio A / D and D / A. In addition, in terms of audio level adjustment, there are a transmission / reception audio attenuator, a side tone, a transmission / reception audio mute, and an echo suppressor for a case where the base station does not support an echo canceller.

【0041】一方、ユーザが必要に応じて動作させるア
プリケーションソフトには、録音再生の関係では、5.
13kbpsと低いビットレートの音声圧縮録音再生、
32kbpsと高音質のADPCM録音再生、トーン関
係では、トーン発生,トーン検出がある。
On the other hand, the application software operated by the user as necessary includes the following in relation to recording and reproduction:
13 kbps audio compression recording and playback with a low bit rate,
In the case of ADPCM recording / reproducing of 32 kbps and high tone quality, there are tone generation and tone detection.

【0042】図6に、本発明の第2の実施例であるPH
S用1チップベースバンドLSIの音声処理ブロックダ
イヤグラムを示す。
FIG. 6 shows a second embodiment of the present invention.
4 shows an audio processing block diagram of a one-chip baseband LSI for S.

【0043】図に示したように、チャネルコーデックド
ライバ1112と音声用A/D,D/A14との間に、
表1に示した各種音声処理をそれぞれ配置している。
As shown in the figure, between the channel codec driver 1112 and the audio A / D and D / A 14,
The various audio processes shown in Table 1 are arranged.

【0044】音声マネージャにおける各種音声処理の実
行手順としては、図に示した音声処理フローに沿って、
サブルーチン形式で作成したADPCMなどの各種音声
処理をサブルーチンコールしていくものである。
The execution procedure of the various voice processes in the voice manager is as follows according to the voice processing flow shown in FIG.
Various audio processes such as ADPCM created in a subroutine format are called in a subroutine.

【0045】なお、送受信音声アッテネータ、サイドト
ーン、送受信音声ミュート処理は、その処理量が小さい
ので、音声マネージャの中に組み込むことにした。
Since the transmission / reception voice attenuator, side tone, and transmission / reception voice mute processing are small in processing amount, they are incorporated in the voice manager.

【0046】図7に、本発明の第2の実施例であるPH
S用1チップベースバンドLSIの音声マネージャのブ
ロックダイヤグラムを示す。
FIG. 7 shows a second embodiment of the present invention.
4 shows a block diagram of a voice manager of a one-chip baseband LSI for S. FIG.

【0047】図に示したように、音声マネージャ111
1は、ユーザソフト3s、チャネルコーデックドライバ
1112、音声A/D,D/A14との間に位置し、チ
ャネルコーデックドライバ1112間で送受信するAD
PCMデータと音声A/D,D/A14間で入出力する
PCMデータとの間のADPCM CODEC処理や各
種アプリケーションソフトの音声処理の制御を行うもの
である。なお、チャネルコーデックドライバ1112、
音声A/D,D/A14、各種アプリケーションソフト
への動作指示は、ユーザソフト3sが行う。
As shown in the figure, the voice manager 111
Reference numeral 1 denotes an AD which is located between the user software 3s, the channel codec driver 1112, and the audio A / D and D / A 14, and which transmits and receives between the channel codec driver 1112.
It controls ADPCM CODEC processing between PCM data and PCM data input / output between the audio A / D and D / A 14 and audio processing of various application software. Note that the channel codec driver 1112,
Operation instructions to the audio A / D, D / A 14, and various application software are performed by the user software 3s.

【0048】ユーザソフト3sとのインタフェースは、
音声マネージャ1112の起動/停止の指示を受け付け
るものである。ユーザソフト3sからの音声マネージャ
1111の起動/停止の指示を受け付けるため、関数形
式の音声マネージャ起動モジュール11112/停止モ
ジュール11113を提供することにした。
The interface with the user software 3s is as follows.
It accepts an instruction to start / stop the voice manager 1112. In order to accept an instruction to start / stop the voice manager 1111 from the user software 3s, a function-based voice manager start module 11112 / stop module 11113 is provided.

【0049】音声A/D,D/A14とのインタフェー
スは、音声A/D,D/A14間のPCMデータの送受
信を行うものである。音声A/D,D/A14間のデー
タ転送は、1チップマイコン11内のシリアルI/O1
12を介して行うことにした。さらに、シリアルI/O
112・PCMバッファ111111間のデータ転送
は、1チップマイコン11内のDMAコントローラ11
3の制御で行うことにした。また、32kHz周期で行
う音声A/D,D/A14間のPCMデータの転送と、
8kHz周期で行う音声処理111111を並行して行
うため、ダブルバッファ構成のPCMバッファ1111
12を設けた。
The interface with the audio A / D and D / A 14 is for transmitting and receiving PCM data between the audio A / D and D / A 14. Data transfer between the audio A / D and D / A 14 is performed by the serial I / O 1 in the one-chip microcomputer 11.
12 and decided to do so. Furthermore, serial I / O
The data transfer between the PCM buffer 112 and the PCM buffer 111
3 was performed. Also, transfer of PCM data between audio A / D and D / A 14 performed at a period of 32 kHz,
Since the audio processing 111111 performed at an 8 kHz cycle is performed in parallel, a PCM buffer 1111 having a double buffer configuration is used.
12 were provided.

【0050】チャネルコーデックドライバ1112との
インタフェースは、ADPCMデータの転送を行うとと
もに、受信ADPCMデータのミュート指示と音声遅延
の最小化調整の指示を受け付けるものである。5ms周
期で行うチャネルコーデックドライバ1112間のAD
PCMデータの転送と、8kHz周期で行う音声処理1
11111を並行して行うため、ダブルバッファ構成の
ADPCMバッファ111113を設けた。
The interface with the channel codec driver 1112 transfers ADPCM data and receives an instruction to mute received ADPCM data and an instruction to minimize audio delay. AD between channel codec drivers 1112 performed at 5 ms cycle
PCM data transfer and audio processing 1 with 8kHz cycle
To perform the operations 11111 in parallel, an ADPCM buffer 111113 having a double buffer configuration is provided.

【0051】また、受信したADPCMデータにビット
誤りが検出された場合など、これに対応する区間の音声
出力をミュートするため、チャネルコーデックドライバ
1112からの転送されたビット誤りがあるADPCM
データのミュートの指示を受け付けるミュート制御フラ
グMUTEを111113設けた。さらに、詳細は後で
説明するが、音声マネージャが通話時の音声処理におい
ては、チャネルコーデックドライバとADPCM CO
DECが処理するADPCMデータの遅延の最小化調整
を行うため、ADPCM CODEC処理とADPCM
バッファ転送の起動指示を受け付ける音声遅延調整フラ
グDLYADJ111114を設けた。
When a bit error is detected in the received ADPCM data, the ADPCM having the bit error transferred from the channel codec driver 1112 is used to mute the audio output in the corresponding section.
A mute control flag MUTE 111111 is provided for receiving a data mute instruction. Further, as will be described later in detail, in the voice processing during a call, the voice manager uses a channel codec driver and an ADPCM COD.
ADPCM CODEC processing and ADPCM processing are performed to minimize and adjust the delay of ADPCM data processed by the DEC.
An audio delay adjustment flag DLYADJ111114 for receiving a buffer transfer start instruction is provided.

【0052】また、図7に示したように、音声マネージ
ャ1111のモジュール構成は、ユーザソフトインタフ
ェースである起動モジュール11112と停止モジュー
ル11113、8kHz周期で音声処理を行う割り込み
モジュール11111の3つのモジュールで構成した。
As shown in FIG. 7, the module configuration of the voice manager 1111 is composed of three modules: a start module 11112 and a stop module 11113, which are user software interfaces, and an interrupt module 11111 which performs voice processing at a frequency of 8 kHz. did.

【0053】また、音声処理111111を行う割り込
みモジュール11111を8kHz周期で起動するた
め、1チップマイコン11内のシリアルI/O112、
DMAコントローラ113、割り込みコントローラ11
4を使用することにした。具体的には、音声用A/D,
D/A14の32kHzサンプリングのPCMデータ4
つ分をシリアルI/O112を介してDMA転送を行
い、このDMA転送終了で割り込みを発生させることに
した。なお、サンプリング周波数8、32kHz間の周
波数変換は、デジタルフィルタが行う。
Further, since the interrupt module 11111 for performing the audio processing 111111 is activated at a cycle of 8 kHz, the serial I / O 112 in the one-chip microcomputer 11
DMA controller 113, interrupt controller 11
4 was used. Specifically, audio A / D,
D / A14 32kHz sampling PCM data 4
DMA transfer is performed through the serial I / O 112, and an interrupt is generated at the end of the DMA transfer. The frequency conversion between the sampling frequency of 8 and 32 kHz is performed by a digital filter.

【0054】起動モジュール11112は、音声マネー
ジャ1111の割り込みモジュール1111を起動させ
るものであり、ユーザソフト3sからコール可能な関数
(サブルーチン)形式とした。
The activation module 11112 activates the interruption module 1111 of the voice manager 1111 and has a function (subroutine) format that can be called from the user software 3s.

【0055】具体的には、割り込みコントローラ114
にDMA転送終了割り込みの許可を行い、DMAコント
ローラ113にシリアルI/O112・PCMバッファ
111112間の送受4回分のDMA転送の設定・起動
を行い、シリアルI/O112に音声用A/D,D/A
14間のシリアルデータ転送の起動を行う。また、音声
マネージャ1111内の各種バッファ、変数や、ADP
CM CODECなどの各種音声処理の内部変数の初期
化も行う。
Specifically, the interrupt controller 114
, A DMA transfer end interrupt is permitted, the DMA controller 113 sets and starts four DMA transfers between the serial I / O 112 and the PCM buffer 111112, and the A / D and D / D for audio are sent to the serial I / O 112. A
14 for serial data transfer. Also, various buffers and variables in the audio manager 1111 and ADP
It also initializes internal variables for various audio processing such as CM CODEC.

【0056】停止モジュール11113は、音声マネー
ジャ1111の割り込みモジュール11111を停止さ
せるものであり、ユーザソフト3sからコール可能な関
数(サブルーチン)形式とした。具体的には、割り込み
コントローラ114にDMA転送終了割り込みの禁止を
行い、DMAコントローラ113にシリアルI/O11
2・PCMバッファ111112間のDMA転送の停止
を行い、シリアルI/O112に音声用A/D,D/A
112間のシリアルデータ転送の停止を行う。
The stop module 11113 stops the interrupt module 11111 of the voice manager 1111 and has a function (subroutine) format that can be called from the user software 3s. Specifically, the DMA controller 113 disables the DMA transfer end interrupt for the interrupt controller 114, and the serial I / O 11
2. DMA transfer between the PCM buffers 111112 is stopped, and A / D and D / A
The transfer of serial data between 112 is stopped.

【0057】割り込みモジュール11111は、割り込
みルーチン形式のものであり、PCMバッファ1111
12とシリアルI/O112を介した、音声用A/D,
D/A14間のPCMデータの4回分のDMA転送の終
了割り込み毎に起動するものである。具体的には、音声
用A/D,D/Aインタフェース処理として、ダブルバ
ッファ構成であるPCMバッファ111112のシリア
ルI/O112側バッファに対しPCMデータの格納及
び吸い上げを行った後、DMAコントローラ113にシ
リアルI/O112・PCMバッファ111112間の
送受4回分のDMA転送の再設定・再起動を行う。
The interrupt module 11111 is of an interrupt routine type, and includes a PCM buffer 1111.
A / D for audio through the I / O 112 and the serial I / O 112,
It is activated every time a DMA transfer interrupt of four times of PCM data between the D / A 14 is interrupted. Specifically, as the audio A / D and D / A interface processing, the PCM data is stored and downloaded to the serial I / O 112 side buffer of the PCM buffer 111112 having the double buffer configuration, and then the DMA controller 113 The DMA transfer for the four times of transmission and reception between the serial I / O 112 and the PCM buffer 111112 is reset and restarted.

【0058】また、音声処理111111としては、図
4に示した音声処理フローに沿って、サブルーチン形式
で作成したADPCM CODECなどの各種音声処理
をサブルーチンコールする。ここで、音声マネージャは
1111、5ms区間分のADPCMデータの符号化あ
るいは復号化が終了した場合、チャネルコーデックドラ
イバ1112間で5ms区間分のADPCMデータのや
り取りを行うため、ダブルバッファ構成であるADPC
Mバッファ111113のチャネルコーデックドライバ
1112側バッファに対しADPCMデータの格納ある
いは吸い上げを行う。
As the audio processing 111111, various audio processing such as an ADPCM codec created in a subroutine format are subroutine-called in accordance with the audio processing flow shown in FIG. Here, when encoding or decoding of the ADPCM data for the 1111 and 5 ms sections is completed, the voice manager exchanges the ADPCM data for the 5 ms section between the channel codec drivers 1112.
The ADPCM data is stored or downloaded into the channel codec driver 1112-side buffer of the M buffer 111113.

【0059】図8に、本発明の第2の実施例であるPH
S用1チップベースバンドLSIの音声マネージャの音
声用A/D,D/Aインタフェース及び割り込みモジュ
ール起動の制御タイミングを示す。
FIG. 8 shows a second embodiment of the present invention.
The control timing of the audio A / D and D / A interfaces and the interrupt module activation of the audio manager of the one-chip baseband LSI for S is shown.

【0060】なお、以下の説明では、シリアルI/O1
12のストローブ信号STS、受信レジスタフルフラグ
RDRF、受信レジスタSIRDR、受信シフトレジス
タSIRSR、送信レジスタエンプティフラグTDR
E、送信レジスタSITDR、送信シフトレジスタSI
TSRの引用を略称で行う。また、シリアルI/O11
2の転送クロックの図示は割愛した。
In the following description, the serial I / O1
12 strobe signals STS, reception register full flag RDRF, reception register SIRDR, reception shift register SIRSR, transmission register empty flag TDR
E, transmission register SITDR, transmission shift register SI
The TSR is cited by abbreviation. Also, the serial I / O11
The illustration of the transfer clock 2 is omitted.

【0061】ユーザソフト3sから起動モジュール11
112がコールされると、起動モジュール11112内
では、SITDR及びPCMバッファ111112にミ
ュートデータを格納した後、DMAコントローラ113
とシリアルI/O112の設定・起動を行う。
From the user software 3s to the activation module 11
When the 112 is called, the activation module 11112 stores the mute data in the SITDR and PCM buffer 111112, and then stores the mute data in the DMA controller 113.
And setting and activation of the serial I / O 112.

【0062】起動されたシリアルI/O112及びDM
Aコントローラ113は、以下のように動作を行う。
Activated serial I / O 112 and DM
The A controller 113 operates as follows.

【0063】音声D/A14からの受信動作において
は、シリアルI/O112は、STSのアサートを受け
ると、SRxD経由で音声用A/D14内PCMデータ
のSIRSRへのシリアル受信を開始し、PCMデータ
16ビット全てを受信すると、SIRSRの内容をSI
RDRに転送した後、RDRFをアサートする。また、
DMAコントローラ113は、RDRFのアサートを受
けると、SIRDRからPCMバッファ111112へ
のDMA転送を行う。さらに、シリアルI/O112
は、SITDRのDMA転送が行われると、RDRFを
ネゲートする。
In the receiving operation from the audio D / A 14, when the STS is asserted, the serial I / O 112 starts serial reception of the PCM data in the audio A / D 14 to the SIRSR via the SRxD and the PCM data. When all 16 bits are received, the contents of SIRSR are
After transferring to RDR, assert RDRF. Also,
Upon receiving the assertion of the RDRF, the DMA controller 113 performs a DMA transfer from the SIRDR to the PCM buffer 111112. Further, the serial I / O 112
Negates RDRF when SITDR DMA transfer is performed.

【0064】一方、音声D/A14への送信動作におい
ては、シリアルI/O112は、STSのアサートを受
けると、SITDRの内容をSITSRに転送した後、
TDREをアサートするとともに、STxD経由でSI
TSR内PCMデータの音声用D/A14へのシリアル
送信を開始する。また、DMAコントローラ113は、
TDREのアサートを受けると、PCMバッファ111
112からSITDRへのDMA転送を行う。さらに、
シリアルI/O112は、SITDRのDMA転送が行
われると、TDREをネゲートする。
On the other hand, in the transmission operation to the audio D / A 14, upon receiving the assertion of STS, the serial I / O 112 transfers the contents of SITDR to SITSR,
Assert TDRE and SI via STxD
The serial transmission of the PCM data in the TSR to the audio D / A 14 is started. Also, the DMA controller 113
When the TDRE is asserted, the PCM buffer 111
DMA transfer from 112 to SITDR is performed. further,
When the SITDR DMA transfer is performed, the serial I / O 112 negates the TDRE.

【0065】ここで、送受信動作におけるDMAタイミ
ングは、STSのアサートに対し、送信動作側のDMA
転送はすぐに実行されるが、受信動作側のDMA転送は
PCMデータ16ビット分の転送クロックだけ遅れる。
したがって、受信動作側の4回のDMA転送の終了によ
り、割り込みモジュール11111を起動することにし
た。
Here, the DMA timing in the transmission / reception operation corresponds to the STS assertion,
Although the transfer is executed immediately, the DMA transfer on the receiving operation side is delayed by a transfer clock for 16 bits of PCM data.
Therefore, the interrupt module 11111 is activated upon completion of the four DMA transfers on the receiving operation side.

【0066】図9に、本発明の第2の実施例であるPH
S用1チップベースバンドLSIの音声マネージャの通
話時におけるチャネルコーデックドライバインタフェー
スの制御タイミングを示す。
FIG. 9 shows a PH according to a second embodiment of the present invention.
The control timing of the channel codec driver interface during a call of the voice manager of the one-chip baseband LSI for S is shown.

【0067】音声マネージャ1111における送受信A
DPCMデータの転送制御は、以下の通りである。
Transmission / reception A in the voice manager 1111
The transfer control of the DPCM data is as follows.

【0068】エアーでは、1フレーム5ms区間のAD
PCMをTx1、Rx1スロットで送受信しいる。これ
に対し、チャネルコーデックドライバ1112は、Ai
rのスロットに同期して起動しており、Rx2スロット
においては、受信したADPCMデータの秘匿解除及び
秘匿解除したADPCMデータの音声マネージャ111
1への転送を行い、Rx4スロットにおいては、音声マ
ネージャ1111から送信するADPCMデータの転送
及びこれに対する秘匿制御を行う。一方、音声マネージ
ャ1111では、チャネルコーデックドライバ1112
間の送信/受信ADPCMデータ転送処理と送受信AD
PCMデータに対するADPCM符号化/復号化処理及
び各種アプリケーション信号処理を行う。
In air, the AD of 5 ms section per frame
PCM is transmitted and received in Tx1 and Rx1 slots. On the other hand, the channel codec driver 1112
In the Rx2 slot, the received ADPCM data is de-concealed and the voice manager 111 of the de-concealed ADPCM data is activated.
1, and in the Rx4 slot, transfer of ADPCM data transmitted from the voice manager 1111 and confidentiality control are performed. On the other hand, in the voice manager 1111, the channel codec driver 1112
Transmission / reception ADPCM data transfer processing and transmission / reception AD
ADPCM encoding / decoding processing and various application signal processing for PCM data are performed.

【0069】すなわち、音声マネージャ1111では、
5ms周期で行うチャネルコーデックドライバ1112
間のADPCMデータのバースト転送処理と、8kHz
周期で行う送受信ADPCMデータに対するADPCM
符号化/復号化処理及び各種アプリケーション信号処理
との2つの処理を、並列実行する必要がある。このた
め、音声マネージャ1111では、チャネルコーデック
ドライバ1112間の送信/受信音声データの転送のた
めのADPCMバッファを、ダブルバッファ構成にし、
以下のようなデータ転送を行うことにした。
That is, in the voice manager 1111,
Channel codec driver 1112 performed at a period of 5 ms
Burst transfer processing of ADPCM data between 8 kHz
ADPCM for transmission / reception ADPCM data performed periodically
It is necessary to execute two processes of encoding / decoding process and various application signal processes in parallel. For this reason, the audio manager 1111 has an ADPCM buffer for transferring transmission / reception audio data between the channel codec drivers 1112 in a double buffer configuration.
We decided to perform the following data transfer.

【0070】受信系においては、Airのスロットに同
期して起動するチャネルコーデックドライバ1112
は、Rx1スロットで受信した5ms区間分のADPC
Mデータの秘匿解除を行った後、5ms区間分のADP
CMデータを受信ADPCMバッファ1RAB1へ格納
する。一方、8kHz周期で起動する音声マネージャ割
り込みモジュール11111は、受信ADPCMバッフ
ァ2RAB2に格納されたADPCMデータを受信AD
PCMバッファ2用ポインタRAB2Pを用いて1サン
プルずつ取り出し、ADPCM復号化処理や各種アプリ
ケーション処理を行い、音声用D/A14にPCMデー
タを送信することで、受信した5ms区間分の音声を出
力する。また、音声マネージャ割り込みモジュール11
111は、受信ADPCMバッファ2RAB2に格納し
た5ms区間分すなわち40サンプル全てに対する音声
処理が終了したことを、受信ADPCMバッファ2用ポ
インタラB2Pにより判定すると、受信ADPCMバッ
ファ1RAB1内に格納されている次の5ms区間分の
ADPCMデータを、受信ADPCMバッファ2RAB
2に転送する。
In the receiving system, a channel codec driver 1112 activated in synchronization with the Air slot
Is ADPC for 5ms section received in Rx1 slot
ADP for 5ms section after de-concealing M data
The CM data is stored in the reception ADPCM buffer 1RAB1. On the other hand, the voice manager interrupt module 11111 activated at a period of 8 kHz receives the ADPCM data stored in the reception ADPCM buffer 2RAB2 and receives the ADPCM data.
Using the PCM buffer 2 pointer RAB2P, samples are taken out one sample at a time, ADPCM decoding processing and various application processing are performed, and PCM data is transmitted to the audio D / A 14 to output received 5 ms section audio. The voice manager interrupt module 11
111 determines that the audio processing for the 5 ms section stored in the reception ADPCM buffer 2RAB2, that is, for all of the 40 samples, has been completed by the pointer B2P for the reception ADPCM buffer 2 and the next 5 ms stored in the reception ADPCM buffer 1RAB1. The ADPCM data for the section is received by the reception ADPCM buffer 2 RAB.
Transfer to 2.

【0071】一方、送信系の音声マネージャ割り込みモ
ジュール11111は、音声用A/D14から受信した
PCMデータに対し、各種アプリケーション処理やAD
PCM符号化処理を行い、ADPCMデータを送信AD
PCMバッファ2TAB2へ送信ADPCMバッファ2
用ポインタTAB2Pを用いて1サンプルずつ格納す
る。また、音声マネージャ割り込みモジュール1111
1は、送信ADPCMバッファ2TAB2へのADPC
Mデータの格納が5ms区間分すなわち40サンプル全
て終了したことを、送信ADPCMバッファ2用ポイン
タTAB2Pにより判定すると、送信ADPCMバッフ
ァ2TAB2内にある5ms区間分のADPCMデータ
を、送信ADPCMバッファ1TAB1に転送する。一
方、チャネルコーデックドライバ1112は、送信AD
PCMバッファ1TAB1に格納された5ms区間分の
ADPCMデータの秘匿制御を行った後、Tx1スロッ
トで送信する。
On the other hand, the voice manager interrupt module 11111 of the transmission system performs various application processing and AD processing on the PCM data received from the voice A / D 14.
Performs PCM encoding and sends ADPCM data
ADPCM buffer 2 transmitted to PCM buffer 2 TAB2
Each sample is stored using the pointer TAB2P. Also, the voice manager interrupt module 1111
1 is an ADPC to the transmission ADPCM buffer 2 TAB2
When it is determined by the transmission ADPCM buffer 2 pointer TAB2P that the storage of the M data has been completed for the 5 ms section, that is, for all 40 samples, the ADPCM data for the 5 ms section in the transmission ADPCM buffer 2TAB2 is transferred to the transmission ADPCM buffer 1TAB1. . On the other hand, the channel codec driver 1112
After performing concealment control of the ADPCM data for the 5 ms section stored in the PCM buffer 1TAB1, the transmission is performed in the Tx1 slot.

【0072】音声マネージャにおける音声遅延の最小化
制御は、以下の通りである。
The control for minimizing the audio delay in the audio manager is as follows.

【0073】音声遅延とは、一方が発した音声が相手が
聞くまでの時間であり、小さいことが望まれる。
The voice delay is the time required for the other party to hear the voice uttered by one party, and is desirably small.

【0074】したがって、チャネルコーデックドライバ
1112・音声マネージャ割り込みモジュール1111
1間の音声遅延の最小化制御として、音声マネージャ割
り込みモジュール11111は、チャネルコーデックド
ライバ1112の秘匿解除処理の直後から秘匿解除され
た受信ADPCMデータに対する音声処理を行い、一
方、チャネルコーデックドライバ1112の秘匿制御処
理の直前までの音声処理によるADPCMデータを、チ
ャネルコーデックドライバ1112へ転送することにし
た。
Therefore, the channel codec driver 1112 and the voice manager interrupt module 1111
As a control for minimizing the audio delay between the two, the audio manager interrupt module 11111 performs audio processing on the de-concealed received ADPCM data immediately after the de-encryption processing of the channel codec driver 1112, while the secrecy of the channel codec driver 1112 is performed. ADPCM data obtained by audio processing immediately before the control processing is transferred to the channel codec driver 1112.

【0075】ここで、チャネルコーデックドライバ11
12・音声マネージャ割り込みモジュール11111間
の音声遅延の最小化制御のための受信/送信ADPCM
バッファ転送タイミングはチャネルコーデックドライバ
1112のみが把握できるものなので、チャネルコーデ
ックドライバ1112から、受信/送信ADPCMバッ
ファのアクセス及びADPCM符号化/復号化処理の起
動/停止の指示を受け付けるため、音声遅延調整フラグ
としてDLYADJフラグ111115を設けた。
Here, the channel codec driver 11
12. Reception / transmission ADPCM for controlling voice delay minimization between voice manager interrupt modules 11111
Since the buffer transfer timing can be grasped only by the channel codec driver 1112, the audio delay adjustment flag is received from the channel codec driver 1112 to receive an instruction to access the reception / transmission ADPCM buffer and to start / stop the ADPCM encoding / decoding process. DLYADJ flag 111115 is provided.

【0076】具体的には、ユーザソフト3sからコール
される音声マネージャ起動モジュール11112では、
受信/送信ADPCMバッファ2用ポインタRAB2P
/TAB2Pをそれぞれ4、3に初期化し、かつ、DL
YADJフラグ111115により受信/送信ADPC
Mバッファ2RAB2/TAB2のアクセス及びADP
CM符号化/復号化処理の起動/停止させた状態で、音
声マネージャ割り込みモジュール11111を起動する
ことにした。一方、DLYADJフラグ111115の
起動設定は、チャネルコーデックドライバ1112のR
x4で行う秘匿制御時に行うことにした。
Specifically, in the voice manager activation module 11112 called from the user software 3s,
Pointer RAB2P for receive / transmit ADPCM buffer 2
/ TAB2P is initialized to 4 and 3, respectively, and DL
Reception / transmission ADPC by YADJ flag 111115
M buffer 2 RAB2 / TAB2 access and ADP
In a state where the CM encoding / decoding process is started / stopped, the voice manager interrupt module 11111 is started. On the other hand, the activation setting of the DLYADJ flag 111115 is determined by the R code of the channel codec driver 1112.
It was decided to perform it at the time of confidentiality control performed by x4.

【0077】これにより、音声マネージャ割り込みモジ
ュール11111は、チャネルコーデックドライバ11
12の秘匿解除処理の直後に、受信ADPCMバッファ
2用ポインタRAB2Pが0になり、一方、チャネルコ
ーデックドライバ1112の秘匿制御処理の直前に、送
信ADPCMバッファ2用ポインタTAB2Pが0にな
る。すなわち、受信/送信において、チャネルコーデッ
クドライバ1112・音声マネージャ割り込みモジュー
ル11111間でのADPCMデータ転送の遅延を小さ
くできる。
As a result, the voice manager interrupt module 11111
Immediately after the concealment release processing of No. 12, the pointer RAB2P for the reception ADPCM buffer 2 becomes 0, while immediately before the concealment control processing of the channel codec driver 1112, the pointer TAB2P for the transmission ADPCM buffer 2 becomes 0. That is, in the reception / transmission, the delay of the ADPCM data transfer between the channel codec driver 1112 and the voice manager interrupt module 11111 can be reduced.

【0078】なお、図示したように、実際にはマージン
をとっている。これは、上位割り込みの多重発生や割り
込みのジッタなどを考慮したためである。
As shown, a margin is actually provided. This is because multiple occurrences of higher-order interrupts and jitter of interrupts are taken into account.

【0079】音声マネージャにおける自動受信ミュート
制御は、以下の通りである。
The automatic reception mute control in the voice manager is as follows.

【0080】自動受信ミュート制御とは、受信ADPC
Mデータにビット誤りが検出された場合など、これに対
応する区間の音声出力をミュートする必要があり、この
制御を行うものである。
The automatic reception mute control means that the reception ADPC
For example, when a bit error is detected in the M data, it is necessary to mute the audio output in the section corresponding to this, and this control is performed.

【0081】この自動受信ミュート制御のオン/オフの
指示はチャネルコーデックドライバ1112のみが把握
できるものなので、チャネルコーデックドライバ111
2から、受信ADPCMデータのミュートの指示を受け
付けるため、ミュート制御フラグとしてMUTEフラグ
111114を設けた。
Since the ON / OFF instruction of the automatic reception mute control can be grasped only by the channel codec driver 1112, the channel codec driver 111
2, a MUTE flag 111114 is provided as a mute control flag to accept an instruction to mute the received ADPCM data.

【0082】具体的には、音声マネージャ割り込みモジ
ュール11111は、受信ADPCMバッファ1RAB
1から受信ADPCMバッファ2RAB2へのデータコ
ピー処理時にMUTEフラグ111114を判定し、ミ
ュートオンの場合は受信ADPCMバッファ2RAB2
へはミュートデータを格納し、一方、ミュートオフの場
合は受信ADPCMバッファ1RAB1から受信ADP
CMバッファ2RAB2へのデータコピーを行う。
More specifically, the voice manager interrupt module 11111 controls the reception ADPCM buffer 1RAB.
The MUTE flag 111114 is determined at the time of data copy processing from 1 to the reception ADPCM buffer 2RAB2, and if mute is on, the reception ADPCM buffer 2RAB2
Stores mute data. On the other hand, in the case of mute off, the reception ADPM buffer 1
The data is copied to the CM buffer 2RAB2.

【0083】本実施例によれば、移動体通信のレイヤ1
処理を行うチャネルコーデックと、移動体通信の音声符
号化復号化処理を行う音声コーデックと、移動体通信の
レイヤ2,3処理及びマンマシンなどのシステム制御処
理を行うMPUと、を有する移動体通信端末用LSIに
おいて、チャネルコーデックと音声コーデックとの間
と、音声用A/D,D/Aと音声コーデックとの間との
音声データ転送を管理制御する音声管理制御機能と、P
HSの音声機能であるADPCMコーデック、トーン発
生器、トーン検出器、アッテネータ、サイドトーン、フ
ィルタ、エコーサプレッサ、音声圧縮をプログラムで実
現し、かつ、LSI内メモリに搭載できる。
According to the present embodiment, the layer 1 of the mobile communication
Mobile communication including a channel codec for performing processing, a voice codec for performing voice coding / decoding processing for mobile communication, and an MPU for performing system control processing such as layer 2 and 3 processing of mobile communication and a man-machine. In a terminal LSI, a voice management control function for managing and controlling voice data transfer between a channel codec and a voice codec and between voice A / D and D / A and a voice codec;
The ADPCM codec, tone generator, tone detector, attenuator, side tone, filter, echo suppressor, and voice compression, which are HS voice functions, can be implemented by a program, and can be mounted in the memory in the LSI.

【0084】したがって、PHS用1チップLSIのハ
ードウエア規模を小さくできるので、PHS用1チップ
LSIの低価格化及び低消費電力化を実現できる。
Therefore, since the hardware scale of the one-chip LSI for PHS can be reduced, the price and power consumption of the one-chip LSI for PHS can be reduced.

【0085】また、PHS用1チップLSIのシステム
構成をソフトウエアに依存させることができるので、市
場変化へ対応するための機能の変更や追加を容易にし、
開発期間の短縮を実現できる。
Further, since the system configuration of the PHS one-chip LSI can be made dependent on software, it is easy to change or add functions for responding to market changes.
The development period can be shortened.

【0086】[0086]

【発明の効果】本発明によれば、移動体通信のレイヤ1
処理を行うチャネルコーデックと、移動体通信の音声符
号化復号化処理を行う音声コーデックと、移動体通信の
レイヤ2,3処理及びマンマシンなどのシステム制御処
理を行うMPUと、を有する移動体通信端末用LSIに
おいて、チャネルコーデックと音声コーデックとの間の
音声データ転送を管理制御する音声管理制御機能をプロ
グラムで実現し、かつ、LSI内メモリに搭載できる。
According to the present invention, layer 1 of mobile communication is provided.
Mobile communication including a channel codec for performing processing, a voice codec for performing voice coding / decoding processing for mobile communication, and an MPU for performing system control processing such as layer 2 and 3 processing of mobile communication and a man-machine. In a terminal LSI, a voice management control function for managing and controlling voice data transfer between a channel codec and a voice codec can be realized by a program and mounted on a memory in the LSI.

【0087】したがって、移動体通信端末用LSIのハ
ードウエア規模を小さくできるので、移動体通信端末用
LSIの低価格化及び低消費電力化を実現できる。
Therefore, the hardware scale of the mobile communication terminal LSI can be reduced, so that the cost and power consumption of the mobile communication terminal LSI can be reduced.

【0088】また、移動体通信端末用LSIのシステム
構成をソフトウエアに依存させることができるので、市
場変化へ対応するための機能の変更や追加を容易にし、
開発期間の短縮を実現できる。
Further, since the system configuration of the mobile communication terminal LSI can be made dependent on software, it is easy to change or add functions for responding to market changes.
The development period can be shortened.

【図面の簡単な説明】[Brief description of the drawings]

【図1】本発明の実施例である移動体通信端末用1チッ
プベースバンドLSIを用いた移動体通信端末のシステ
ム構成図を示す。
FIG. 1 is a system configuration diagram of a mobile communication terminal using a one-chip baseband LSI for a mobile communication terminal according to an embodiment of the present invention.

【図2】本発明の第1の実施例である移動体通信端末用
1チップベースバンドLSIにおける音声管理制御プロ
グラムによる音声処理の動作シーケンスの図を示す。
FIG. 2 is a diagram showing an operation sequence of voice processing by a voice management control program in a one-chip baseband LSI for a mobile communication terminal according to a first embodiment of the present invention.

【図3】本発明の第2の実施例であるPHS用1チップ
ベースバンドLSIを用いたPHS子機のシステム構成
図を示す。
FIG. 3 is a system configuration diagram of a PHS slave device using a one-chip baseband LSI for PHS according to a second embodiment of the present invention.

【図4】本発明の第2の実施例であるPHS用1チップ
ベースバンドLSIを用いたPHS子機のソフトウエア
階層構造の図を示す。
FIG. 4 is a diagram showing a software hierarchical structure of a PHS slave device using a one-chip baseband LSI for PHS according to a second embodiment of the present invention.

【図5】本発明の第2の実施例であるPHS用1チップ
ベースバンドLSIを用いたPHS子機の通話における
音声データの処理タイミング図を示す。
FIG. 5 is a timing chart of processing voice data in a call of a PHS slave unit using a one-chip baseband LSI for PHS according to a second embodiment of the present invention.

【図6】本発明の第2の実施例であるPHS用1チップ
ベースバンドLSIの音声処理ブロックダイヤグラムを
示す。
FIG. 6 shows an audio processing block diagram of a one-chip baseband LSI for PHS according to a second embodiment of the present invention.

【図7】本発明の第2の実施例であるPHS用1チップ
ベースバンドLSIの音声マネージャのブロックダイヤ
グラムを示す。
FIG. 7 is a block diagram of a voice manager of a one-chip baseband LSI for PHS according to a second embodiment of the present invention.

【図8】本発明の第2の実施例であるPHS用1チップ
ベースバンドLSIの音声マネージャの音声用A/D,
D/Aインタフェース及び割り込みモジュール起動の制
御タイミングを示す。
FIG. 8 shows an A / D for voice of a voice manager of a one-chip baseband LSI for PHS according to a second embodiment of the present invention;
The control timing of the D / A interface and the activation of the interrupt module is shown.

【図9】本発明の実施例であるPHS用1チップベース
バンドLSIの音声マネージャの通話時におけるチャネ
ルコーデックドライバインタフェースの制御タイミング
を示す。
FIG. 9 shows control timing of a channel codec driver interface during a call of a voice manager of a one-chip baseband LSI for PHS according to an embodiment of the present invention.

【符号の説明】[Explanation of symbols]

1…PHS用1チップベースバンドLSI、11…1チ
ップマイコン、14…音声用A/D,D/A、111…
ミドルウエア、112…コントローラ、113…DMA
コントローラ、114…割り込みコントローラ、111
1…音声マネージャ、1112…チャネルコーデックド
ライバ、3s…ユーザソフト、11111…割り込みモ
ジュール、11112…起動モジュール、11113…
停止モジュール、111111…音声処理、11111
2…PCMバッファ、111113…ADPCMバッフ
ァ、111114…ミュートフラグ、111115…音
声遅延調整フラグ。
DESCRIPTION OF SYMBOLS 1 ... One chip baseband LSI for PHS, 11 ... One chip microcomputer, 14 ... Audio A / D, D / A, 111 ...
Middleware, 112: Controller, 113: DMA
Controller 114 interrupt controller 111
DESCRIPTION OF SYMBOLS 1 ... Voice manager, 1112 ... Channel codec driver, 3s ... User software, 11111 ... Interrupt module, 11112 ... Activation module, 11113 ...
Stop module, 111111 ... voice processing, 11111
2 PCM buffer, 111113 ADPCM buffer, 111114 Mute flag, 111115 Audio delay adjustment flag.

Claims (8)

【特許請求の範囲】[Claims] 【請求項1】移動体通信のレイヤ1処理を行うチャネル
コーデックと、移動体通信の音声符号化復号化処理を行
う音声コーデックと、移動体通信のレイヤ2,3処理及
びマンマシンなどのシステム制御処理を行うMPUと、
を有する移動体通信端末用LSIにおいて、メモリと、
前記メモリに搭載し、かつ、チャネルコーデックと音声
コーデックとの間で音声符号化データを転送する音声管
理制御プログラムと、を有することを特徴とする移動体
通信端末用LSI。
1. A channel codec for performing layer 1 processing of mobile communication, a voice codec for performing voice coding / decoding processing of mobile communication, layer 2 and 3 processing of mobile communication, and system control of man-machine and the like. An MPU for processing;
A mobile communication terminal LSI having a memory;
And a voice management control program mounted on the memory and transferring voice encoded data between a channel codec and a voice codec.
【請求項2】移動体通信のレイヤ1処理を行うチャネル
コーデックと、移動体通信の音声符号化復号化処理を行
う音声コーデックと、移動体通信のレイヤ2,3処理及
びマンマシンなどのシステム制御処理を行うMPUと、
を有する移動体通信端末用LSIにおいて、メモリと、
前記メモリに搭載し、かつ、チャネルコーデックと音声
コーデックとの間で音声符号化データを転送する音声管
理制御プログラムと、音声管理制御プログラムを起動す
る割り込みコントローラと、を有することを特徴とする
移動体通信端末用LSI。
2. A channel codec for performing layer 1 processing of mobile communication, a voice codec for performing voice encoding / decoding processing of mobile communication, layer 2 and 3 processing of mobile communication, and system control such as man-machine. An MPU for processing;
A mobile communication terminal LSI having a memory;
A moving body mounted on the memory and having a voice management control program for transferring voice coded data between a channel codec and a voice codec; and an interrupt controller for activating the voice management control program. LSI for communication terminals.
【請求項3】移動体通信のレイヤ1処理を行うチャネル
コーデックと、移動体通信の音声符号化復号化処理を行
う音声コーデックと、移動体通信のレイヤ2,3処理及
びマンマシンなどのシステム制御処理を行うMPUと、
を有する移動体通信端末用LSIにおいて、メモリと、
前記メモリに搭載し、かつ、チャネルコーデックと音声
コーデックとの間で音声符号化データを転送する音声管
理制御プログラムと、音声起動要求制御手段からの音声
起動要求の発生を受けると、音声管理制御プログラムを
起動する割り込みコントローラと、音声コーデックが扱
うPCMデータのアクセスが可能であると、割り込みコ
ントローラへの音声管理制御プログラムの起動要求とし
て音声起動要求を発生する音声起動要求制御手段と、を
有することを特徴とする移動体通信端末用LSI。
3. A channel codec for performing layer 1 processing of mobile communication, a voice codec for performing voice coding / decoding processing of mobile communication, layer 2 and 3 processing of mobile communication, and system control of a man-machine. An MPU for processing;
A mobile communication terminal LSI having a memory;
A voice management control program mounted on the memory, and for transferring voice encoded data between a channel codec and a voice codec; and a voice management control program when receiving a voice activation request from voice activation request control means. And an audio activation request control means for generating an audio activation request as an activation request of the audio management control program to the interrupt controller when the PCM data handled by the audio codec is accessible. Characteristic LSI for mobile communication terminals.
【請求項4】移動体通信のレイヤ1処理を行うチャネル
コーデックと、移動体通信の音声符号化復号化処理を行
う音声コーデックと、移動体通信のレイヤ2,3処理及
びマンマシンなどのシステム制御処理を行うMPUと、
を有する移動体通信端末用LSIにおいて、メモリと、
前記メモリに搭載し、かつ、チャネルコーデックと音声
コーデックとの間で音声符号化データを転送し、かつ、
音声用A/D,D/Aと音声コーデックとの間でPCM
データを転送する音声管理制御プログラムと、音声用A
/D,D/Aからの音声起動要求の発生を受けると、音
声管理制御プログラムを起動する割り込みコントローラ
と、移動体通信端末のマイク/スピーカのアナログ音声
と移動体通信の音声コーデックが扱うPCMデータとの
間のA/D変換,D/A変換を行い、かつ、A/D変換
あるいはD/A変換が終了することでPCMデータのア
クセスが可能となると、割り込みコントローラへの音声
管理制御プログラムの起動要求として音声起動要求を発
生し、音声管理制御プログラムがPCMデータのアクセ
スを行うと、音声起動要求を終了する音声用A/D,D
/Aと、を有することを特徴とする移動体通信端末用L
SI。
4. A channel codec for performing layer 1 processing of mobile communication, a voice codec for performing voice encoding / decoding processing of mobile communication, layer 2 and 3 processing of mobile communication, and system control of man-machine and the like. An MPU for processing;
A mobile communication terminal LSI having a memory;
Mounted in the memory, and transfer voice encoded data between a channel codec and a voice codec, and,
PCM between audio A / D, D / A and audio codec
A voice management control program for transferring data, and a voice A
/ D, an interrupt controller that starts a voice management control program when a voice activation request is received from D / A, analog voice of a microphone / speaker of a mobile communication terminal, and PCM data handled by a voice codec of a mobile communication. When the A / D conversion or D / A conversion between the PC and the PCM data is enabled by the completion of the A / D conversion or the D / A conversion, the voice management control program is transmitted to the interrupt controller. When an audio activation request is generated as an activation request and the audio management control program accesses the PCM data, the audio A / D, D for ending the audio activation request is terminated.
/ A for mobile communication terminals, comprising:
SI.
【請求項5】請求項1ないし4のいずれか1項記載の移
動体通信端末用LSIにおいて、音声管理制御プログラ
ムは、音声コーデックの初期化制御,起動制御,停止制
御の内すくなくとも1つを管理制御することを特徴とす
る移動体通信用LSI。
5. The mobile communication terminal LSI according to claim 1, wherein the voice management control program manages at least one of initialization control, activation control, and stop control of the voice codec. An LSI for mobile communication characterized by controlling.
【請求項6】請求項1ないし5のいずれか1項記載の移
動体通信端末用LSIにおいて、移動体通信の音声コー
デック以外の音声機能として、トーン発生器、トーン検
出器、音声検出器、アッテネータ、サイドトーン、フィ
ルタ、エコーキャンセラ、エコーサプレッサ、シンゼサ
イザ、音声認識、音声合成、音声圧縮、受信エラー時の
受信音声データの置換のうち少なくとも1つを有し、音
声管理制御プログラムは、音声コーデックとこれ以外の
音声機能との間でPCMを転送し、かつ、音声コーデッ
ク以外の音声機能の初期化制御,起動制御,停止制御の
内すくなくとも1つを管理制御することを特徴とする移
動体通信用LSI。
6. The mobile communication terminal LSI according to claim 1, wherein the voice function other than the voice codec of the mobile communication includes a tone generator, a tone detector, a voice detector, and an attenuator. , Side tone, filter, echo canceller, echo suppressor, synthesizer, voice recognition, voice synthesis, voice compression, replacement of received voice data at the time of a reception error, the voice management control program includes a voice codec and A mobile communication system for transferring PCM with other voice functions and managing and controlling at least one of initialization control, activation control, and stop control of voice functions other than the voice codec. LSI.
【請求項7】請求項1ないし6のいずれか1項記載の移
動体通信端末用LSIにおいて、移動体通信の音声機能
である音声コーデック、トーン発生器、トーン検出器、
音声検出器、アッテネータ、サイドトーン、フィルタ、
エコーキャンセラ、エコーサプレッサ、シンゼサイザ、
音声認識、音声合成、音声圧縮、受信エラー時の受信音
声データの置換のうち少なくとも1つをプログラムで実
現し、かつ、前記メモリに搭載することを特徴とする移
動体通信用LSI。
7. The mobile communication terminal LSI according to claim 1, wherein a voice codec, a tone generator, a tone detector, and a voice function, which are voice functions of the mobile communication, are provided.
Voice detector, attenuator, side tone, filter,
Echo canceller, echo suppressor, synthesizer,
An LSI for mobile communication, wherein at least one of voice recognition, voice synthesis, voice compression, and replacement of received voice data at the time of a reception error is realized by a program, and is mounted on the memory.
【請求項8】請求項1ないし7のいずれか1項記載の移
動体通信端末用LSIにおいて、音声コーデックがAD
PCMコーデックであることを特徴とする移動体通信用
LSI。
8. The mobile communication terminal LSI according to claim 1, wherein the audio codec is AD.
An LSI for mobile communication, which is a PCM codec.
JP10188505A 1998-07-03 1998-07-03 Lsi for mobile communication terminal Pending JP2000022623A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP10188505A JP2000022623A (en) 1998-07-03 1998-07-03 Lsi for mobile communication terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP10188505A JP2000022623A (en) 1998-07-03 1998-07-03 Lsi for mobile communication terminal

Publications (1)

Publication Number Publication Date
JP2000022623A true JP2000022623A (en) 2000-01-21

Family

ID=16224908

Family Applications (1)

Application Number Title Priority Date Filing Date
JP10188505A Pending JP2000022623A (en) 1998-07-03 1998-07-03 Lsi for mobile communication terminal

Country Status (1)

Country Link
JP (1) JP2000022623A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2002006887A (en) * 2000-06-21 2002-01-11 Olympus Optical Co Ltd Sound recording and reproducing device
JP2004505537A (en) * 2000-08-01 2004-02-19 シーメンス アクチエンゲゼルシヤフト TDMA transmission / reception unit
CN104240708A (en) * 2013-06-20 2014-12-24 重庆重邮信科通信技术有限公司 Chip of integrated audio codec and terminal device

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2002006887A (en) * 2000-06-21 2002-01-11 Olympus Optical Co Ltd Sound recording and reproducing device
JP2004505537A (en) * 2000-08-01 2004-02-19 シーメンス アクチエンゲゼルシヤフト TDMA transmission / reception unit
CN104240708A (en) * 2013-06-20 2014-12-24 重庆重邮信科通信技术有限公司 Chip of integrated audio codec and terminal device

Similar Documents

Publication Publication Date Title
JP3320749B2 (en) Processor for voice band telecommunications
US8200479B2 (en) Method and system for asymmetric independent audio rendering
US20080232523A1 (en) Method And System For Mixing A Plurality Of Audio Sources In An FM Transmitter
US7937076B2 (en) Software defined radio for loading waveform components at runtime in a software communications architecture (SCA) framework
CA2686955C (en) A radio frequency apparatus
US10572410B2 (en) Function-specific communication on a multi-drop bus for coexistence management
US6516359B1 (en) Information processing method and apparatus, automotive information system and method of controlling the same, and storage medium on which an information processing program is stored
CN101453516A (en) Bluetooth MP3 playing method on mobile phone and mobile phone thereof
US20070219802A1 (en) Wireless speech recognition
JPH0675680A (en) Key pad scanner mechanism and method for scanning key pad
CN100568155C (en) Control is used for the device and the correlation technique of the digital signal processor of radio isolation
US20020041589A1 (en) Voice communication between a portable communication apparatus and an external terminal
EP0856951B1 (en) Operating system interface for use with multitasking GSM protocol stacks
US7003277B2 (en) Portable communication terminal, communication method of the portable communication terminal, program, and recording medium having the program recorded thereon
JP2000022623A (en) Lsi for mobile communication terminal
JPH1079981A (en) Voice recording method in mobile communication device and mobile communication device
US20100216506A1 (en) System and Methods for Supporting Multiple Communications Protocols on a Mobile Phone Device
US20060068843A1 (en) Mobile audio platform architecture and method thereof
US20070207735A1 (en) Mobile communication terminal having wireless communication module and sound output control method thereof
TM Technical reference manual
US8732513B2 (en) Method and system for a message processor switch for performing incremental redundancy in edge compliant terminals
US7647067B2 (en) Information processing apparatus and a cellular phone
CN102970394A (en) Semiconductor device, radio communication terminal using the same, and control method
WO1998028921A2 (en) Gsm transceiver with portable protocol stack
WO2024007974A1 (en) Clock synchronization method and electronic device