Okay, I feel dumb asking this question, but how do you change the pinouts!?!
So for example, if I wanted to use a modified version of the multifunction audio code with a custom board and I needed to change the pinout for I2S_SCLK from X0D0 to X0D1, how would I do that?
Amongst all the provided code, I can't seem to fine where all the specific pinouts are actually defined...
Thanks,
Rob.
Changing pinouts for USB Audio?
-
- Junior Member
- Posts: 6
- Joined: Sun Mar 29, 2015 5:13 am
-
- XCore Expert
- Posts: 754
- Joined: Thu Dec 10, 2009 6:56 pm
Best bet is to check the XN file.
If that does not result in anything, trace the port variable and/or get a file searching tool and search for all references of I2S_CLK and XS1_PORT_1A. It needs to be defined somewhere :p
If that does not result in anything, trace the port variable and/or get a file searching tool and search for all references of I2S_CLK and XS1_PORT_1A. It needs to be defined somewhere :p
-
- Junior Member
- Posts: 6
- Joined: Sun Mar 29, 2015 5:13 am
Okay,
I figured it out, if I open the hardware define file, in my case xk_usb_audio_u8_2.xn two small tabs appear in the lower left hand corner of the window the file is opened in. If I click on the source tab (design seems to be displayed by default) all the pin declarations are given and are available to modify.
The USB audio code sure is nice, but holy-moley! What a learning curve!
Thanks,
Rob.
I figured it out, if I open the hardware define file, in my case xk_usb_audio_u8_2.xn two small tabs appear in the lower left hand corner of the window the file is opened in. If I click on the source tab (design seems to be displayed by default) all the pin declarations are given and are available to modify.
The USB audio code sure is nice, but holy-moley! What a learning curve!
Thanks,
Rob.
-
Verified
- XCore Legend
- Posts: 1163
- Joined: Thu Dec 10, 2009 9:20 pm
- Location: Bristol, UK
Did you see the USB Audio Design Guide? That should give you a good background