This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

TMDX5535EZDSP: Audio Pre-Processing: Getting noisy sound output

Part Number: TMDX5535EZDSP

Hi,

I have configured Audio Pre-processing project for 2 Mics from CMB. I have used the software patches from C5517_TIDEP-0077_VoiceProcessing_patch2.

I have also kept a continuous watch expression on buf_Outptr,buf_Outptr2 and inFramePtr.

I am getting random values in inFramePtr, and the sound output via audio out headphones is noisy.

I am attaching a file containing the samples from inFramePtr.

3750.test.txt
Fullscreen
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
-11670
3949
-660
-976
-3060
2557
9881
-21746
-21014
-1051
1432
128
14763
4475
-2964
22497
-15549
2720
-18104
-32768
-6748
2325
13693
-23431
19706
-6450
5235
3543
-32768
16360
-8640
-3657
3392
12482
19627
-26930
-21552
-18430
-13827
13172
-6178
10311
-1948
265
7785
-696
13150
29612
10409
-8690
-19656
31574
-23226
32187
-11685
-6225
-32768
5129
-21727
-15375
5230
-8590
19188
-16050
11069
-19647
20973
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX

Kindly help in solving the sound issue.

  • I've forwarded this to the c55x SW experts. Their feedback should be posted here.

    BR
    Tsvetolin Shulev
  • Kindly provide response, and solution .
  • Abhinandan,

    Its difficult to say why you are having noisy audio output. It could be a number of factors that could be causing this issue:

    - Incorrect wiring
    - Incorrect DMA config
    - Incorrect sampling rates
    - Incorrect clock settings

    You may want to re-check your system settings since you have modified your code from the original example.

    Lali
  • Lali,
    I have not modified the code.
    The code already has macros to set the number of Mics to use. I have set it to 2. So accordingly all configuration is taken care in the program itself.
    I think it has something to do with codec. Since c5517 has 2 codecs connected to i2s0 and i2s2 It might work with one acting as input and another acting as output to headphones.
    But c5535 has only 1 codec connected to i2s2 . So doing input processing and sending output to the headphones using same codec i2s2 line might be causing the noise issue due to mixing.

    Is my analysis correct?
  • Abhinandan,

    The C5535 ezdsp has one codec connected to I2S2 for the headphones.

    The CMB has 2 x PCM1864's to handle the audio from the microphones on the CMB. So, I don't think you are using the same codec to do input and output on the ezdsp. Please also check your wiring to ensure that there aren't any loose connections especially on the edge connector.

    Lali

  • Lali,
    I checked for any possible loose connection. There isnt any.
    Also I did a loopback which disables the bf, drc and other processing. Even with loopback I am getting noise.

    In previous reply you mentioned I2S2 is connected to headphone output via codec (codec acts only as output). I agree with that.

    I have doubt how I2S2 is used for input and output. In 2 Mic configuration, Mics 1 & 2 output is fed to the DSP via I2S2. And same I2S2 is being used for headphone output via codec. So as a result we are using I2S2 for Input and output. Does this has any effect on noise being generated?