2008-12-10 03:33:25 How to map a Flag pin ( PF ) interrupt to PF_Interrupt B
Sada M (INDIA)
Message: 66587
Hi,
How to map a Flag pin ( PF ) interrupt to PF_Interrupt B ?
Is there any option in Make menuconfig ?
Regards,
Sada.
QuoteReplyEditDelete
2008-12-10 03:50:48 Re: How to map a Flag pin ( PF ) interrupt to PF_Interrupt B
Mike Frysinger (UNITED STATES)
Message: 66588
there is no way currently. the Blackfin code all uses PF Interrupt A.
QuoteReplyEditDelete
2008-12-10 04:26:59 Re: How to map a Flag pin ( PF ) interrupt to PF_Interrupt B
Sada M (INDIA)
Message: 66599
Hi Frysinger,
Thanks for the inputs.
We have issue in our system due to this because, in current system we have Ethernet,WLAN & IR interrupts mapped thru PF pins and IR is actually very critical. Due to above limitaion the IR interrupt service latency is more than expected and we have issues with key detection.
Is there any other way to do it ?
Also Is there any possibilities to enable pre-emptive in ISR ? ( Normally which we enable by pushing RETI into Stack Pointer ).
Regards,
Sada.
QuoteReplyEditDelete
2008-12-10 04:30:20 Re: How to map a Flag pin ( PF ) interrupt to PF_Interrupt B
Michael Hennerich (GERMANY)
Message: 66600
Connect the IR Receiver to a timer - and not to GPIOs
See some examples here - this works pretty reliable ...
http://docs.blackfin.uclinux.org/doku.php?id=hw:cards:ir-trx&s[]=lirc
http://docs.blackfin.uclinux.org/doku.php?id=uclinux-dist:lirc
-Michael
QuoteReplyEditDelete
2008-12-10 05:51:46 Re: How to map a Flag pin ( PF ) interrupt to PF_Interrupt B
Sada M (INDIA)
Message: 66601
Currently in the sytem all the TIMERs are used for LCD driver.
Is there any possibilities to enable pre-emptive in ISR ? ( Normally which we enable by pushing RETI into Stack Pointer ).
QuoteReplyEditDelete
2008-12-10 09:14:48 Re: How to map a Flag pin ( PF ) interrupt to PF_Interrupt B
Michael Hennerich (GERMANY)
Message: 66606
Nesting of interrupts is by default enabled on Blackfin Linux.
-Michael
QuoteReplyEditDelete