DA32UQ User Manual: Features
DA32UQ User Manual: Features
DA32UQ User Manual: Features
Features
¾ Apply 24-bit audio DSP, CS8415 96KHz digital receiver, 96 KHz/24bit ADC and DAC.
¾ Support various 5.1 sound channel decoding such as Dolby digital AC-3, Dolby pro-logic, DTS, and PCM.
¾ Analog audio frequency output, can select low-pass filter circuits by itself so as to realize different effects.
¾ Built-in analog input mute, when there is no analog signal, the muting process will automatically go on,
there is no need to connect detection circuit outside.
¾ Digital and analog ground wires are independent, which lowers the requirement of motherboard PCB
LAYOUT and gets better performance.
¾ Use different external bass management methods according to different needs and pure hardware filter is
able to get wider dynamic range.
¾ No DSP effect, user can add different circuits to realize equivalent effects.
¾ Use external electronic volume control. Prevent digital audio frequency from deteriorating signal-to-noise
ratio when volume is small.
¾ Metal case package in the shape of radio head prevents from disturbing sound and other components and
provides excellent EMT function.
¾ Metal case can be directly installed on the board, being an integrated product with audio board, which
improves traditional connection of the decoder board and enhances the reliability and appearance of the
product.
¾ Built-in STL215 singlechip can upgrade directly program online. Users can get new program on Internet
when necessary, which provides convenience for debugging and maintenance.
¾ Provide mute control signal output and use hardware to mute directly.
¾ Many universal output ports and permit inner CPU to complete the CTD functions.
¾ Provide the SSB communication mode. It is suitable to develop user mainframe by yourself.
R1 15K
DA32UQ C1 221
R7 R8 15K
47K
C6 221
R15 15K
C11 221
R22 15K
C18 221
C28 221
SW
C36 221
C39 10U
2 - C40 10U
+9V 1
1/2VCC 3 +
IC5-1
NE4558
Application of the single power supply and 5 satellite small speakers reference circuit diagram
R4 1K
R6 10K R5
C5 10K
102
TR1
C1815
R12 1K
TR2 102
C1815
FL
R18 1K FR 1
SL 2
AGND 3
SR 4
R21 10K C15 R20 CE 5
IC3 10K SW 6
PT2258 102 7
224 X 5 TR3
FL 1 20 C1815 CN1
FR 2 IN1 OUT1 19 2.54
SL 3 IN2 OUT2 18
4 IN3 OUT3 17
SCL
5
6
CODE2
DGND
CODE1
VCC
16
15
C20 10U R23 1K Connect with Power
SDA 7 SCL REF 14
SDA GND
SR
CE
8
9 IN4
IN5
OUT4
OUT5
13
12 R28 10K C26 R26
Amplifier
SW 10 11 102 10K
IN6 OUT6
C25 10U TR4
C1815
+5V
R30 1K
C29 R35
104
10K
R34 10K R33
MUTE C32 10K
102
TR5
C1815
R37 100K
C34 392
R45 15K
C41 221
6 -
7
5 +
IC5-2
NE4558
Adopt PT2258 as the volume control and bass management audio output circuit.
Sequence
Item Minimum Typical Maximum
Number
1 +5V power supply voltage +4.6V +5V +5.5V
2 +5V working current 170mA 180mA 190mA
3 Digital RX input 0.1V(P-P) 0.5V(P-P) 1.0V(P-P)
4 Analog input valid detection level 0.8Vrms -- --
5 Analog signal output 0@0dB 0.7Vrms 0.8Vrms 0.9Vrms
6 Analog signal output @0dB 2.0Vrms 2.2Vrms 2.3Vrms
Output noise power level (digital input 58uV(S/N =
7 CCIR/ARM) 50uV 76uV
93dB)
Output noise power level (digital input, not
8 560uV 600uV 800uV
weighted)
Output noise power level (digital input, 76uV(S/N =
9 CCTR/ARM) 70uV 80uV
90dB)
Output noise power level (digital input, not
10 600uV 700uV 800uV
weighted)
11 Frequency response(20Hz-20KHz) -- +/-0.5dB --
DA32UQ supplies function of mainframe customization and is able to independently finish functions of
complete system. If the user’s product has single-chip system, SSB bus communication can be used.
DA32UQ configuration has hardware SSB bus and user’s single-chip communication and applies 8-bit
address and 8-bit data. B7 means the seventh of the data, B6 means the sixth of the data, and the rest can be done
in the same manner.
Channel choice code: 0x00 is FL (front left channel); 0×01 is CE (central channel); 0×02 is FR (Front right
channel); 0×03 is SL (surrounded channel); 0x04 is SR (surrounded right channel); 0×05 is BL (back left
channel); 0×06 is BR (back right channel); 0×07 is SW (extra bass channel).
DA32UQ does not support BL channel and BR channel. But the DA32UQ and the instructions of DA32UD
and decoder supporting 7.1-channel are each other compatible.
Function
Address Data and specific instructions
(Usual value)
1) Writing 0×80 will clear SIN application interrupt action caused by address
0×7f Clear interrupt
of 0×80. In general, only after reading right, the interrupts will be cleared.
1) B6 to B4 is Dolby digital or DTS input source code format.
2) 0×00 is 1+1,0×01 is 1/0,0×02 is 2/0,0×03 is 3/0,0×04 is 2/1,0×05 is
The state of 3/1,0×06 is 2/2,0×07 is 3/2。
0×80 signal input (read 3) B3 is DTS digital signal input。
only) 4) B2 is Dolby digital AC3 signal input。
5) B1 is PCM digital signal input。
6) B0 means no signal input。
SSB is shorted from Simple Series Bus, it is composed of three lines, SCK bit clock, and SDD bit digital
and SIN address latching and interrupt.
All three lines of SSB are high level when they are free. Normally applying ports of open-drain structure
such as 8051 series ports make the level high through pull-ups. If ports with input and output choices are used,
the port will be chosen as input when it’s free and the output is high. Only when output is low level the port will
be chosen as output. This is for the convenience of procedure processing.
SSB must adapt to ports from 2.5V to 5.0V. In case connection wire between the principal and the
subordinate is too long, pull-ups can be added or capacitors from several P to hundreds of P can be connected
with ground wire to filter disturbance from the circuit.
In SSB, SCK is serial synchronous clock that is outputted by the communication principal. SDD is serial
synchronous and bi-directional data. SIN is interrupt port subordinate applying from principal and address
latching signal from principal to subordinate. When principal is sending signals to the address, the level is low.
SSB is composed of address, data and answering signal, among which the address is outputted by principal
and inputted by subordinate unchangeably; the data is bi-directional transmission, when principal is writing
register is output and is reading register is input; And the answering signal offers a mechanism for confirming
whether the transmission is right; The confirmation signal is initiated by subordinate and its value is fixed
unchangeably as the contrary value of the last data bite. If principal doesn’t receive the right answering signal,
then it requires re-sending.
In the transmission of SSB, low bit outputs first. During the transmission of address signal,principal has to
put SIN low, while in the process of transmission data and answering must make SIN high.
There are two types of SSB: low speed type and high-speed type, two kinds of control modes are identical.
The communication speed of the low type is 33Kbps, namely, each SCK time is 30US (one falling margin to next
falling margin). The communication speed of the high type is 1Mbps, namely, each SCK time is 1us.
SSB address is composed of 4 to 8 bits. According to different address bits, there are SSB4 with 4 bits and
SSB8 with 16 bits. DA32UQ applies the low speed bus of SSB8.
DA32UQ applies low speed SSB8 bus having 8-bit address and 8-bit data.
SCK PB2
Principal
(User’s SDD PB1 Subordinate
mainframe) SIN PB0
In DA32UQ communication process, the principal is single-chip machine used by the user shorted to be
user mainframe. The subordinate is DSP used by DA32UQ, shorted to be DA32UQ.
Suggesting apply the port without input and output control port to communicate. If user mainframe has
input and output two choices, only when low level is outputted the choice is output. Such can automatically adapt
to SSB level.
DA32UQ applies low-speed SSB8. The address length is 8 bits and the data length is 8 bits, i.e.1 byte.
When the user mainframe writes register, 8-bit address should be written first and low bit should output first.
Time order of writing register is as following:
1) Make SIN low.
2) Output A0 bit of the address first.
3) Make SCK low and delay time to a corresponding time (low speed is 15us, high speed is 0.5us).
4) Make SCK high and delay time to a corresponding time (low speed is 15us, high speed is 0.5us).
5) Output A1 bit of the address.
6) Repeat 3 to 5 until finishing A7 bit.
7) Make SIN high.
8) Output D0 bit and repeat action of the SCK until finishing D7 bit.
9) Make SDD high and turn SDD into input, which is in order to prepare for receiving answering bit.
10) Make SCK low and delay time, when subordinate will output opposite code of D7 as confirmation
signal.
SCK
SDD
A0 A1 A7 D0 D1 D7 ACK
SIN
Download “Da32uq_ud communication routine. ZIP” document. After decompressing, F71.bat can be
directly operated and generate HEX, BIN and AR5 burning and recording file.
Among the example, ROM part have been used of the generated document is less than 4 K, and RAM part is
less than 128bytes.The document can operate in AT89C51AK or single-chip machine that is compatible with
AT89C51AK.
a) F71_SSB.c can be directly transplanted to user mainframe.
1) Documents permitting to be edited and modified are as following:
F71.bat
BATCH document, directly operate F71.bat to generate HEX and BIN files.
F71_main.c
Major module document, main function, main circulation and interrupt processing.
F71_sub.c
Subsidiary module document, key-press processing, initialization and TM1628 display control.
F71_aud.c
Audio frequency processing module document, audio frequency and PT2258 volume control.
F71_ssb.c
SSB module document, it can be directly transplanted to user mainframe.
F71_main.h
Header file, all variables are defined in this document.
© 2002-2009 Hard & Soft Technology Co., LTD. http://www.HSAV.com Page 10 of 12
DA32UQ User Manual hsavd217.pdf September 24, 2007
F71_main.lin
Connecting configuration document.
SCL P3.7
PT2258 SDA P3.6
Content Meaning
Capital ‘M’ Means function.
Capital ‘F’ Means indexed variable, 1-bit variable.
Lower case‘g’ Means 8-bit variable.
Lower case ‘g2’ Means 16-bit variable.
Lower case ‘g4’ Means 32-bit variable.
Lower case ‘g8’ Means 64-bit variable.
Lower case ‘c’ Means constant.
Lower case ‘p’ Means IO port.
The second part is composed of three to four English capital letters that mean the document the naming
belongs to. For example, if variable is used in H06_AUD.C, the second part is AUD. Documents in common
used are as following,
Content Meaning
AUD Universal audio frequency processing file
VOL Multi-channel volume processing file
SUR Multi-channel with surrounded sound processing file
The function of the main file is being expanded. There shouldn’t have
SUB
too many functions in the main file to prevent deteriorating effect.
Processing file of operating system with USB mainframe or hard disk
DOS
interface.
MED Processing files with multimedia audio frequency playing such as mp3.
The third part is concrete content that have one word or several words normally. The first letter of each word
is capitalized and underline can be added to each word. As the capitalized letters separate each word, there is no
need for underline. The principle is that if it doesn’t look good or the word is abbreviated (It’s usually capitalized)
underline can be used.
Local variable absolutely forbids using 1 or several letters, e.g., when‘X’is the variable, it is difficult to
copy and point out how many bits, there are. All writing should be first-time named and copying is necessary in
the process of application, rewriting the same name is not suggested.
As for indexed local variable BOOL FLocal_1 and 8-bit local variable BYTE gLocal_1 etc, the first part of
local variable and global variable are the same. For the second part, when‘Local_’is applied means local
variable. And the third part is composed of numbers from 1 to 9 and lower case letters from “a” to “z.”