USB audio distortion on LPC5411X

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

USB audio distortion on LPC5411X

466 Views
Kirill_klk
Contributor I

We have a periodic audio distortion with USB Audio device on LPC54114 MCU (OM13090). The issue can be seen in recorded stream and can be listened on speaker. The period is 4-38 min. The distortion time is 2-5 secs. Codec is WM8904. Sample rate is 16kHz.

The board was connected to PC with Ubuntu 20.04. The example project is lpcxpresso54114_rom_dev_audio_bm.

There are only two changes: 1) Uncommented sine in function void i2s_read(void) in i2s_if.c; 2) Changed divider of sine from 28 to 1 in sine_file.c.

Recording of test audio file was made by command: => arecord -f dat -r 16000 test_ref_1.wav.

 

0 Kudos
Reply
2 Replies

421 Views
Kirill_klk
Contributor I

Hi,

It is very difficult to reproduce the issue on Windows. We found it only 2 times with and without changes in code. On Linux the situation is worse. We found the issue each time when start recording. 

0 Kudos
Reply

443 Views
xiangjun_rong
NXP TechSupport
NXP TechSupport

Hi,

If you do not change anything, do the sound distortion happen or not?

BR

XiangJun rong

0 Kudos
Reply