CN216673050U - Telephone set - Google Patents

Telephone set Download PDF

Info

Publication number
CN216673050U
CN216673050U CN202122733678.9U CN202122733678U CN216673050U CN 216673050 U CN216673050 U CN 216673050U CN 202122733678 U CN202122733678 U CN 202122733678U CN 216673050 U CN216673050 U CN 216673050U
Authority
CN
China
Prior art keywords
control unit
micro control
phone
communication interface
interface
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.)
Active
Application number
CN202122733678.9U
Other languages
Chinese (zh)
Inventor
徐飞
沈洪辉
李壮永
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.)
GHT CO Ltd
Original Assignee
GHT CO 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 GHT CO Ltd filed Critical GHT CO Ltd
Priority to CN202122733678.9U priority Critical patent/CN216673050U/en
Application granted granted Critical
Publication of CN216673050U publication Critical patent/CN216673050U/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Telephone Function (AREA)

Abstract

The utility model provides a phone, which comprises a micro control unit, a voice chip and a phone key, wherein the voice chip is connected with a first communication interface of the micro control unit; the phone key is connected with a second communication interface of the micro control unit; and the third communication interface of the micro control unit is connected with a central processing unit of an external device through a universal serial bus. According to the utility model, the micro control unit is additionally arranged in the phone, the first communication interface of the micro control unit is connected with the voice chip, various audio sampling frequencies can be provided, the flexibility is improved, the second communication interface of the micro control unit is connected with the phone keys and used for detecting the information of the phone keys, and the third communication module of the micro control unit is connected with the central processing unit of the external equipment through the universal serial bus, so that the universality of connection between the equipment is improved.

Description

