Nxp semiconductors, 6 scenario 4: clearing message lost bit, Object read) clears the pending interrupt. the 3 – NXP Semiconductors LPC24XX UM10237 User Manual

Page 517

Advertising
background image

UM10237_4

© NXP B.V. 2009. All rights reserved.

User manual

Rev. 04 — 26 August 2009

517 of 792

NXP Semiconductors

UM10237

Chapter 18: LPC24XX CAN controllers CAN1/2

17.3.6 Scenario 4: Clearing Message Lost bit

This scenario is a special case in which the lost message bit of an object gets set during
an overwrite of a none read message object (2

nd

Object write). The subsequent read out

of that object by Software (1

st

Object read) clears the pending Interrupt. The 3

rd

Object

write clears the Message Lost bit. Every “write ID, SEM” clears Message Lost bit if no
pending Interrupt of that object is set.

Fig 89. Message overwritten indicated by message lost

IntPndx

semaphore

bits

look-up

table

access

MsgLostx

message

handler

access

ARM

processor

access

write
SEM

write

D2

write

D1

write

ID,

SEM

01

11

01

11

00

1st Object

write

2nd Object

write

1st Object

read

Interrupt Service

Routine

01

11

3rd Object

write

write
SEM

write

D2

write

D1

write

ID,

SEM

write
SEM

write

D2

write

D1

write

ID,

SEM

read

SEM

read

D2

read

D1

read

SEM

clear
SEM

Advertising