Technical discussions about the TI C54x DSPs (including the c5401, c5402, c5402a, c5404, c5407, c5409, c5409a, c5410, c5410a, c5416, c5420, c5421, c5441, c549, c5470 and c5471).
I'm a third yr student I'm working with the Kit dskC5416... I need to get the audio sample from the port available n i need to process on those samples... Can u help me in this...!! I saw a post from u about interfacing with the PC so, u must be knowing how to get the real valued samples from McBSP I've only a months time to finish my project on audio processing, so now working on the processing part.. I need to get the samples n i'm stuck as to how to get those... If any of u can be help me in this i'll be thankful to u... Thank u, Lakshmana karthik S. (e...@gmail.com or s...@yahoo.co.in)
Lakshmana Karthik S- > I'm a third yr student > > I'm working with the Kit dskC5416... > > I need to get the audio sample from the port available n i need to process on those samples... > > Can u help me in this...!! I saw a post from u about interfacing with the PC so, u must be knowing how to get the real valued samples from McBSP > > I've only a months time to finish my project on audio processing, so now working on the processing part.. I need to get the samples n i'm stuck as to how to get those... Audio I/O source code and project examples come on the CD with the DSK 5416, or you can download them from Spectrum Digital website. Here is a page that shows how to build audio I/O example programs: http://www.engineering.sdsu.edu/~scott/lab3.htm -Jeff
Thanks a lot for ur reply Jeff... We ve that Audio Project which ur referring to, but its difficult to understand as it has lots of header files in it.. ( It is a C file right...?!!!!) Can u just brief us as to where the data gets stored, change its sampling rate n how to access it & process it while the C code is still running.. Also there r 3 McBSP port in C5416 n where in these 3, the real time datas get stored..? Also is there any asm file tat is available for getting the real time inputs. We r doing a project on audio processing n so we r concentrating on that n now v r stuck up with this, getting samples, itself. We tried to write a code by ourself by setting a sample rate using the timer given to the codec n get the samples wen an interrupt occurs(TINT).. But v want to know how to make the samples get loaded to a particular McBSP... also v could not move the contents of the accumulator to the output port via dxr as DXR is pointing to McBSP0 data receive register 2 (i.e., v tried moving from accumulator to dxr but it got loaded to DRR20) V r trying to learn the interfacing of the codec with the dsp n it will help us if u brief us "Which register r pin is used to change the sampling rate of the codec...?" Just brief us about getting realtime inputs in general... It will be of great help to us if u can help us.. Lakshmana Karthik S. (e...@gmail.com)
Lakshmana- You are trying to understand too many concepts at once. The best approach for you is to get the DSK 5416 audio I/O example working, and then make small, step-by-step changes. In the most basic audio I/O example that comes with the DSK, data is just looped back from input to output. Once that's working, the first thing you can try is to create a buffer, maybe 1024 samples or so, to insert a delay in output data. Then you would have have audio data "storage" as you mentioned. The second thing you can try is to adjust sampling rates. -Jeff e...@gmail.com wrote: > > Thanks a lot for ur reply Jeff... > > We ve that Audio Project which ur referring to, but its difficult to understand as it has lots of header files in it.. ( It is a C file right...?!!!!) > > Can u just brief us as to where the data gets stored, change its sampling rate n how to access it & process it while the C code is still running.. > > Also there r 3 McBSP port in C5416 n where in these 3, the real time datas get stored..? > > Also is there any asm file tat is available for getting the real time inputs. We r doing a project on audio processing n so we r concentrating on that n now v r stuck up with this, getting samples, itself. > > We tried to write a code by ourself by setting a sample rate using the timer given to the codec n get the samples wen an interrupt occurs(TINT).. But v want to know how to make the samples get loaded to a particular McBSP... also v could not move the contents of the accumulator to the output port via dxr as DXR is pointing to McBSP0 data receive register 2 > (i.e., v tried moving from accumulator to dxr but it got loaded to DRR20) > > V r trying to learn the interfacing of the codec with the dsp n it will help us if u brief us "Which register r pin is used to change the sampling rate of the codec...?" > > Just brief us about getting realtime inputs in general... > > It will be of great help to us if u can help us.. > > Lakshmana Karthik S. > (e...@gmail.com)