Yahoo Groups archive

Lpc2000

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

Message

Re: [lpc2000] Re: Can controller

2005-06-08 by Gilles FAURIE

Hi,

No, I release receive buffer at the end of my interrupt routine. The only 
way to restart interrupt macenism is to put CAN controller in reset mode and 
after in normal mode.

I have problem, too, when i disable all interruptions during programmation 
of my flash program.

----- Original Message ----- 
From: "gerhard_uttenthaler" <gerhard.uttenthaler@...>
To: <lpc2000@yahoogroups.com>
Sent: Tuesday, June 07, 2005 2:07 PM
Subject: [lpc2000] Re: Can controller


> --- 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
>
>
>
>
>
> Yahoo! Groups Links
>
>
>
>
>
>
>

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.