Hello guys,
I'm trying out the XMOS sliceKIT and ran successfully the avb simple demo. I connected the sliceKIT-L2 to a XR-AVB-LC-BRD, audio plays. The ethernet hardware module is plugged in where the circle symbol is shown. Now I wanted to change the position of the ethernet module to the star symbol position. I found out that the tile information for the ethernet module is setup in "ethernet_board_conf.h" in the module_ethernet_board_suport/SLICEKIT folder. Unfortunately I can't find where in the code I can activate a certain hardware position (star, square, ..).
It says "#if defined(ETHERNET_USE_STAR_SLOT) ..." but WHERE do I define this preprocessor variable? I tried to define it in different files, even as compiler -D statement, but I'm getting a lot of errors if I do so.
Thanks for any help!
app_simple_avb_demo on sliceKIT - tiles
-
- Junior Member
- Posts: 4
- Joined: Thu Feb 21, 2013 5:17 pm
-
- Respected Member
- Posts: 279
- Joined: Fri Dec 11, 2009 1:34 pm
Hi gavaz,
You'll need to define it in avb_conf.h, and also move the cores around. The Ethernet is currently hardcoded to run on Tile 1.
Are you using the audio slice? It's worth noting that this doesn't currently have the Cirrus CS1200 adjustable PLL fitted, and so it can only be clock master on the network.
You'll need to define it in avb_conf.h, and also move the cores around. The Ethernet is currently hardcoded to run on Tile 1.
Are you using the audio slice? It's worth noting that this doesn't currently have the Cirrus CS1200 adjustable PLL fitted, and so it can only be clock master on the network.
-
- Junior Member
- Posts: 4
- Joined: Thu Feb 21, 2013 5:17 pm
Hello Andy,Andy wrote:Hi gavaz,
You'll need to define it in avb_conf.h, and also move the cores around. The Ethernet is currently hardcoded to run on Tile 1.
Are you using the audio slice? It's worth noting that this doesn't currently have the Cirrus CS1200 adjustable PLL fitted, and so it can only be clock master on the network.
thanks for your quick answere. Yes, I used the audio slice for that example. I noticed also that in addition it didn't work because if I define a different slot (e.g. the star slot) for the ethernet module, the hardware adresses defined there are in conflict with other hardware adresses defined somewhere else. Anyway and thanks to your help it helped to get in to the code and is not of particular interest for me anymore.
Now I got a different and maybe more important problem (not sliceKIT related) which I opened here:
http://www.xcore.com/forum/viewtopic.php?f=40&t=2089
If you have any idea, let me know. Thank you again!