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 > that has this info. > > Can any give me some tips of point me to the SAE J1939 document to > purchase? > > Thanks!!!
Message
Re: Sort of OT, how to send more than 8 bytes using J1939 BAM?
2005-06-24 by Mike
Attachments
- No local attachments were found for this message.