Topic: Masterclock in AVB network

I am extending my setup into a small AVB network.

It has been just 12mic connected to digiface-avb. One listener one talker, no worries.

Now, netgear AVB switch, one digiface AVB (permanently online, attached to a small macmini running AVDECC), via avb-ethernet connected to 12mic, avb-tool, Motu ultralite-avb (at linux) ...

I think it makes most sense to have a masterclock at the digiface avb, where AVDECC is running(?) because this clock is always existent, when some gear goes online.

Before it has been 12mic masterclock - but 12mic might be offline if only avb-tool joins the network. Is the digiface-avb clock equally good as the 12mic clock? Does it make more sense to have an external masterclock attached to the digiface-avb?

Sorry for a lot of text..
Regards and thanks for any advice
Claus

2 (edited by waedi 2025-11-22 22:02:51)

Re: Masterclock in AVB network

fantast999 wrote:

Does it make more sense to have an external masterclock attached to the digiface-avb?

In my opinion : no

Sync the devices properly and all is fine.

12Mic or the Digiface AVB as master, both way will work.

M1-Tahoe, Madiface Pro, Digiface USB, Babyface silver and blue

3 (edited by fantast999 2025-11-23 14:27:22)

Re: Masterclock in AVB network

Thanks. Think RME did an amazing job. Took me some time to include the MOTU - as it only speaks AM824 whereas I prefer AFF for RME gear. However, 12mic can send and receive dedicated streams in AM824 to the MOTU.

to add:i.p. because 12mic can receive AM824 and distribute it as AFF

4 (edited by fantast999 2025-11-23 22:17:43)

Re: Masterclock in AVB network

Hilfe! Es läuft - irgendwie ..

ABER: Wenn ich am Switch gucke, wird i.A. als beste clock der MOTU ultralight gewählt (Prio 239). Die RMEs haben beide (12mic und digiface-avb) prio 248. Daher nimmt der Switch regelmäßig den MOTU.

Ich kann den 12mic zwar auf clock "Internal" stellen und die anderen jeweils als clock "AVB-Stream-x", damit sie die clock aus dem AVB stream ziehen, aber das irgendwie eine Notlösung?

Any suggestions?
Gruß
Claus

Re: Masterclock in AVB network

Um selbst einen Lösungsvorschlag zu unterbreiten.. Da MOTU kein CRF kann, muss ich tatsächlich einen Dummy Stream als Clock Reference vom Master an die anderen Geräte schicken, an welchem sich diese synchronisieren können?

6 (edited by Max 2025-11-24 06:06:33)

Re: Masterclock in AVB network

Generally speaking: do not interfere with gPTP priorities. It is not necessary to make a specific device gPTP grandmaster. If you unplug a grandmaster, another device becomes grandmaster. This does not interrupt streams (if devices have been connected for a couple of seconds). The reason is that gPTP syntonizes the clocks. It does not synchronize them. That means, the participating devices evaluate their internal clock drift w.r.t. the grandmaster to be able to provide accurate time (but are always using their own clock). Since the drift is pretty constant under normal conditions, the lack of a grandmaster can be compensated by simply continuing with the last known time and drift until a new grandmaster has been elected among the remaining devices.

Media clock is not directly derived from gPTP (in current AVB/MILAN). So you always have to clock one device to internal, and you do indeed need to stream CRF, AAF or AM824 to other devices on the network in order to synchronize them. Talker and listener both make use of the grandmaster's time, but neither one of them needs to be the grandmaster.

You can make the Digiface AVB media clock master and let the switch be the gPTP grandmaster and I don't see an issue. MOTU syncs to an incoming AM824, 12Mic and AVB Tool sync to CRF from Digiface AVB (make sure that either the first or last stream of the Digiface AVB is the CRF stream). This should work without issue, just changing sampling rates is a bit complicated at the moment because it requires that you disconnect the streams fully, then change the sampling rate of Digiface AVB and all listeners, and then re-connect them.

By the way, all devices use ATDECC (former AVDECC), not only the Digiface AVB.