--- In lpc2000@yahoogroups.com, Tom Walsh <tom@...> wrote: > Thank you, I am aware of that document. It doesn't pertain to the > problem we are seeing. The problem we are seeing is that at random > intervals the SPIF flag does not get set. For myself, I have an ISR > which is triggered by the SPINT request, at the top of the ISR I loop > looking for the SPIF flag to be set. Randomly, this flag fails to be > asserted by the hardware. This causes my ISR to deadlock. > I'd guessed you'd seen it OK, but just in case you weren't aware of it.... The behaviour you describe certainly seems odd, and like you say, though the work-around works, I'd be a bit worried too that it could fail (on the basis that it's to get around unexplained rather than well understood behaviour). I'd be inclined to reduce the software as much as possible to try and isolate the behaviour. This will either identify the source of the problem, or if not, should give something small and manageable that Philips could take a look at. Let us know the outcome if you go down this route. Brendan
Message
Re: SPI Code hangs
2006-03-10 by brendanmurphy37
Attachments
- No local attachments were found for this message.