Yahoo Groups archive

Lpc2000

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

Thread

CAN: ID0 - Messages: Problem

CAN: ID0 - Messages: Problem

2005-09-15 by cabrioandi

Hello,

I´m using the LPC2119 as a CAN-Gateway (24MHz crystal, CAN 83.3kBaud). 
I´ve got 50 different ID´s on the CAN. There is also the ID0 appearing. 
Sometimes the ID 0 is written with wrong data and DLC. This problem 
appears only with the Message ID0. Has anyone had the same problem or 
knows what can be wrong?

many thanks, Andreas

Re: CAN: ID0 - Messages: Problem

2005-09-15 by gerhard_uttenthaler

--- In lpc2000@yahoogroups.com, "cabrioandi" <andi.reinhold@g...>
wrote:
> Hello,
> 
> I´m using the LPC2119 as a CAN-Gateway (24MHz crystal, CAN
83.3kBaud). 
> I´ve got 50 different ID´s on the CAN. There is also the ID0
appearing. 
> Sometimes the ID 0 is written with wrong data and DLC. This problem 
> appears only with the Message ID0. Has anyone had the same problem
or 
> knows what can be wrong?
> 
> many thanks, Andreas

Hi Andreas,

There is a bug mentioned in a philips errata sheet, noted as CAN.7.
http://www.semiconductors.philips.com/acrobat/erratasheets/2129.pdf

If you receive a message, while you are trying to send another message
and you lose arbitration, the received message may be corrupt.

This errata is for the 2129, but the CAN part should be the same with
the 2119, philips_apps?

Regards
Gerhard

Re: CAN: ID0 - Messages: Problem

2005-09-15 by gerhard_uttenthaler

> > appears only with the Message ID0. Has anyone had the same problem
> or 
> > knows what can be wrong?
> > 
> > many thanks, Andreas
> 
> Hi Andreas,
> 
> There is a bug mentioned in a philips errata sheet, noted as CAN.7.
> http://www.semiconductors.philips.com/acrobat/erratasheets/2129.pdf
> 
> If you receive a message, while you are trying to send another
message
> and you lose arbitration, the received message may be corrupt.
> 
> This errata is for the 2129, but the CAN part should be the same
with
> the 2119, philips_apps?
> 
> Regards
> Gerhard

Sorry, there is an errta sheet for the 2119 also, I have missed that:
http://www.semiconductors.philips.com/acrobat/erratasheets/2119.pdf

About CAN

2005-09-15 by Xtian Xultz

Sorry if this is off topic, but someone with more experience than me can point 
if there are advantages using CAN or is better to use RS485?

Thanx in advance

Best regards
Xultz
Curitiba - Brazil

Re: [lpc2000] About CAN

2005-09-15 by dasbento@aeiou.pt

Depend of your application!!!



Citando Xtian Xultz <xultz@...>:

> Sorry if this is off topic, but someone with more experience than me can
> point
> if there are advantages using CAN or is better to use RS485?
>
> Thanx in advance
>
> Best regards
> Xultz
> Curitiba - Brazil
>
>
>
>
> Yahoo! Groups Links
>
>
>
>
>
>
>
> 

_________________________________________________________
Acesso Gr\ufffdtis \ufffd Internet do AEIOU:
Sem formul\ufffdrios, sem password, ligue-se j\ufffd!
http://acesso.aeiou.pt

Re: [lpc2000] About CAN

2005-09-15 by dasbento@aeiou.pt

Se entenderes melhor em portugu\ufffds, depende muito da tua aplica\ufffd\ufffdo!!!

            Domingos


Citando Xtian Xultz <xultz@...>:

> Sorry if this is off topic, but someone with more experience than me can
> point
> if there are advantages using CAN or is better to use RS485?
>
> Thanx in advance
>
> Best regards
> Xultz
> Curitiba - Brazil
>
>
>
>
> Yahoo! Groups Links
>
>
>
>
>
>
>
> 

_________________________________________________________
Acesso Gr\ufffdtis \ufffd Internet do AEIOU:
Sem formul\ufffdrios, sem password, ligue-se j\ufffd!
http://acesso.aeiou.pt

Re: [lpc2000] About CAN

2005-09-15 by Richard Duits

The CAN hardware can handle two drivers sending at the same time and the 
protocol detects this and handles it gracefully.
I never used RS485, but what I read it looks like the programmer has to 
avoid that two transmitters are sending at the same time. Also the RS485 
transmitter cannot detect that another transmitter is active.
So CAN is better when there are multiple independant data sources. CAN 
does error detection and retransmission. RS485 is just a serial link 
with no error checking or correction.

Richard Duits


