Yahoo Groups archive

Lpc2000

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

Message

Re: Can controller

2005-06-07 by gerhard_uttenthaler

--- In lpc2000@yahoogroups.com, "gfaurie1" <gilles.faurie@p...> wrote:
> Hi,
> 
> I use CAN controller with interruptions in reception. I have a problem 
> because when i stop my debugger and i press start after, my reception 
> interrupt doesn't work because i am in a strange state. I have no bit 
> RI, but i have DO (data overrun). I receive messages on CAN but my 
> buffers are full so my bit RI is never equal to 1. DO is already equal 
> to one so it stays at one, and because my micro was stopped on 
> transition of DO from 0 to 1 it didn't detect interruption.
> 
> SO RI stay at 0 and DO stay at 1 so i have nomore interruptions on CAN 
> reception.
> 

Could it be, that you do not give the Release Receive Buffer command
at the end of your interrupt routine?


Regards
Gerhard

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.