Yahoo Groups archive

Lpc2000

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

Message

Can controller

2005-06-07 by gfaurie1

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.

The alone soltution that could work is to reset can controller with 
CANMOD register, i can do this manually but automatically it's a 
little bit hard and dangerous.

Thanks for your help

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.