I'm performing speech recognition with the 5402 DSK equipped with AD50 codecs. I need to know how to continuously sample from the microphone port on the DSK. Could someone please provide sample code or help me out with the C functions necessary to perform this continuous sampling using Code Composer? I've seen the General Help files regarding C functions with the AD50, but I'm not sure what has to be done, or how, regarding codec power up, initiation, sample retrieval, etc. I'm in the dark! Thanks to all. Dave Terry Rochester Institute of Technology |
|
microphone sampling w/ 5402 DSK & AD50
Started by ●March 22, 2001
Reply by ●March 23, 20012001-03-23
Dave, --- In c54x@y..., toastydirt@y... wrote: > or help me out with the C functions necessary to perform this > continuous sampling using Code Composer? I've seen the General Help > files regarding C functions with the AD50, but I'm not sure what has > to be done, or how, regarding codec power up, initiation, sample Have you searched below your CCS installed folder? There may be some useful samples. To satifty your need for now, codec program seems good for you. If you can't find the sample program, please search it from TI FTP site, ftp.ti.com. You'll find ftp://ftp.ti.com/pub/cs/c54x/dsk/1.11/codec.example/codec.zip . This is just a sample program, so it uses a polling routine to get and put sampling data. For practical use, you should use interrupt service routine for this type of application. Regards, Motohiko Shinozaki |
Reply by ●March 23, 20012001-03-23
Hi! The examples for doing that was installed when you installed the code composer. You could also use the DSP/BIOS to configure and control your codec. It is much easier and more optimized. --emer On Thu, 22 Mar 2001 wrote: > I'm performing speech recognition with the 5402 DSK equipped with > AD50 codecs. I need to know how to continuously sample from the > microphone port on the DSK. Could someone please provide sample code > or help me out with the C functions necessary to perform this > continuous sampling using Code Composer? I've seen the General Help > files regarding C functions with the AD50, but I'm not sure what has > to be done, or how, regarding codec power up, initiation, sample > retrieval, etc. I'm in the dark! > > Thanks to all. > Dave Terry > Rochester Institute of Technology > > _____________________________________ > Note: If you do a simple "reply" with your email client, only the author of this message will receive your answer. You need to do a "reply all" if you want your answer to be distributed to the entire group. > > _____________________________________ > About this discussion group: > > To Join: Send an email to > > To Post: Send an email to > > To Leave: Send an email to > > Archives: http://www.yahoogroups.com/group/c54x > > Other Groups: http://www.dsprelated.com > ">http://docs.yahoo.com/info/terms/ > |