hi DSP pals i have problem with McBsp interrupt. we are using TMS320C6211 from TI ,we are using McBsp channel 0 , which recieves ST bus samples, we are using ST bus samples to determine DTMF signals, using oertzel algorithm.we have not used DSP BIOS.we have used 100% cache.not used any external RAM.we feeding clocks and frame sync from CPLD. The problem is ,the 50 % of the time it works fine, some time McBsp interrupt will not come and the EDMA will often not make the transfers. Once it 'starts up' I have never seen it stop. But my problem is getting it to 'start up' EVERY time. Any other suggestions as to possible causes or solutions if this is indeed my problem? Thanks in advance for any input/tips/advice . Raja Jitendra Nayaka DSP Group. ITI Limited, Bangalore-16 Win TVs, Bikes, DVD players and more!Click onYahoo! India Promos |
|
6211, McBsp Interrupt problem
Started by ●August 21, 2003
Reply by ●August 21, 20032003-08-21
Hi I am programming C6414. I am getting an error when i am performing a right shift operation on a register pair. shr a25:a24,diff1a,a25:a24 ; i am getting the correct result, but on this particular case when initally the value in a25:a24 is a25 00000083h a24 2e7e6a8ch and diff1a is 19h i am getting incorrect result. the result after shifting which i should get is a25 00000000h a24 00004197h but i am getting a25 000000ff a24 ffffc197h can anyone please tell me why i am getting this. Thanks Amit Agarwal __________________________________ |
|
Reply by ●August 22, 20032003-08-22
pls. try ....... shru a25:a24,diff1a,a25:a24 ; and it should help... shr shift as signed and hence the prob. Ajeet -----Original Message----- From: Amit Agarwal [mailto:] Sent: Friday, August 22, 2003 12:54 AM To: Subject: [c6x] problem in right shift operation Hi I am programming C6414. I am getting an error when i am performing a right shift operation on a register pair. shr a25:a24,diff1a,a25:a24 ; i am getting the correct result, but on this particular case when initally the value in a25:a24 is a25 00000083h a24 2e7e6a8ch and diff1a is 19h i am getting incorrect result. the result after shifting which i should get is a25 00000000h a24 00004197h but i am getting a25 000000ff a24 ffffc197h can anyone please tell me why i am getting this. Thanks Amit Agarwal __________________________________ _____________________________________ 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/c6x Other Groups: http://www.dsprelated.com ">http://docs.yahoo.com/info/terms/ |
|
Reply by ●August 25, 20032003-08-25
Amit,
One thing that may have confused you. Although the c64x supports
"double register operations" [64 bits] for some instructions, the shifts are 40
bit only and that is why the high byte [0x00000083] was treated as a signed
number.
mikedunn
Ajeet K Mall <a...@emuzed.com> wrote: pls. try ....... |