Hi Dmitry
I am sorry that I am not good at English.I do not know the
meaning of this sentence “but
can't it happen that both irqworks will be scheduled?”.I just explain what I
thought about irq handler about cc2420.I hope it may help.
cc2420 have not irq status register or something like that.It uses pin value
to indicate a successful transmitting or receiving package.A falling edge of
SFD pin means a successful
transmitting package. A raising edge of FIFOP pin indicates a successful
receiving package meaning while the SFD pin is falling.It means,during
receiving package, it will trigger two irqs.I found that SFD interrupt is
trigger first then FIFOP's.So, iI think both irqwoks will be scheduled.
Regards
liuxue
CUMT
--- 10年2月26日,周五, Dmitry Eremin-Solenikov <[email protected]> 写道:
发件人: Dmitry Eremin-Solenikov <[email protected]>
主题: Re: [Linux-zigbee-devel] cc2420 driver for Imote2
收件人: "liuxue" <[email protected]>
抄送: [email protected]
日期: 2010年2月26日,周五,下午8:23
On Fri, Feb 19, 2010 at 7:18 PM, Dmitry Eremin-Solenikov
<[email protected]> wrote:
> Hello,
>
> On Fri, Feb 19, 2010 at 6:51 PM, liuxue <[email protected]> wrote:
>>
>> Hello everyone,
>> This cc2420 driver is for imote2 platform.It is far from
>> complete.So,Any suggestion is appreciate.Thanks to Jonathan Cameron for his
>> help and patience.
>> It seem that this mail list server does not accept "big" e-mail.My last
>> e-mail which was 136kb with accessories was rejected by it.So,this time, I
>> send a "small" one.
>
> Sorry for the delay, I haven't checked the admindb for a while. I'll
> push this patch (with several cleanups) to main repo soon.
BTW: It seems the driver has some issues with IRQ enabling/disabling
(at least it looks so).
You have one multiplexed ISR, which then disables itself, enabling
happens in irqworks, but
can't it happen that both irqworks will be scheduled?
Could you please look into it?
>
>>
>>
>> ------------------------------------------------------------------------------
>> Download Intel® Parallel Studio Eval
>> Try the new software tools for yourself. Speed compiling, find bugs
>> proactively, and fine-tune applications for parallel performance.
>> See why Intel Parallel Studio got high marks during beta.
>> http://p.sf.net/sfu/intel-sw-dev
>> _______________________________________________
>> Linux-zigbee-devel mailing list
>> [email protected]
>> https://lists.sourceforge.net/lists/listinfo/linux-zigbee-devel
>>
>
>
>
> --
> With best wishes
> Dmitry
>
--
With best wishes
Dmitry
------------------------------------------------------------------------------
Download Intel® Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
_______________________________________________
Linux-zigbee-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/linux-zigbee-devel