Re: Receiving CAN messages with TouCAN

Stefan Metzlaff <[email protected]> Fri, 14 Jul 2006 19:16:15 +0200
Newsgroups gmane.comp.hardware.motorola.microcontrollers
Message-ID <[email protected]>
Thank you for your help,

now I'm using a workaround: The application listens with one buffer for
all events. If it reads something interesting, a buffer is configurated
for the according identifier. This works quite fine and I ain't miss any
important messages. (Of course I have to set the read cycle time
correctly to the shorted period of a message.)


Randall Young wrote:
>
>
>
> > By the description
> > of the controller, it should be possible to set several message
> > buffers to read mode. If
> > a message arrives it sould be placed in one of the empty buffers
> > until all buffers are filled.
>
> My experience was that it does not work this way. Multiple read
> buffers are
> only effective if you can use the mask to sort the messages out (which
> isn't
> likely). An incoming message always goes to the first buffer whose mask
> will allow it. If that buffer is full, the message is lost even if other
> buffers would accept it.
>
> Randall Young
> Senior Software Engineer
> NavCom Technology, Inc.
> A John Deere Company
>
> "The information contained in or attached to this message, to the extent
> it is non-public, is the confidential, proprietary information of NavCom
> Technology, Inc., its affiliates
> and/or subsidiaries (collectively, "NavCom") and may not be
> reproduced, disclosed to any third party or used by recipient and/or the
> recipient's employer (hereinafter
> "recipient") , for other than the intended purpose for which it was
> provided to the recipient, or other than in accordance with the terms
> of any
> Confidentiality or Non Disclosure
> Agreement between NavCom. and the recipient, without the prior
> written approval of NavCom. If you are not the intended recipient or the
> person responsible for delivering the
> electronic mail to the intended recipient, be advised that you have
> received this electronic mail in error and that any use, dissemination,
> forwarding, printing, or copying of this
> electronic mail is strictly prohibited. If you have received this
> electronic mail in error, please immediately notify the sender by return
> mail."
>
>  


	

	
		
___________________________________________________________ 
Der frühe Vogel fängt den Wurm. Hier gelangen Sie zum neuen Yahoo! Mail: http://mail.yahoo.de


-----------------------------------------------------------
To learn more about Freescale Microcontrollers, please visit
http://www.freescale.com/mcu


 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/MPC500/

<*> To unsubscribe from this group, send an email to:
    [email protected]

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/