Page 2 of 3

Re: No output when XMOS used as listener

Posted: Thu Feb 23, 2017 12:26 pm
by cchandini
Will it pass data to media output FIFO even if the Timestamp Valid field is set to invalid? Would I be able to hear the audio output at XMOS end if without having timestamps?
Can you check for AVB 5.0 as well and let me know?

Re: No output when XMOS used as listener

Posted: Thu Feb 23, 2017 12:29 pm
by cchandini
Will it pass data to media output FIFO even if the Timestamp Valid field is set to invalid? Would I be able to hear the audio output at XMOS end if without having timestamps?
Can you check for AVB 5.0 as well and let me know?

Re: No output when XMOS used as listener

Posted: Thu Feb 23, 2017 1:03 pm
by larry
It would be incorrect for the endpoint to use timestamps from packets where the valid flag is not set. I can't comment on version 5, but confident that version 6 and 7 will ignore timestamps with valid flag not set. Look for line that says

Code: Select all

if ((AVBTP_TV(pAVBHdr)==1))

Re: No output when XMOS used as listener

Posted: Thu Feb 23, 2017 4:11 pm
by cchandini
Thanks a lot for your prompt reply! I'll check that up.
What I meant was my packets have Timestamp valid field set to "False" and the value of Timestamp field is always. So, in this will I be able to hear output at any one of the I2S channels or will these packets be dropped since there is no valid timestamp present?

Re: No output when XMOS used as listener

Posted: Thu Feb 23, 2017 4:19 pm
by larry
The 1722 listener is pushing data from all packets into the FIFO. Whenever there is a valid timestamp, the FIFO will pick it up and adjust the media clock. That is pretty much all the media output FIFO is there for.

Re: No output when XMOS used as listener

Posted: Thu Feb 23, 2017 4:25 pm
by cchandini
Sorry. A correction in the previous reply. What I meant was, my packets have Timestamp valid field set to "False" and the value of Timestamp field is always zero.
>> Whenever there is a valid timestamp, the FIFO will pick it up and adjust the media clock.
I wanted to know how would a listener behave if no timestamp is present? Can I conclude from your last reply that I will not be able to hear any audio output on I2S channel if timestamps are not present?

Re: No output when XMOS used as listener

Posted: Thu Feb 23, 2017 4:48 pm
by larry
I see. I think that media clock generation starts off with nominal 48kHz based on the endpoints xCORE reference clock. My guess is that it will all work and run at that rate until the FIFO underflows or overflows.

Re: No output when XMOS used as listener

Posted: Thu Mar 16, 2017 12:03 pm
by cchandini
Hi larry, would just connecting a XMOS AVB Endpoint to pc/host using xTAG-2 debug adapter lead to an automatic firmware update?

Re: No output when XMOS used as listener

Posted: Thu Mar 16, 2017 2:04 pm
by larry
No. Firmware upgrade happens is a protocol on top of 1772.1.

Re: No output when XMOS used as listener

Posted: Mon Mar 20, 2017 6:27 am
by cchandini
Okay...Currently, I don't have any sources/binaries for firmware v5.0. How can I debug my XMOS AVB endpoint? I have a xTAG-2 JTAG adapter as well.
From what I read online, if I use "xrun --xscope bin/app_avb_lc_demo.xe" , this will need app_avb_lc_demo.xe binary of v5.0 which I don't have. Is there any other method to debug the XMOS AVB Endpoint?