public inbox for linux-omap@vger.kernel.org
 help / color / mirror / Atom feed
* Re: Re: Regarding McBSP Int ...help needed... (Matthew Percival)
@ 2005-12-20  5:52 Raghu_Mallya
  2005-12-20 22:40 ` Matthew Percival
  0 siblings, 1 reply; 2+ messages in thread
From: Raghu_Mallya @ 2005-12-20  5:52 UTC (permalink / raw)
  To: linux-omap-open-source


Hi:

Thanks for the reply matthew. 
I tried your directions  and now my code looks as below.

 Void McBSPRxInterrupt(Void)
 {   
       Uns McBSP1Data;
      Uns InterruptStatus; 
       
       //code to check if the interrupt is from McBSP1 or McBSP3
      InterruptStatus = inw(_LEV2_SIR_FIQ);
      
       
 	  McBSP1Data = inw(_MCBSP1_DRR1); // copy contents of McBSP
receive
 							//register to
variable
	outw(inw(DSP_L21_CONTROL) | NEW_FIQ_AGR, DSP_L21_CONTROL);

 }

There is indeed a bit a advance in the sense, My ISR is executed twice
now after including ur line of code. But after that no response. 

I am checking for the ISR execution as below.
First of all I have declared a global variable ie cpy=0x0000(initialized
to zero) b/w toklibios and ex_task and in the ISR I am incrementing this
variable by one
, In the ex_task.out I am doing a word send of the variable. Before
including your line of code is used to get cpy=0x0001 but after ur code
is included it get cpy=0x0002 and then no increments... not able to
figure out why the ISR stops executing in b/w. any idea about this

Regards

Raghu


DISCLAIMER:
This email (including any attachments) is intended for the sole use of the intended recipient/s and may contain material that is CONFIDENTIAL AND PRIVATE COMPANY INFORMATION. Any review or reliance by others or copying or distribution or forwarding of any or all of the contents in this message is STRICTLY PROHIBITED. If you are not the intended recipient, please contact the sender by email and delete all copies; your cooperation in this regard is appreciated.

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2005-12-20 22:40 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-12-20  5:52 Re: Regarding McBSP Int ...help needed... (Matthew Percival) Raghu_Mallya
2005-12-20 22:40 ` Matthew Percival

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox