Hi all! This is my first thread here!!
My question is simple.
I need to transfer the content of a .wav file, which is currently in a PC computer, into the RAM of a PIC24xxx... (16-bit data bus) via USB.
This .wav file is nothing else than a list of 16-bit numbers that represent a sampled audio.
For example:
Data 1: 1010 1011 1110 1000
Data 2: 1110 1101 1100 1010
Data 3: 1010 1001 1010 1001
Data 4: 1100 1101 1000 0001
.
.
.
etc, etc
So I need this group of numbers inside the RAM of the microcontroller (to eventually being able to play it back, as you can imagine).
well, I know that there are microcontrollers that have a built-in USB capability and there are others that don't. Also I know that some people put a converter (USB to UART) to input data into the microcontroller in a (apparently) easier way.
Questions:
1) What do you people recommend me overall?
2) What does a USB transmission consist of? Is it like a RS232 one? (start bit followed by data followed by parity bit followed by stop bit).
3) Have you got anything similar to this implemented at all? Any assembly code or C programs to show me? Any schematics diagram?
Thank you very much indeed.
qw10
My question is simple.
I need to transfer the content of a .wav file, which is currently in a PC computer, into the RAM of a PIC24xxx... (16-bit data bus) via USB.
This .wav file is nothing else than a list of 16-bit numbers that represent a sampled audio.
For example:
Data 1: 1010 1011 1110 1000
Data 2: 1110 1101 1100 1010
Data 3: 1010 1001 1010 1001
Data 4: 1100 1101 1000 0001
.
.
.
etc, etc
So I need this group of numbers inside the RAM of the microcontroller (to eventually being able to play it back, as you can imagine).
well, I know that there are microcontrollers that have a built-in USB capability and there are others that don't. Also I know that some people put a converter (USB to UART) to input data into the microcontroller in a (apparently) easier way.
Questions:
1) What do you people recommend me overall?
2) What does a USB transmission consist of? Is it like a RS232 one? (start bit followed by data followed by parity bit followed by stop bit).
3) Have you got anything similar to this implemented at all? Any assembly code or C programs to show me? Any schematics diagram?
Thank you very much indeed.
qw10