Telephone set
Technical Field
The utility model relates to the technical field of communication, in particular to a telephone.
Background
The development of the network technology promotes the development of the communication mode of the telephone, the telephone is connected with a central processing unit of external equipment, the central processing unit is accessed into the internet, and the communication between the telephones is realized through the internet.
At present, the connection mode between the phone and the central processing unit of the external device generally includes the following two types: the first connection mode is that the central processing unit is connected with a voice chip in the phone through an I2S interface of the central processing unit, and is used for realizing the transmission of audio data between external equipment and the phone, and the central processing unit is also connected with the phone through a universal input/output interface of the central processing unit and is used for monitoring key information of the phone; the second connection mode is that a special USB audio chip is arranged in the phone, and the central processing unit is used for transmitting audio data and key information of the phone by connecting the USB interface of the central processing unit with the USB audio chip.
In the prior art, a connection mode between a phone and an external device is realized through an I2S interface of a central processing unit and a general input/output interface, and because an on-board interface resource of the central processing unit of the external device is used, different driving programs need to be realized for different central processing units, and the phone can be matched and connected with a voice chip in the phone, so that the universality is poor; the number of audio sampling frequencies provided by the special USB audio chip is small, and the flexibility is poor because only 16KHz audio sampling frequency is provided generally.
SUMMERY OF THE UTILITY MODEL
The utility model provides a telephone, wherein a micro control unit is respectively connected with a voice chip and a telephone key and then connected with a central processing unit of external equipment through a universal serial bus, so that the problem that the universality and the flexibility cannot be considered in the connection between the telephone and the central processing unit of the external equipment in the prior art is solved.
In order to solve the above technical problem, an embodiment of the present invention provides a phone, including a micro control unit, a voice chip, and a phone key;
the voice chip is connected with a first communication interface of the micro control unit;
the phone key is connected with a second communication interface of the micro control unit;
and the third communication interface of the micro control unit is connected with a central processing unit of an external device through a universal serial bus.
As an improvement, the second communication interface of the micro control unit is specifically a general purpose input/output port.
As an improvement, the first communication interface of the mcu includes an I2S interface and an I2C interface of the mcu, and the voice chip is connected to the first communication interface of the mcu, which specifically includes:
the first communication interface of the voice chip is connected with the I2S interface of the micro-control unit through an I2S bus; the second communication interface of the voice chip is connected with the I2C interface of the micro control unit through an I2C bus.
As an improvement, the third communication interface of the micro control unit is a USB interface;
the third communication interface of the micro control unit is connected with a central processing unit of an external device through a universal serial bus, and specifically comprises:
and the USB interface of the micro control unit is connected with the USB interface of the central processing unit of the external equipment through a universal serial bus.
As an improvement, the voice chip comprises an analog-to-digital converter.
As an improvement, the phone further comprises a voice acquisition module; and the input interface of the voice chip is connected with the voice acquisition module.
As an improvement, the voice chip comprises a digital-to-analog converter.
As an improvement, the phone further comprises a voice playing module; and the output interface of the voice chip is connected with the voice playing module.
Compared with the prior art, the phone provided by the embodiment of the utility model has the beneficial effects that the micro control unit is added in the phone, the phone comprises the micro control unit, the voice chip and the phone key, the first communication interface of the micro control unit is connected with the voice chip, all audio sampling frequencies from 16KHz to 96KHz can be provided, and the sampling flexibility is improved; the second communication interface of the micro control unit is connected with the phone keys and used for detecting information of the phone keys, the third communication module of the micro control unit is connected with the central processing unit of the external device through the universal serial bus, and because the common central processing unit provides the USB hardware interface and the corresponding driving program, the central processing unit does not need to be developed additionally to obtain the corresponding hardware interface and the corresponding driving program, and the universality of connection between devices is improved.
Drawings
Fig. 1 is a schematic structural diagram of a phone according to an embodiment of the present invention;
fig. 2 is a schematic structural diagram of a phone according to an embodiment of the present invention;
fig. 3 is a flowchart illustrating a design of a mcu according to an embodiment of the present invention.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments, which can be obtained by a person skilled in the art without inventive step based on the embodiments of the present invention, are within the scope of protection of the present invention.
Referring to fig. 1, an embodiment of the utility model provides a phone, including: the system comprises a micro control unit 1, a voice chip 2 and a phone key 3;
the voice chip 2 is connected with a first communication interface of the micro control unit 1;
the phone key 3 is connected with a second communication interface of the micro control unit 1;
and the third communication interface of the micro control unit 1 is connected with a central processing unit 4 of an external device through a universal serial bus.
Specifically, the phone provided in the embodiment of the present invention mainly includes a micro control Unit 1 (MCU) (e.g., a low cost single chip microcomputer of type STM32H 750), a voice chip 2 (e.g., a voice chip of type tlv320aic 3104), and phone keys 3, where a first communication interface of the micro control Unit 1 is connected to the voice chip 2, a second communication interface of the micro control Unit 1 is connected to the phone keys 3, the micro control Unit 1 is used as a communication transmission medium for the phone and a Central processing Unit 4 (CPU) of an external device, the micro control Unit 1 and the Central processing Unit 4 perform data transmission through a universal serial bus (USB bus), when the Central processing Unit 4 and the phone are connected through the USB bus, the phone gets power from 5v provided by the USB bus, and the phone can be recognized as an audio device and an HID device (human interface device) by the external device, the audio equipment is used for transmitting voice information in the phone, and the HID equipment is used for transmitting information of the keys 3 of the phone. By adding the micro control unit 1 in the phone, the phone comprises the micro control unit 1, the voice chip 2 and the phone key 3, the first communication interface of the micro control unit 1 is connected with the voice chip 2, all audio sampling frequencies from 16KHz to 96KHz can be provided, and two paths of stereo audio input channels and two paths of stereo audio output channels can be provided, namely two paths of phone communication can be received at the same time, so that the sampling flexibility is improved; the second communication interface of the micro control unit 1 is connected with the phone key 3 and used for detecting information of the phone key 3, the third communication module of the micro control unit 1 is connected with the central processing unit 4 of the external device through a universal serial bus, and because the common central processing unit 4 provides a USB hardware interface and a corresponding driving program, the central processing unit 4 does not need to be developed additionally to obtain the corresponding hardware interface and the corresponding driving program, and the universality of connection between devices is improved.
In one embodiment, the second communication interface of the micro control unit 1 is specifically a general purpose input/output port; specifically, a general purpose input/output (GPIO) port of the micro control unit 1 is connected to the phone key 3 and configured to detect key information of the phone key 3, where the phone key 3 is a mechanical key, and when the key is pressed or bounced, a voltage in the detection circuit changes, and the key information is determined by a change in the voltage, and the judgment of the pressing or bouncing of the key may refer to the prior art and is not repeated herein.
In one embodiment, the first communication interface of the mcu 1 includes an I2S interface and an I2C interface of the mcu 1, and the voice chip 2 is connected to the first communication interface of the mcu 1, which specifically includes:
the first communication interface of the voice chip 2 is connected with the I2S interface of the micro control unit 1 through an I2S bus; the second communication interface of the voice chip 2 is connected with the I2C interface of the micro control unit 1 through an I2C bus.
Specifically, an I2S bus (Inter-IC Sound) is an integrated circuit built-in audio bus, which is a bus standard established for audio data transmission between digital audio devices; the I2C bus is a bidirectional two-wire synchronous serial bus; the first communication interface of the voice chip 2 and the I2S interface of the micro control unit 1 transmit digital audio data through an I2S bus, and the second communication interface of the voice chip 2 receives a control instruction sent by the micro control unit 1 to control the voice chip 2 through an I2C bus.
In one embodiment, the third communication interface of the micro control unit 1 is a USB interface;
the third communication interface of the micro control unit 1 is connected with the central processing unit 4 of the external device through a universal serial bus, and specifically comprises:
the USB interface of the micro control unit 1 is connected with the USB interface of the central processing unit 4 of the external device through a universal serial bus.
Referring to fig. 2, fig. 2 is a schematic structural diagram of a phone according to an embodiment of the present invention. In one embodiment, the speech chip 2 includes an analog-to-digital converter 21.
As shown in fig. 2, in an embodiment, the phone further includes a voice acquisition module 5; and the input interface of the voice chip 2 is connected with the voice acquisition module 5.
In one embodiment, as shown in fig. 2, the voice chip 2 includes a digital-to-analog converter 22.
As shown in fig. 2, in an embodiment, the phone further includes a voice playing module 6; and the output interface of the voice chip 2 is connected with the voice playing module 6.
Specifically, the following specific examples are given for the data transmission process of the central processing unit 4 of the phone and the external device:
a first data transmission process: a sound wave-to-analog audio voltage signal converter is arranged in the voice acquisition module 5 (analog phone microphone module), the sound wave-to-analog audio voltage signal converter converts sound wave vibration into an analog audio voltage signal, the analog audio voltage signal is converted into a digital audio signal by an analog-to-digital converter 21 in the voice chip 2, the micro control unit 1 receives the digital audio signal sent by the voice chip 2 through an I2S bus, and then the digital audio data is sent to a central processing unit 4 of an external device through a USB audio input channel of the micro control unit 1.
A second data transmission process: the micro control unit 1 receives digital audio data sent by the central processing unit 4 through a USB audio output channel, then sends the digital audio data received by the micro control unit 1 to the voice chip 2 through an I2S bus, the digital-to-analog converter 22 in the voice chip 2 converts the digital audio data into analog audio data, and then sends voice to a voice player (analog phone receiver) through an output interface (DAC channel) of the voice chip 2, and the voice player is internally provided with an analog audio signal-to-sound player which is responsible for converting the analog audio data into sound waves which can be heard by human ears.
The third data transmission process: the micro control unit 1 receives control information (for example, volume control information) sent by the central processing unit 4 through an HID output channel of the USB, and sends the control information to a register arranged in the voice chip 2 through an I2C bus; the register in the voice chip 2 stores various control information, including volume control information, sampling frequency control information, and the like, and can dynamically control the volume of sound, the sampling frequency of data audio, the filtering parameters of analog audio signals, and the like.
A fourth data transmission process: the micro control unit 1 reads the key information of the phone keys 3 through the GPIO pins and then sends the key information to the central processing unit 4 of the external device through the HID input channel of the USB.
It is worth to be noted that the USB audio input channel, the USB audio output channel, the HID input channel, and the HID output channel share the USB bus on the physical layer, and the USB bus plays different channel roles in different functions.
Referring to fig. 3, which is a design flow chart of a micro control unit 1 according to an embodiment of the present invention, an MCU is used as a main controller, and functions such as audio data transmission of a phone and key information reporting of keys 3 of the phone are implemented by the MCU, and the following briefly describes a software design flow of the MCU:
MCU passes through the register of I2C bus configuration pronunciation chip 2, mainly configures pronunciation sampling frequency etc, MCU initializes the GPIO pin of being connected with phone button 3, MCU initializes pin, the register that I2S bus used, MCU initializes pin and enumerates the information that the USB bus used, when detecting that phone button 3 presses down, HID input channel through USB sends button information to CPU.
When the USB is interrupted, judging whether the USB audio output channel is interrupted, if so, reading data in the USB audio output channel and writing the data into an audio sending buffer area TX _ BUFERR of the MCU, if not, judging whether the USB audio input channel is interrupted, if so, reading a frame of data from an audio receiving buffer area RX _ BUFERR of the MCU and sending the frame of data to the CPU host, and if not, exiting the interruption;
when the I2S is interrupted, whether the interruption is the I2S audio output channel interruption is judged, if yes, a frame of data is read out from the audio sending buffer area TX _ BUFERR and sent to the voice chip 2, if not, whether the interruption is the I2S audio input channel interruption is judged, if yes, the data in the I2S audio input channel is read out and written into the audio receiving buffer area RX _ BUFERR, and if not, the interruption is quitted.
It is worth noting that the I2S audio output channel and the I2S audio input channel share the I2S bus on the physical level, and the I2S bus serves as a different channel in different functions.
Compared with the prior art, the phone provided by the embodiment of the utility model has the beneficial effects that the micro control unit 1 is added in the phone, the phone comprises the micro control unit 1, the voice chip 2 and the phone key 3, the first communication interface of the micro control unit 1 is connected with the voice chip 2, all audio sampling frequencies from 16KHz to 96KHz can be provided, and the sampling flexibility is improved; the second communication interface of the micro control unit 1 is connected with the phone key 3 and used for detecting information of the phone key 3, the third communication module of the micro control unit 1 is connected with the central processing unit 4 of the external device through a universal serial bus, and because the common central processing unit 4 provides a USB hardware interface and a universal driving program, the central processing unit 4 does not need to be developed additionally to obtain a corresponding hardware interface and a corresponding driving program, and the universality of connection between devices is improved.
While the foregoing is directed to the preferred embodiment of the present invention, it will be understood by those skilled in the art that various changes and modifications may be made without departing from the spirit and scope of the utility model.

