Hi,
I'm new to the community and new to dsps in general. What a deep pool this is… haha
Is there a simple loopback example for the XK-EVK-XU316 board. I see one for the xk-audio-316-mc in the lib_i2s examples. But I don't know how to migrate it to the XK-EVK-XU316 board. If someone could either help with the migration or point me to a working example for the XK-EVK-XU316 .. that would be great.
Thanks!
Nick
xu316 simple audio loopback example
-
- New User
- Posts: 2
- Joined: Mon May 26, 2025 2:40 pm
-
Verified
- XCore Legend
- Posts: 1183
- Joined: Thu Dec 10, 2009 9:20 pm
- Location: Bristol, UK
I don't have an example ready to go im afraid - perhaps someone else does or is up for making one.
Initial steps would be:
in CMakeLists.txt:
- change APP_HW_TARGET to XK-EVK-XU316
- change -DBOARD_SUPPORT_BOARD=XK_AUDIO_316_MC_AB to -DBOARD_SUPPORT_BOARD=XK_EVK_XU316
You can then use the relevant functions from lib_board_support, xk_audio_316_mc_ab_AudioHwConfig() becomes xk_evk_xu316_AudioHwInit() etc
Something to watch out for is that the I²C ports are on tile[0] and the I²S ports are on tile[1] (this is the same as the XK_AUDIO_316_MC_AB example). This means that a remote I²C task is run on tile[0] and changes are communicated from tile[1].
Initial steps would be:
in CMakeLists.txt:
- change APP_HW_TARGET to XK-EVK-XU316
- change -DBOARD_SUPPORT_BOARD=XK_AUDIO_316_MC_AB to -DBOARD_SUPPORT_BOARD=XK_EVK_XU316
You can then use the relevant functions from lib_board_support, xk_audio_316_mc_ab_AudioHwConfig() becomes xk_evk_xu316_AudioHwInit() etc
Something to watch out for is that the I²C ports are on tile[0] and the I²S ports are on tile[1] (this is the same as the XK_AUDIO_316_MC_AB example). This means that a remote I²C task is run on tile[0] and changes are communicated from tile[1].
Technical Director @ XMOS. Opinions expressed are my own
-
- New User
- Posts: 2
- Joined: Mon May 26, 2025 2:40 pm
Yeah I had already tried that and it didn't work (I can't remember why now though). If anyone is available, I do have an upwork post
https://www.upwork.com/ab/applicants/19 ... ob-details
https://www.upwork.com/ab/applicants/19 ... ob-details