I'm following the "GenAVB/TSN Stack FreeRTOS Evaluation User's Guide" to run the AVB audio example. However, I'm not interested in using the SRP and AVDECC features at the moment.
I managed to successfully remove the SRP feature by making the following change.
genavb_set_option(CONFIG_SRP OFF)
But, when I try to do the same for AVDECC, the build fails. please see the attached log file for more details.
genavb_set_option(CONFIG_AVDECC OFF)
Could someone provide assistance with this.
Hi @KishoreKumar1 ,
Thanks so much for your interest in the NXP RT product, I would like to provide service for you.
To the AVB, I am finding the internal resource to make it work, as really seldom people to use it, so I still try to find the internal resource, one document is useful:
I also want to make the AVDECC works and checking internally, any updated information, I will let you know.
Best Regards,
Kerry
Hi @Chavira,
I'm using iMX RT1176.
Hi @KishoreKumar1 ,
Just update this community, the AVB stack original bin file already support the avdecc.
This is my test result, which also share you in your old priviate case:
1. The code downloading
we can use the original bin file, just to test it and make sure it works at first:
\genavb_tsn-mcuxpresso-SDK_2_13_0-5_6_0\binaries\genavb-avb_audio_app-evaluation-freertos_rt1176-5_6_0.tar\genavb-avb_audio_app-evaluation-freertos_rt1176-5_6_0\release\avb_app.bin
two methods can be used to download.
1) use the MSD method, just copy the avb_app.bin to the MSD, I suggest you do the mass erase at first.
2) Just as I told you, use the MCUBootutility do the mass erase at first, then download the avb_app.bin to the 0X30000400.
2. The configuration for the talker and listener, very important
This is the related commander:
Talker:
-----------------------
cd ..
ls
mkdir avb_app
write avb_app/mclock_role 0
mkdir avdecc
write avdecc/btb_mode 0
mkdir fgptp
write fgptp/gmCapable 1
mkdir port0
write port0/hw_addr 00:22:33:44:55:66
------------------------
Listener:
-------------------------
cd ..
ls
mkdir avb_app
write avb_app/mclock_role 1
mkdir avdecc
write avdecc/btb_mode 1
write avdecc/talker_id 0x00049f4455660000
------------------------------
One important point, the hw_addr first byte set to 00, in the previous time, I set it to 11, so I can't make it works.
After the above configuration, reset the listener and the talker, and wait a moment, two boards will do the sync, then in the listener board, you can use the earphone to hear the voice from the talker on board Mic P1. earphone connect to the listener board J33
Wish it helps you!
Best Regards,
Kerry