Claims (8)

1. A telephone, comprising: the system comprises a micro control unit, a voice chip and phone keys;
the voice chip is connected with a first communication interface of the micro control unit;
the phone key is connected with a second communication interface of the micro control unit;
and the third communication interface of the micro control unit is connected with a central processing unit of an external device through a universal serial bus.
2. A telephone according to claim 1, wherein the second communication interface of the micro-control unit is embodied as a general purpose input output.
3. The phone of claim 1, wherein the first communication interface of the mcu includes an I2S interface and an I2C interface of the mcu, and the voice chip is connected to the first communication interface of the mcu, and comprises:
the first communication interface of the voice chip is connected with the I2S interface of the micro-control unit through an I2S bus; the second communication interface of the voice chip is connected with the I2C interface of the micro control unit through an I2C bus.
4. The phone of claim 1, wherein the third communication interface of the micro-control unit is a USB interface;
the third communication interface of the micro control unit is connected with a central processing unit of an external device through a universal serial bus, and specifically comprises:
and the USB interface of the micro control unit is connected with the USB interface of the central processing unit of the external equipment through a universal serial bus.
5. The handset of claim 1, wherein the voice chip comprises an analog-to-digital converter.
6. The handset of claim 5, wherein the handset further comprises a voice acquisition module; and the input interface of the voice chip is connected with the voice acquisition module.
7. The handset of claim 1, wherein the voice chip includes a digital-to-analog converter.
8. The handset of claim 7, wherein the handset further comprises a voice playback module; and the output interface of the voice chip is connected with the voice playing module.
CN202122733678.9U 2021-11-09 2021-11-09 Telephone set Active CN216673050U (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202122733678.9U CN216673050U (en) 2021-11-09 2021-11-09 Telephone set

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202122733678.9U CN216673050U (en) 2021-11-09 2021-11-09 Telephone set

Publications (1)

Publication Number Publication Date
CN216673050U true CN216673050U (en) 2022-06-03

Family

ID=81787543

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202122733678.9U Active CN216673050U (en) 2021-11-09 2021-11-09 Telephone set

Country Status (1)

Country Link
CN (1) CN216673050U (en)

Similar Documents

Publication Publication Date Title
US7627128B2 (en) Methods of calibrating tone-based communications systems
EP2461553B1 (en) Apparatus, systems and methods for controlling an electronic device using an accessory
CN103260124B (en) The audio testing method of mobile terminal and test macro thereof
US20140349576A1 (en) Bluetooth data/control message transmission module, interaction system and method thereof
US20170244821A1 (en) Information processing device
CN101515957A (en) System and method for realizing microphone function by using mobile phone
CN204559840U (en) A kind of earphone with Data Control plate
CN102608931B (en) System and method for controlling electronic equipment
CN216673050U (en) Telephone set
CN112243182B (en) Pickup circuit, method and device
CN107273087B (en) Audio input/output system, equipment and method based on Type-C interface
CN111556406B (en) Audio processing method, audio processing device and earphone
US20120172094A1 (en) Mobile Communication Apparatus
CN103152669A (en) Method for utilizing intelligent terminal to operate voice frequency effector
US20100228367A1 (en) Data card for a computer system and related computer system
CN205232413U (en) Headset
CN113823310B (en) Voice interruption wake-up circuit applied to tablet computer
CN111200774A (en) Bluetooth sound card
CN217606544U (en) Signal transmitter
TWI790419B (en) Audio transmission device and operating system utilizing the same
CN110475175B (en) Method and device for charging wireless earphone
CN213586219U (en) Bluetooth headset ENC conversation PCBA of making an uproar falls
CN108520761A (en) A kind of bright read apparatus and sound effect treatment method with sound regulatory function
CN111930339B (en) Equipment control method and device, storage medium and electronic equipment
CN111816201B (en) Electronic equipment and voice signal processing method

Legal Events

Date Code Title Description
GR01 Patent grant
GR01 Patent grant