Yahoo Groups archive

Lpc2000

Index last updated: 2026-04-28 23:31 UTC

Message

Re: SPI Code hangs

2006-03-10 by brendanmurphy37

--- In lpc2000@yahoogroups.com, Tom Walsh <tom@...> wrote:
> What I'd found was that this state machine / VICSoftInt 
> mechanism would run fine for a while, then randomly the SPI ISR would 
> deadlock looking for the SPI completion bit.  The only way I've found 
> out of that deadlock was to put a timeout in the code which looks at 
the 
> completion bit:

Tom,

I presume you've seen and taken account of the LPC2106 erratum, 
specifically the item "unintentional clearing of SPI interrupt flag" in 
your investigations?

I'm not saying this is the cause of the behaviour you're seeing, but if 
you haven't looked into this, it might be worth doing so.

Brendan

Attachments

Move to quarantaine

This moves the raw source file on disk only. The archive index is not changed automatically, so you still need to run a manual refresh afterward.