CN115185478A - Audio control circuit, main device and related control method - Google Patents
Audio control circuit, main device and related control method Download PDFInfo
- Publication number
- CN115185478A CN115185478A CN202110374363.1A CN202110374363A CN115185478A CN 115185478 A CN115185478 A CN 115185478A CN 202110374363 A CN202110374363 A CN 202110374363A CN 115185478 A CN115185478 A CN 115185478A
- Authority
- CN
- China
- Prior art keywords
- host device
- circuit
- audio control
- interface circuit
- control circuit
- 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
Links
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
- G06F3/16—Sound input; Sound output
- G06F3/162—Interface to dedicated audio devices, e.g. audio drivers, interface to CODECs
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F13/00—Interconnection of, or transfer of information or other signals between, memories, input/output devices or central processing units
- G06F13/38—Information transfer, e.g. on bus
- G06F13/42—Bus transfer protocol, e.g. handshake; Synchronisation
- G06F13/4265—Bus transfer protocol, e.g. handshake; Synchronisation on a point to point bus
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Multimedia (AREA)
- Health & Medical Sciences (AREA)
- Audiology, Speech & Language Pathology (AREA)
- General Health & Medical Sciences (AREA)
- Human Computer Interaction (AREA)
- Information Transfer Systems (AREA)
Abstract
The invention discloses an audio control circuit, a main device and a related control method. The processing circuit receives a plurality of parameters from a host device through the specific interface circuit, and uses the parameters to perform an enumeration operation with the host device during an enumeration process with the host device through the USB interface circuit.
Description
Technical Field
The present invention relates to an audio control circuit having a Universal Serial Bus (USB) interface.
Background
In an audio control circuit using a USB interface, there are usually different requirements for customized parameters, and therefore, the audio control circuit is additionally provided with a storage device for storing various parameters for use when the audio control circuit is connected to a host device. However, storing a plurality of different parameters requires a large storage space, which increases the cost of the storage device and the area of the printed circuit board.
Disclosure of Invention
Therefore, one of the objectives of the present invention is to provide an audio control circuit, which can receive a plurality of parameters from a host device and then use these parameters to perform an enumeration operation with the host device, so as to solve the problems described in the prior art.
In an embodiment of the present invention, an audio control circuit is disclosed, which includes a USB interface circuit, a specific interface circuit, and a processing circuit. The processing circuit receives a plurality of parameters from the host device through the specific interface circuit, and uses the plurality of parameters to perform an enumeration operation with the host device during an enumeration process with the host device through the USB interface circuit.
In another embodiment of the present invention, a control method applied to an audio control circuit is disclosed, which comprises the following steps: receiving a plurality of parameters from a host device through a specific interface circuit; and performing an enumeration operation with a host device through a USB interface circuit, wherein the parameters are used to perform the enumeration operation with the host device during the enumeration with the host device through the USB interface circuit.
In another embodiment of the present invention, a host device is disclosed that includes a USB interface circuit, a specific interface circuit, and a core circuit. When the main device is powered on, the core circuit actively transmits a plurality of parameters to the audio control circuit through the specific interface circuit, wherein the plurality of parameters comprise contents which are required to be transmitted to the main device by the audio control circuit in the subsequent listing process of the audio control circuit and the main device.
Drawings
Fig. 1 is a schematic diagram of an electronic device according to an embodiment of the invention.
Fig. 2 is a flowchart of a control method according to an embodiment of the invention.
Detailed Description
Fig. 1 is a schematic diagram of an electronic device 100 according to an embodiment of the invention. As shown in fig. 1, the electronic device 100 includes a main device 110 and an audio control circuit 120, wherein the main device 110 includes a core circuit 112, a USB interface circuit 114, a specific interface circuit 116 and a storage element 118; the audio control circuit 120 includes a processing circuit 122, a USB interface circuit 124, and a specific interface circuit 126. In this embodiment, the electronic device 100 may be a computer host, a notebook computer or any other electronic device with a sound playing function, and the audio control circuit 120 is an audio device built in a motherboard, that is, the main device 110 and the audio control circuit 120 are manufactured on a motherboard.
In One embodiment, the storage element 118 may be a flash Memory, an Electrically-Erasable Programmable Read-Only Memory (EEPROM), a One Time Programmable Read-Only Memory (OTPROM), or other type of non-volatile storage element. In addition, in the present embodiment, the storage element 118 is disposed inside the host device 110, and in another embodiment, the storage element 118 may be disposed outside the host device 110.
In this embodiment, the host device 110 may be a processor chip set in the electronic device 100, which is connected to the USB interface circuit 124 of the audio control circuit 120 through the USB interface circuit 114, and the host device 110 transmits the audio signal to the processing circuit 122 through the USB interface circuits 114 and 124 for performing related processing (e.g., encoding and decoding) and then generates an output audio signal to the speaker 106 for playing, wherein the speaker 106 may be an external speaker connected to the electronic device 100 or a speaker built in the electronic device 100.
In one embodiment, the specific Interface Circuit 116 in the host device 110 and the specific Interface Circuit 126 in the audio control Circuit 120 conform to an Inter-Integrated Circuit (I2C) Interface specification, a Serial Peripheral Interface (Serial Peripheral Interface) specification, or a Universal Asynchronous Receiver/Transmitter (UART) specification, but the invention is not limited thereto. In other embodiments, any suitable specification other than the USB interface circuit may be used as long as the specific interface circuit 116 in the host device 110 and the specific interface circuit 126 in the audio control circuit 120 can perform data transmission with each other.
Regarding the operation of the electronic device 100, first, when the electronic device 100 is powered on to perform an initialization operation, and the main device 110 does not completely identify the type of the audio control circuit 120, the core circuit 112 first obtains a plurality of parameters, such as the number of supported configurations (configurations), the vendor ID (vendor ID), the product ID (product ID), the sampling rate (sample rate), the volume range (volume range) \\ 8230;, etc., from the storage element 118, and transmits the parameters to the audio control circuit 120 through the specific interface circuit 116, and the processing circuit 122 in the audio control circuit 120 receives the parameters through the specific interface circuit 126. Then, the audio control circuit 120 communicates with the host device 110 to complete the corresponding setting by using the parameters in the enumeration process between the host device 110 and the audio control circuit 120. Specifically, during the enumeration process, the host device 110 transmits a USB packet to the audio control circuit 120 through the USB interface circuit 114 and assigns an address; then, the audio control circuit 120 reports the host device 110 through the USB interface circuit 124 to inform itself that it is a device with audio function, and transmits related information to the host device 110 through the USB interface circuit 124, where the related information includes the parameters, i.e. the supported configuration number, supplier identity, product identity, sampling rate, volume range \8230, and the like, previously received from the host device 110 through the specific interface circuit 126; finally, the master device 110 identifies the type of the audio control circuit 120, and sends a USB Audio Class (UAC) related packet to the audio control circuit 120, and ends the enumeration process. It should be noted that, since a person skilled in the art should understand the detailed operations of the enumeration process, and the focus of the embodiment is that the parameters used by the audio control circuit 120 in the enumeration process are from the host device 110, the above description only describes the main operations related to the embodiment in the enumeration process, and other details of the enumeration process are not described herein.
After the enumeration is completed, the host device 110 may transmit the audio data to the audio control circuit 120 through the USB interface circuit 114 for the processing circuit 122 to generate an output audio signal to the speaker 106 for playing.
In the embodiment of fig. 1, since the main device 110 actively transmits a plurality of parameters required by the audio control circuit 120 in the subsequent enumeration process to the audio control circuit 120 through the specific interface circuit 116 at the time of power-on, the audio control circuit 120 itself may not need to be provided with a storage component for storing the parameters, such as the supported configuration number, vendor identity, product identity, sampling rate, volume range \8230, and so on, so as to reduce the manufacturing cost of the audio control circuit 120. In addition, since the host device 110 is a processor chipset that has a storage element 118 for storing program codes and other parameters, storing a plurality of parameters required by the audio control circuit 120 in the storage element 118 does not increase the manufacturing cost.
On the other hand, since the parameters required to be used by the audio control circuit 120 are actively provided by the host device 110 at power-on, the audio control circuit 120 passively receives the parameters, rather than actively reading them.
Fig. 2 is a flowchart of a control method according to an embodiment of the invention. The procedure is as follows with reference to the description of the above embodiments.
Step 200: the process begins.
Step 202: the master device transmits a plurality of parameters to the audio control circuit.
Step 204: the master device and the audio control circuit start an enumeration operation.
Step 206: the audio control circuit uses the plurality of parameters to perform an enumeration operation with the host device.
Step 208: the master device and the audio control circuit complete the enumeration operation.
Step 210: the main device transmits the audio signal to the audio control circuit through the USB interface circuit so as to generate an output audio signal to the loudspeaker for playing.
Briefly summarizing the present invention, in the audio control circuit, the host device and the related control method of the present invention, the audio control circuit receives a plurality of parameters from the host device through the specific interface circuit during the power-on process for subsequent enumeration operation with the host device through the USB interface circuit. Therefore, because the parameters required by the audio control circuit in the row process are provided by the main device, the audio control circuit does not need to be provided with a storage component to store the parameters, so that the manufacturing cost of the audio control circuit is reduced.
The above description is only a preferred embodiment of the present invention, and all equivalent changes and modifications made in accordance with the claims of the present invention should be covered by the present invention.
[ notation ] to show
100: electronic device
106: loudspeaker
110: master device
112: core circuit
114: USB interface circuit
116: specific interface circuit
118: storage assembly
120: audio control circuit
122: processing circuit
124: USB interface circuit
126: specific interface circuit
200-210: and (5) carrying out the following steps.
Claims (10)
1. An audio control circuit, comprising:
a USB interface circuit for connecting to a host device;
a specific interface circuit for connecting to the host device; and
a processing circuit coupled to the USB interface circuit and the specific interface circuit, wherein the processing circuit receives a plurality of parameters from the host device through the specific interface circuit and performs an enumeration operation with the host device using the plurality of parameters during an enumeration process with the host device through the USB interface circuit.
2. The audio control circuit of claim 1, wherein the processing circuit passively receives the plurality of parameters from the host device through the particular interface circuit after the audio control circuit is powered on and without the host device having identified the audio control circuit.
3. The audio control circuit of claim 1, wherein the parameters include at least a portion of supported configuration number, vendor identity, product identity, sampling rate, and volume range; and during the enumeration process with the host device through the USB interface circuit, the processing circuit transmits the contents of the parameters to the host device for enumeration.
4. The audio control circuit of claim 1, wherein the particular interface circuit conforms to an integrated bus circuit interface specification.
5. The audio control circuit of claim 1, wherein the particular interface circuit conforms to a serial peripheral interface specification.
6. The audio control circuit of claim 1, wherein the particular interface circuit conforms to the UART specification.
7. A control method applied to an audio control circuit comprises the following steps:
receiving a plurality of parameters from a host device through a specific interface circuit; and
performing an enumeration operation with a host device via a USB interface circuit, wherein the parameters are used to perform the enumeration operation with the host device during the enumeration with the host device via the USB interface circuit.
8. The method of claim 7, wherein the parameters include at least a portion of supported configuration number, supplier identity, product identity, sampling rate, and volume range; and during an enumeration process with the host device via the USB interface circuit, using the plurality of parameters to perform an enumeration operation with the host device, comprising:
during the enumeration process with the host device through the USB interface circuit, the contents of the parameters are transmitted to the host device for enumeration.
9. The method of claim 7, wherein the specific interface circuit conforms to an IC interface specification, a SPI interface specification, or a UART specification.
10. A master device, comprising:
a USB interface circuit for connecting to an audio control circuit;
a specific interface circuit for connecting to the audio control circuit; and
a core circuit coupled to the usb interface circuit and the specific interface circuit, wherein when the host device is powered on, the core circuit actively transmits a plurality of parameters to the audio control circuit through the specific interface circuit, wherein the plurality of parameters includes contents that the audio control circuit needs to transmit to the host device in a subsequent enumeration process of the audio control circuit and the host device.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202110374363.1A CN115185478A (en) | 2021-04-07 | 2021-04-07 | Audio control circuit, main device and related control method |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202110374363.1A CN115185478A (en) | 2021-04-07 | 2021-04-07 | Audio control circuit, main device and related control method |
Publications (1)
Publication Number | Publication Date |
---|---|
CN115185478A true CN115185478A (en) | 2022-10-14 |
Family
ID=83512152
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202110374363.1A Pending CN115185478A (en) | 2021-04-07 | 2021-04-07 | Audio control circuit, main device and related control method |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN115185478A (en) |
-
2021
- 2021-04-07 CN CN202110374363.1A patent/CN115185478A/en active Pending
Similar Documents
Publication | Publication Date | Title |
---|---|---|
RU2402804C2 (en) | Method of booting host device from mmc/sd device, host device bootable from mmc/sd device and mmc/sd device from which host device may be booted | |
US11294660B2 (en) | Apparatus and method for configuring or updating programmable logic device | |
JP4896450B2 (en) | Storage device | |
US20080307154A1 (en) | System and Method for Dual-Ported I2C Flash Memory | |
US8078941B2 (en) | Memory system, memory system controller, and a data processing method in a host apparatus | |
US7607585B2 (en) | Integrated circuit device with multiple communication modes and operating method thereof | |
US10082899B2 (en) | Electronic apparatus with touch panel and method for updating touch panel | |
TWI677214B (en) | Docking device, electrical device, and mac address cloning method | |
CN104239097A (en) | Method and system for upgrading fitting by virtue of mobile terminal, and mobile terminal | |
CN109493910A (en) | Microcontroller and its operating method and storage system with the microcontroller | |
CN112148629B (en) | Method for addressing integrated circuits on a bus and corresponding device | |
US20200218681A1 (en) | Method for automatically identifying host operating systems | |
CN112306937B (en) | Setting selection circuit, method, device and medium for mainboard device in server | |
US11237954B2 (en) | Controller and data storage system having the same | |
US20140214434A1 (en) | Method for processing sound data and circuit therefor | |
CN115185478A (en) | Audio control circuit, main device and related control method | |
US8700826B2 (en) | Controller, computer system and control method thereof | |
JP7300493B2 (en) | Voice control circuit, host device and related control method | |
US11593284B2 (en) | Method for managing an operation for modifying the stored content of a memory device, and corresponding memory device | |
TWI613547B (en) | Computer system having PCI-E redriver, and configurating method of the PCI-E redriver | |
US20110320656A1 (en) | Techniques for obtaining a serial number for a storage device | |
CN107544931B (en) | Computer system with PCI-E intensifier and setting method of PCI-E intensifier | |
US20080091399A1 (en) | Driverless signal generating apparatus and control method thereof | |
CN107656584B (en) | Cabinet device | |
TWI426381B (en) | Apparatus and method for testing an embedded system |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination |