Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

AVB acmp related issue #3

Open
baynaa7 opened this issue Jul 1, 2015 · 0 comments
Open

AVB acmp related issue #3

baynaa7 opened this issue Jul 1, 2015 · 0 comments

Comments

@baynaa7
Copy link

baynaa7 commented Jul 1, 2015

Hello, I am using xmos daisy chain as talker and pc as listener under linux with openavb and i210 card.

I am using AVB-Daisy-Chain-Software_1.0.6 version of xmos source code with latest openavb.
My problem is. talker side does not work in xmos side properly.
in avb_1722_1_acmp.c
there is:
void avb_1722_1_acmp_talker_init()
{
acmp_talker_state = ACMP_TALKER_WAITING:
}

i tracked the console result and came here that causes the problem.
when code runs above definition:
serial console result gives following:
PTP Port 0 Role: Master
PTP Port 1 Role: Master
Setting clock source: INPUT_STREAM_DERIVED
MAAP reserved Talker stream #0 address: 91:E0:F0:0:CD:DC
PTP Port 1 Role: Slave
PTP Port 0 Role: Master
PTP sync locked

when I change acmp_talker_state = ACMP_TALKER_CONNECT; (inside above function)
then serial console output is:

PTP Port 0 Role: Master
PTP Port 1 Role: Master
Setting clock source: INPUT_STREAM_DERIVED
MAAP reserved Talker stream #0 address: 91:E0:F0:0:1E:A1
came here t connect else
CONNECTING Talker stream #0 (229700617C0000) -> Listener 0:0:0:0:0:0:0:0
entering talker handle cmd
MSRP: Register stream request 229700:617C0000
Added stream
ID: 229700617C0000
DA:91:E0:F0:0:1E:A1:
max size: 224
interval: 1
Talker stream #0 ready
PTP Port 1 Role: Slave
PTP Port 0 Role: Master
PTP sync locked
Added stream
ID: 229700617C0000
Increasing port 1 shaper bandwidth to 17024000
Setting stream 0 1722 TX port to 1
Talker stream #0 on
PTP Port 1 Role: Master
Decreasing port 1 shaper bandwidth to 0
Talker stream #0 off
AP: MSRP_LISTENER 617C0000:1:0:0 MRP_EVENT_RECEIVE_LEAVE_ALL: MRP_LO -> MRP_UNUSED

here is the wireshark capture for above test: https://www.dropbox.com/s/0a723fq7hsigbfn/w00.pcapng?dl=0

but it seems no audio samples are received from xmos.

What is the problem with acmp_talker_state = ACMP_TALKER_WAITING ?

Thank you.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant