Anonymous
Not applicable
Aug 03, 2009
06:38 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Aug 03, 2009
06:38 AM
Hi,
I am working on a new design which will use the CY7C68013A together with a FPGA to convert a USB Audio signal into SPDIF signal.
Details:
1. The CY7C68013A will act as the USB controller and convert the USB Audio signal into parallel data.
2. The FPGA will then covert the parallel data into SPDIF format.
3. Both (USB input and SPDIF output) of the above needs to support 24bit/192kHz audio data.
A few questions:
1. Is there any sample code for the CY7C68013A to act as an USB audio device and accept 24bit/192kHz audio data?
2. Can the CY7C68013A be programmed to act as a native USB Audio 2.0 device? Hence no custom USB driver is needed, user can use the generic USB audio driver comes with Windows.
Many thanks,
DM
I am working on a new design which will use the CY7C68013A together with a FPGA to convert a USB Audio signal into SPDIF signal.
Details:
1. The CY7C68013A will act as the USB controller and convert the USB Audio signal into parallel data.
2. The FPGA will then covert the parallel data into SPDIF format.
3. Both (USB input and SPDIF output) of the above needs to support 24bit/192kHz audio data.
A few questions:
1. Is there any sample code for the CY7C68013A to act as an USB audio device and accept 24bit/192kHz audio data?
2. Can the CY7C68013A be programmed to act as a native USB Audio 2.0 device? Hence no custom USB driver is needed, user can use the generic USB audio driver comes with Windows.
Many thanks,
DM
9 Replies
Anonymous
Not applicable
Aug 03, 2009
07:32 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Aug 03, 2009
07:32 AM
What you are trying to achieve can definitely be done... modifying the device descriptor should help you bind fx2lp to native audio driver...
Anonymous
Not applicable
Aug 03, 2009
08:42 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Aug 03, 2009
08:42 AM
thank for the reply.
Is there any sample code for the CY7C68013A to act as an USB audio device and accept 24bit/192kHz audio data?
Is there any sample code for the CY7C68013A to act as an USB audio device and accept 24bit/192kHz audio data?
Anonymous
Not applicable
Aug 03, 2009
08:52 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Aug 03, 2009
08:52 AM
I don't think there is an sample code like that....
Anonymous
Not applicable
Aug 03, 2009
10:53 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Aug 03, 2009
10:53 AM
Seems that the native usbaudio.sys driver from MS will not work at 192kHz. Only the newer hdaudio.sys can. How difficult is to program the CY7C68013A, so that is will work under hdaudio.sys with 192kHz ability?
Anonymous
Not applicable
Aug 03, 2009
11:06 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Aug 03, 2009
11:06 AM
Still the datarate is less than 1MB/s right??? i don't think FX2LP will have a problem managing that... Since you are using the FPGA to do the work the easiest way to go is to put FX2LP in slave fifo mode and keep pumping the received packet to FPGA...
Anonymous
Not applicable
Aug 03, 2009
11:34 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Aug 03, 2009
11:34 AM
yes, the data rate is ~9Mb/s, plus 20% overhead, still less than 12Mb/s. I don't think FX2LP is the problem, it is the native usbaudio.sys in Windows OS that is the problem.
One way to fix it is to use the native hdaudio.sys, anyone tried to program the FX2LP to work with hdaudio.sys?
One way to fix it is to use the native hdaudio.sys, anyone tried to program the FX2LP to work with hdaudio.sys?
Anonymous
Not applicable
Aug 03, 2009
12:47 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Aug 03, 2009
12:47 PM
That part i'm not sure dude...
Anonymous
Not applicable
Aug 04, 2009
09:05 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Aug 04, 2009
09:05 AM
Also I need to to implement the USB-Audio protocol in the firmware of the FX2LP , any sample code which I can refer to?
Anonymous
Not applicable
Aug 04, 2009
11:59 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Aug 04, 2009
11:59 AM
Your earlier description seemed like you were planning to shift the audio protocol overhead processing to the FPGA side... if you are gonna use FX2LP to do that you are actually using a 8051 to process data coming in at USB speed so you better calculate the speed before proceeding....