Xtian Xultz wrote:
Show quoted textHide quoted text
> Sorry if this is off topic, but someone with more experience than me 
> can point
> if there are advantages using CAN or is better to use RS485?
>
> Thanx in advance
>
> Best regards
> Xultz
> Curitiba - Brazil
>
>
> SPONSORED LINKS
> Microprocessor 
> <http://groups.yahoo.com/gads?t=ms&k=Microprocessor&w1=Microprocessor&w2=Microcontrollers&w3=Pic+microcontrollers&w4=8051+microprocessor&c=4&s=93&.sig=tsVC-J9hJ5qyXg0WPR0l6g> 
> 	Microcontrollers 
> <http://groups.yahoo.com/gads?t=ms&k=Microcontrollers&w1=Microprocessor&w2=Microcontrollers&w3=Pic+microcontrollers&w4=8051+microprocessor&c=4&s=93&.sig=DvJVNqC_pqRTm8Xq01nxwg> 
> 	Pic microcontrollers 
> <http://groups.yahoo.com/gads?t=ms&k=Pic+microcontrollers&w1=Microprocessor&w2=Microcontrollers&w3=Pic+microcontrollers&w4=8051+microprocessor&c=4&s=93&.sig=TpkoX4KofDJ7c6LyBvUqVQ> 
>
> 8051 microprocessor 
> <http://groups.yahoo.com/gads?t=ms&k=8051+microprocessor&w1=Microprocessor&w2=Microcontrollers&w3=Pic+microcontrollers&w4=8051+microprocessor&c=4&s=93&.sig=1Ipf1Fjfbd_HVIlekkDP-A> 
>
>
>
> ------------------------------------------------------------------------
> YAHOO! GROUPS LINKS
>
>     *  Visit your group "lpc2000
>       <http://groups.yahoo.com/group/lpc2000>" on the web.
>        
>     *  To unsubscribe from this group, send an email to:
>        lpc2000-unsubscribe@yahoogroups.com
>       <mailto:lpc2000-unsubscribe@yahoogroups.com?subject=Unsubscribe>
>        
>     *  Your use of Yahoo! Groups is subject to the Yahoo! Terms of
>       Service <http://docs.yahoo.com/info/terms/>.
>
>
> ------------------------------------------------------------------------
>

Re: [lpc2000] About CAN

2005-09-15 by Xtian Xultz

Obrigado (thanx) Domingos.

I will try here in english (my english is a crap) because onfortunately a few 
people understand portuguese.
In terms of speed, what is best? And distance? And costs? Can you point me?

Thank you again.


Em Qui 15 Set 2005 09:58, dasbento@... escreveu:
Show quoted textHide quoted text
> Se entenderes melhor em português, depende muito da tua aplicação!!!
>
>             Domingos
>
> Citando Xtian Xultz <xultz@...>:
> > Sorry if this is off topic, but someone with more experience than me can
> > point
> > if there are advantages using CAN or is better to use RS485?
> >
> > Thanx in advance
> >
> > Best regards
> > Xultz
> > Curitiba - Brazil

Re: [lpc2000] About CAN

2005-09-15 by Xtian Xultz

Thank you, Richard. I never used CAN before but used sometimes RS485, and what 
you said is true.


Em Qui 15 Set 2005 11:16, Richard Duits escreveu:
Show quoted textHide quoted text
> The CAN hardware can handle two drivers sending at the same time and the
> protocol detects this and handles it gracefully.
> I never used RS485, but what I read it looks like the programmer has to
> avoid that two transmitters are sending at the same time. Also the RS485
> transmitter cannot detect that another transmitter is active.
> So CAN is better when there are multiple independant data sources. CAN
> does error detection and retransmission. RS485 is just a serial link
> with no error checking or correction.
>
> Richard Duits
>
> Xtian Xultz wrote:
> > Sorry if this is off topic, but someone with more experience than me
> > can point
> > if there are advantages using CAN or is better to use RS485?
> >
> > Thanx in advance
> >
> > Best regards
> > Xultz
> > Curitiba - Brazil

Re: [lpc2000] About CAN

2005-09-15 by dasbento@aeiou.pt

about RS485 see this link: 

                      http://www.hw.cz/english/docs/rs485/rs485.html

about can see:
                                              
http://www.semiconductors.philips.com/markets/mms/protocols/can/

I hope this is useful for you!!!

            Domingos

Citando Xtian Xultz <xultz@...>:

