[#4094] full duplex doesn't work on AD73322 board

Document created by Aaronwu Employee on Aug 28, 2013
Version 1Show Document
  • View in full screen mode

[#4094] full duplex doesn't work on AD73322 board

Submitted By: Cliff Cai

Open Date

2008-05-09 04:48:33     Close Date

2008-05-09 06:52:30

Priority:

High     Assignee:

Cliff Cai

Status:

Closed     Fixed In Release:

N/A

Found In Release:

N/A     Release:

Category:

N/A     Board:

N/A

Processor:

N/A     Silicon Revision:

Is this bug repeatable?:

Yes     Resolution:

Fixed

Uboot version or rev.:

    Toolchain version or rev.:

App binary format:

N/A     

Summary: full duplex doesn't work on AD73322 board

Details:

 

playback and capture work well respectively.

but when start capture first,then start playback,playback doesn't work

while capture is ok.like this:

 

>arecord -d 30 a.wav &

>aplay b.wav

 

if start playback first ,things are all ok,like this

>aplay a.wav &

>arecord -d 30 b.wav

 

Follow-ups

 

--- Cliff Cai                                                2008-05-09 06:17:23

I found the reason is that when do full duplex ,like

>arecord|aplay -D plughw:0,x

the playback slot move ahead 2 unit

I mean when I want to play the record data on No.x device,

actually the No.((x+2)%8) device take effective.

don't know how.I will check it on another board.

 

Cliff

 

--- Cliff Cai                                                2008-05-09 06:51:01

currently dummy buffer length is 8 ,this will cause 2 bytes data

remaining in the TX fifo when switch to normal buffer

 

 

 

    Files

    Changes

    Commits

    Dependencies

    Duplicates

    Associations

    Tags

 

File Name     File Type     File Size     Posted By

No Files Were Found

Attachments

    Outcomes