Technical discussions related to Analog Devices DSPs (including Blackfin, TigerSHARC, SHARC and ADSP-21xx DSPs).
|
hi~ I am confused about how the codec initialized. According to the manual and the example program, I should send a circular buffers containing the register information needed for AD73322. But how do I do that? I went through talkthrough example program but still can't write the code of my own. The next question is how the SPORT interrupt generate? Since I need to initialize AD73322 first. I am working on a simple program. Just send the signal in from J1 in EZ-kit and through AD73322, into DSP. Then send the signal right out to AD73322 to J2. But not use overlay memory like the talkthrough example. I am new at this and hope to hear some advices. thanks a lot! tylu from Taiwan |
|
|
|
On Fri, 21 Mar 2003, tylu wrote: > I am confused about how the codec initialized. According to the > manual and the example program, I should send a circular buffers > containing the register information needed for AD73322. But how do I > do that? I went through talkthrough example program but still can't > write the code of my own. There has to be some kind of initialization code. Can you step thru the program from the very beginning and see where it sends the first data to the codec? Most likely there is a reset line it pulls first, which is either a specific address or data byte. Do you have the manual for the codec? > The next question is how the SPORT interrupt generate? Since I need > to initialize AD73322 first. Look at the schematics. How is the codec wired into the processor? > I am working on a simple program. Just send the signal in from J1 in > EZ-kit and through AD73322, into DSP. Then send the signal right out > to AD73322 to J2. But not use overlay memory like the talkthrough > example. > > I am new at this and hope to hear some advices. > thanks a lot! You first need to understand how the hardware is connected. Then you need to understand how the hardware works. Then look at the code for the example program and understand how it is working. Then you can modify it to do what you want. One step at a time, and you will get there! Patience, persistence, truth, Dr. mike |