AnsweredAssumed Answered

Interrupts

Question asked by sharath@delopt.co.in on Aug 17, 2016
Latest reply on Aug 18, 2016 by sharath@delopt.co.in

Hi,

 

I am writing a custom driver for SPORT0 to work in standard serial mode of BF609.

I have enabled interrupt for SPORT half A using 

'request_irq(IRQ_SPORT0_TX_STAT, (void *)my_handler,IRQF_DISABLED,NULL);' 

as IRQ_SPORT0_TX_STAT is the IRQ number for SPORT half A

and my interrupt handler as

static irqreturn_t my_handler(int irq,void * dev_id,struct pt_regs *regs)

{

   printk(KERN_INFO"interrupt");//debug message to ensure interrupt occurs 

   //custom handling

}

but i never get the message.

 

SPORT half A is configured in receive mode , external frame sync, external clk and SLEN as 8-bit.

Outcomes