Yahoo Groups archive

Lpc2000

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

Thread

Sort of OT, how to send more than 8 bytes using J1939 BAM?

Sort of OT, how to send more than 8 bytes using J1939 BAM?

2005-06-23 by gregdeuerling

I'm using a LPC2194 and I need to send a J1939 message that has more 
than 8 bytes.  I know I'm supposed to use a PDU2 type "broadcast 
announce message", or BAM.

In short I need to send a message with 28 bytes to PGN 0xFEE3.
I know how to send a normal J1939 message, how do I set up the 
LPC2194's CAN registers to send a BAM message?

I've Googled all over and can't seem to find the info.  I also looked 
at the SAE site and I can't even figure out which document to purchase 
that has this info.

Can any give me some tips of point me to the SAE J1939 document to 
purchase?

Thanks!!!

Re: Sort of OT, how to send more than 8 bytes using J1939 BAM?

2005-06-24 by Mike

I do not know where to purchase the SAE's J1939 Spec from, but in that 
spec it probably tells you how to send a Long-Message-Start (to 
initialize the long message), which is where you define the total 
number of bytes.  Then you would send 4 more (Long-Message-Data) 
packets.

I use a sub-set of J1939 in my system, so I think you would send long 
messages the same way I do....

I use PGN 0x0ECFF (Long-Msg-Start) to define the long message.
The 8 byte of data would be:
 Always_32 ( 0x20 )
 number_of_bytes_in_msg_LSB ( 28 for you)
 number_of_bytes_in_msg_MSB ( 0 )
 #of_packets ( 4 )
 always_255 ( 0xFF )
 PGN_of_data_to_follow_LSB ( 0xE3 )
 PGN_of_data_to_follow_MID ( 0xFE )
 PGN_of_data_to_follow_MSB ( 0x00 )

Then PGN 0x0EBFF (Long-Msg-Data)
The 8 bytes of data would be:
 packet#
 data_byte_of_long_msg
 data_byte_of_long_msg
 data_byte_of_long_msg
 data_byte_of_long_msg
 data_byte_of_long_msg
 data_byte_of_long_msg
 data_byte_of_long_msg

Hope that helps,
 - Mike


--- In lpc2000@yahoogroups.com, "gregdeuerling" <egads@f...> wrote:
> 
> I'm using a LPC2194 and I need to send a J1939 message that has more 
> than 8 bytes.  I know I'm supposed to use a PDU2 type "broadcast 
> announce message", or BAM.
> 
> In short I need to send a message with 28 bytes to PGN 0xFEE3.
> I know how to send a normal J1939 message, how do I set up the 
> LPC2194's CAN registers to send a BAM message?
> 
> I've Googled all over and can't seem to find the info.  I also looked 
> at the SAE site and I can't even figure out which document to 
purchase 
Show quoted textHide quoted text
> that has this info.
> 
> Can any give me some tips of point me to the SAE J1939 document to 
> purchase?
> 
> Thanks!!!

Re: Sort of OT, how to send more than 8 bytes using J1939 BAM?

2005-06-25 by Tutors of ESAcademy

--- In lpc2000@yahoogroups.com, "gregdeuerling" <egads@f...> wrote:
> 
> I'm using a LPC2194 and I need to send a J1939 message that has
more 
> than 8 bytes.  I know I'm supposed to use a PDU2 type "broadcast 
> announce message", or BAM.
> 
> In short I need to send a message with 28 bytes to PGN 0xFEE3.
> I know how to send a normal J1939 message, how do I set up the 
> LPC2194's CAN registers to send a BAM message?
> 
> I've Googled all over and can't seem to find the info.  I also
looked 
> at the SAE site and I can't even figure out which document to
purchase 
> that has this info.
> 
> Can any give me some tips of point me to the SAE J1939 document to 
> purchase?

The document that you are looking for is called J1939-21 and you can
buy it here:

http://www.sae.org/servlets/productDetail?PROD_TYP
=STD&PROD_CD=J1939/21_200104

HTH,

Chris
--
Tutor at ESAcademy
www.esacademy.com
www.canopenstore.com

Re: [lpc2000] Re: Sort of OT, how to send more than 8 bytes using J1939 BAM?

2005-06-26 by Charles Manning

On Sunday 26 June 2005 06:55, Tutors of ESAcademy wrote:
> --- In lpc2000@yahoogroups.com, "gregdeuerling" <egads@f...> wrote:
> > I'm using a LPC2194 and I need to send a J1939 message that has
>
> more
>
> > than 8 bytes.  I know I'm supposed to use a PDU2 type "broadcast
> > announce message", or BAM.
> >
> > In short I need to send a message with 28 bytes to PGN 0xFEE3.
> > I know how to send a normal J1939 message, how do I set up the
> > LPC2194's CAN registers to send a BAM message?
> >

It depends...

You can do J1939 multi-frame messages in two ways, either point-to-point or 
broadcast. For broadcast you use the BAM.

For CAN questions, I suggest subscribing to the CAN list. See www.kvaser.se 
for details.

Re: Sort of OT, how to send more than 8 bytes using J1939 BAM?

2005-06-27 by gregdeuerling

--- In lpc2000@yahoogroups.com, "Mike" <ware_florida@y...> wrote:
> 
> I do not know where to purchase the SAE's J1939 Spec from, but in 
that 
> spec it probably tells you how to send a Long-Message-Start (to 
> initialize the long message), which is where you define the total 
> number of bytes.  Then you would send 4 more (Long-Message-Data) 
> packets.
> 
> I use a sub-set of J1939 in my system, so I think you would send 
long 
> messages the same way I do....

Thanks for the info.  Your post and the proper SAE document I was able 
to figure this out.

Thanks for the reply!!!

Re: Sort of OT, how to send more than 8 bytes using J1939 BAM?

2005-06-27 by gregdeuerling

--- In lpc2000@yahoogroups.com, "Tutors of ESAcademy" 
<esacademy@g...> wrote:
> --- In lpc2000@yahoogroups.com, "gregdeuerling" <egads@f...> wrote:
> > 
> > I'm using a LPC2194 and I need to send a J1939 message that has
> more 
> > than 8 bytes.  I know I'm supposed to use a PDU2 type "broadcast 
> > announce message", or BAM.
> > 
> > In short I need to send a message with 28 bytes to PGN 0xFEE3.
> > I know how to send a normal J1939 message, how do I set up the 
> > LPC2194's CAN registers to send a BAM message?
> > 
> > I've Googled all over and can't seem to find the info.  I also
> looked 
> > at the SAE site and I can't even figure out which document to
> purchase 
> > that has this info.
> > 
> > Can any give me some tips of point me to the SAE J1939 document 
to 
> > purchase?
> 
> The document that you are looking for is called J1939-21 and you 
can
> buy it here:
> 
> http://www.sae.org/servlets/productDetail?PROD_TYP
> =STD&PROD_CD=J1939/21_200104

Thanks Chris!
I've purchased the doc and found all the info I needed.
Thanks for the reply!

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.