I have the xmos usb slice kit (u16) and the audio slice if i follow the compatibility matrix it should be possible to combine the audio slice with the core board. this should be done through use of the alt diamond.
I want to test it with the examples, (start with biquad) as I have looked through the datasheets and could not find why in app_global the ports are named XS1_ PORT_1A or something in that way. as in topic suggested i have used the redefined portmap, but this did not work. So if I know why they are named the way they are I can determine witch port is witch pin.
As a second part of my question should I alter a other part of the example to get it to work?
in short: how do i get the audio examples to work if i use the usb slice core board in combination with audio slice?
How to redefine the ports for alt Diamond (usb slice)? Topic is solved
-
- Member
- Posts: 8
- Joined: Fri Aug 01, 2014 11:56 am
-
- Member
- Posts: 8
- Joined: Fri Aug 01, 2014 11:56 am
I found the solution, the documentation is wrong (at least for the audio slice 1v1) the correct pinning can be found in the schematic.
only change the port defines to
and it should work. I hope this helps you as well.
only change the port defines to
Code: Select all
#define PORT_I2S_DAC0 XS1_PORT_1D
#define PORT_I2S_DAC1 XS1_PORT_1H
#define PORT_I2S_ADC0 XS1_PORT_1K
#define PORT_I2S_ADC1 XS1_PORT_1L
#define PORT_I2S_LRCLK XS1_PORT_1I
#define PORT_I2S_BCLK XS1_PORT_1A
#define PORT_MCLK_IN XS1_PORT_1E
#define PORT_GPIO XS1_PORT_32A
#define PORT_I2C XS1_PORT_4E