> Obrigado (thanx) Domingos.
>
> I will try here in english (my english is a crap) because
onfortunately a
> f> ew 
> people understand portuguese.
> In terms of speed, what is best? And distance? And costs? Can you
point me?
>
> Thank you again.
>
>
> Em Qui 15 Set 2005 09:58, dasbento@... escreveu:
> > Se entenderes melhor em portugu\ufffds, depende muito da tua
> aplica\ufffd\ufffdo!!> !
> >
> >             Domingos
> >
> > Citando Xtian Xultz <xultz@...>:
> > > Sorry if this is off topic, but someone with more experience than me
> ca> n
> > > point
> > > if there are advantages using CAN or is better to use RS485?
> > >
> > > Thanx in advance
> > >
> > > Best regards
> > > Xultz
> > > Curitiba - Brazil
>
>
>
>  
> Yahoo! Groups Links
>
>
>
>  
>
>
> 

_________________________________________________________
Acesso Gr\ufffdtis \ufffd Internet do AEIOU:
Sem formul\ufffdrios, sem password, ligue-se j\ufffd!
http://acesso.aeiou.pt

AW: [lpc2000] Re: CAN: ID0 - Messages: Problem

2005-09-15 by Andreas Reinhold

Hello,
 
my problem seems to be, that I´m using the internal triple transmit
buffer. In the errata sheet is mentioned, that it doesn´t work
correctly. I will change the software and switch to software buffer.
 
but thanks a lot for the hint to the errata sheet. Does anyone know,
from which production data this bug is corrected?
 
Regards, Andreas

-----Ursprüngliche Nachricht-----
Von: lpc2000@yahoogroups.com [mailto:lpc2000@yahoogroups.com] Im Auftrag
von gerhard_uttenthaler
Gesendet: Donnerstag, 15. September 2005 11:06
An: lpc2000@yahoogroups.com
Betreff: [lpc2000] Re: CAN: ID0 - Messages: Problem


--- In lpc2000@yahoogroups.com, "cabrioandi" <andi.reinhold@g...>
wrote:
> Hello,
> 
> I´m using the LPC2119 as a CAN-Gateway (24MHz crystal, CAN
83.3kBaud). 
> I´ve got 50 different ID´s on the CAN. There is also the ID0
appearing. 
> Sometimes the ID 0 is written with wrong data and DLC. This problem 
> appears only with the Message ID0. Has anyone had the same problem
or 
> knows what can be wrong?
> 
> many thanks, Andreas

Hi Andreas,

There is a bug mentioned in a philips errata sheet, noted as CAN.7.
http://www.semiconductors.philips.com/acrobat/erratasheets/2129.pdf

If you receive a message, while you are trying to send another message
and you lose arbitration, the received message may be corrupt.

This errata is for the 2129, but the CAN part should be the same with
the 2119, philips_apps?

Regards
Gerhard





SPONSORED LINKS 
Microprocessor
<http://groups.yahoo.com/gads?t=ms&k=Microprocessor&w1=Microprocessor&w2
=Microcontrollers&w3=Pic+microcontrollers&w4=8051+microprocessor&c=4&s=9
3&.sig=tsVC-J9hJ5qyXg0WPR0l6g>  	Microcontrollers
<http://groups.yahoo.com/gads?t=ms&k=Microcontrollers&w1=Microprocessor&
w2=Microcontrollers&w3=Pic+microcontrollers&w4=8051+microprocessor&c=4&s
=93&.sig=DvJVNqC_pqRTm8Xq01nxwg>  	Pic
<http://groups.yahoo.com/gads?t=ms&k=Pic+microcontrollers&w1=Microproces
sor&w2=Microcontrollers&w3=Pic+microcontrollers&w4=8051+microprocessor&c
=4&s=93&.sig=TpkoX4KofDJ7c6LyBvUqVQ> microcontrollers 	
8051
<http://groups.yahoo.com/gads?t=ms&k=8051+microprocessor&w1=Microprocess
or&w2=Microcontrollers&w3=Pic+microcontrollers&w4=8051+microprocessor&c=
4&s=93&.sig=1Ipf1Fjfbd_HVIlekkDP-A> microprocessor 	

  _____  

YAHOO! GROUPS LINKS 


	
*	 Visit your group "lpc2000
<http://groups.yahoo.com/group/lpc2000> " on the web.
  

*	 To unsubscribe from this group, send an email to:
 lpc2000-unsubscribe@yahoogroups.com
<mailto:lpc2000-unsubscribe@yahoogroups.com?subject=Unsubscribe> 
  

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


  _____  




[Non-text portions of this message have been removed]

Re: About CAN

2005-09-17 by Genie Murasaki

Hello,

FYI, there is CAN mailing List: CANLIST <http://canlist.org/> for
questions in depth. Just try out in chance.

Best,

genie murasaki
http://netsynth.org/

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.