Hello, ->I am using BF EZ KIT LITE for BF533. ->Considering the example of audio codec talkthrough...... -> There are 8 channels Tx and Rx enabled.. ->Interrrupts occur when the array of size 8 of type int is full ->I want to use only one channel instead of 8 this can be done by modifying the transmit and receive MCM register -> I want to buffer an array of size 960 of type int instead of the default 8 please help me in doing that... i want to buffer 960 samples of one channel alone before the interrupt happens... Any one helping me out of this will be well appreciated.. Thankyou With Regards Yuvaraj |
(No Subject)
Started by ●March 22, 2005
Reply by ●March 22, 20052005-03-22
On Tue, 22 Mar 2005, Yuvaraj C wrote: > Hello, > ->I am using BF EZ KIT LITE for BF533. > > ->Considering the example of audio codec talkthrough...... > -> There are 8 channels Tx and Rx enabled.. > ->Interrrupts occur when the array of size 8 of type int is full > ->I want to use only one channel instead of 8 this can be done by > modifying the transmit and receive MCM register > > -> I want to buffer an array of size 960 of type int instead of the > default 8 please help me in doing that... i want to buffer 960 samples > of one channel alone before the interrupt happens... > > Any one helping me out of this will be well appreciated.. I've never played with a blackfin processor so I can't help much. But there are a few things you can do to play with things to see how they change. Then use that info to get what you want. First, look at the codec initialization. Can you change it from 8 channels to 4? Once you get that change to work, you should be able to get it down to 1 fairly easily. If you can't do it, then you may have to skip 7 channels to get the one you want. Second, look at how the talk thru buffers the data. Change the code to buffer 16 words. Then 32. Once you get the idea, going upt to 960 should also be easy. You learn more by mistakes than you do by correctness. Make a mess, and the process of cleaning it up will be your answer. Patience, persistence, truth, Dr. mike |