[XK-AVB-LC-SYS] How to send audiostreams + make them audible Topic is solved

If you have a simple question and just want an answer.
crappidy
Member++
Posts: 16
Joined: Mon Nov 14, 2016 7:03 pm

[XK-AVB-LC-SYS] How to send audiostreams + make them audible

Post by crappidy »

Hey,

I flashed app_avb_tsi_talker and app_avb_tsi_listener on my two XK-AVB-LC-SYS boards.
Transmitting streams is working.
But I want to transmit some audiostreams and make them audible via audio speakers.
How is that going?

Greetz
Chris


View Solution
User avatar
xsamc
Active Member
Posts: 55
Joined: Fri Mar 04, 2011 3:38 pm

Post by xsamc »

Hi crappidy,

As a starting point to check what is working, if you run the app_avb_lc_demo app on both of your XK-AVB-LC-SYS boards they should configure streams in both directions which are output to the analogue outputs on the boards.

You also need to ensure the jumpers are set correctly to use the active analogue input you are driving a signal into.

Cheers,
Sam
User avatar
larry
Respected Member
Posts: 275
Joined: Fri Mar 12, 2010 6:03 pm

Post by larry »

Are you using the built-in 1722.1 controller or an external one?

Do you get a message to say that media clock has locked in console output of both endpoints?
crappidy
Member++
Posts: 16
Joined: Mon Nov 14, 2016 7:03 pm

Post by crappidy »

@xsamc:

Here's some output of the console of xtime composer:

PTP Port 0 Role: Master
Setting clock source: INPUT_STREAM_DERIVED
PTP Port 0 Role: Master
MAAP reserved Talker stream #0 address: 91:E0:F0:0:4E:97
Setting clock source: INPUT_STREAM_DERIVED
CONNECTING Listener sink #0 -> Talker stream 22970460D0000, DA: 91:E0:F0:0:9F:87
Listener sink #0 chan map:
0 -> 0
1 -> 1
2 -> 2
3 -> 3
4 -> 4
5 -> 5
6 -> 6
7 -> 7
1722 router: Enabled map for stream 22970460D0000 (link_num:0, hash:0)
MSRP: Register attach request 229704:60D0000
Added stream:
ID: 22970460D0000
MVRP: Joined VID 2
Talker Advertise -> Failed for stream 22970460D0000
CONNECTING Talker stream #0 (22970460A0000) -> Listener 0:22:97:FF:FE:4:6:D
MSRP: Register stream request 229704:60A0000
Added stream:
ID: 22970460A0000
DA:91:E0:F0:0:4E:97:
max size: 224
interval: 1
MVRP: Joined VID 2
Talker stream #0 ready
Talker Advertise -> Failed for stream 22970460A0000
CONNECTING Talker stream #0 (22970460A0000) -> Listener 0:22:97:FF:FE:4:6:D
CONNECTING Talker stream #0 (22970460A0000) -> Listener 0:22:97:FF:FE:4:6:D

So sending streams works I think.
xsamc wrote:You also need to ensure the jumpers are set correctly to use the active analogue input you are driving a signal into.
Jumpers are set for 3,5mm jack input and output. But how can I drive a signal into the input of a board?

@larry:

I use external controllers (avdecc-lib, unos, Riedel AVB Manager) because I don't know how to work with the internal ones. With the external controllers I can now send streams in both ways.
larry wrote:Do you get a message to say that media clock has locked in console output of both endpoints?
No, the output above is the only output I get when I send some streams.
User avatar
xsamc
Active Member
Posts: 55
Joined: Fri Mar 04, 2011 3:38 pm

Post by xsamc »

crappidy wrote:
xsamc wrote:You also need to ensure the jumpers are set correctly to use the active analogue input you are driving a signal into.
Jumpers are set for 3,5mm jack input and output. But how can I drive a signal into the input of a board?
You should be able to connect the line out from any audio player (e.g. PC, MP3 player, etc.) to provide an input signal to the AVB board.

Cheers,
Sam
crappidy
Member++
Posts: 16
Joined: Mon Nov 14, 2016 7:03 pm

Post by crappidy »

xsamc wrote:You should be able to connect the line out from any audio player (e.g. PC, MP3 player, etc.) to provide an input signal to the AVB board
I've done that and played an audio stream. But I didn't hear anything.
First I connected a laptop and the board input via jack. I put headphones and later speakers to the output port -> no sound.
Then I connected the laptop to first board audio input. Audio output to second board audio input. Second board audio output to headphones -> no sound, with speakers neither.
crappidy
Member++
Posts: 16
Joined: Mon Nov 14, 2016 7:03 pm

Post by crappidy »

I have found the issue!!
The two avb audio endpoints are connected with each like this:
first endpoint -> ethernet cable to media converter -> broadr-reach cable to automotive switch -> broadr-reach cable to media converter -> ethernet cable to second endpoint

Now I have connected the endpoints and laptop by ethernet cables via an usual switch -> it works :)