Re: I connect my device to a truck's can port (J1939) , the truck present an error .
"Anry A. Kischka" <[email protected]>
| Newsgroups | gmane.comp.hardware.bus.can |
|---|---|
| Message-ID | <[email protected]> |
Hi, again, What is ECOS system!? I'm not understood you. Can you give me link to datasheet? And in my opinion, if you used MCU without physical CAN driver, you'll have problem with voltage level in CANbus, because some ECU (Engine control unit) in trucks (like MB, SCANIA) have voltage level control and if your device has different level, CAN driver in ECU will send fault state to MCU ECU's. And i do not understand, why you cannot see fuel consumption in J1939? What model truck's you try to connect? All trucks what I seen, PGN FEE9 had in CANbus WITHOUT any request. As rule, this request sent other ECU (Electronic Control Unit) like dashboard or groundmodule and answer from Engine module had in CANbus. P.S. Sorry for my bad English :) c yl пишет: // Hi Bram // I have to send a remote request frame to get the truck's totol fuel // consumption which is not sent automatically. I'll ask the manufacturer // whether it could be , if it does it will be really easy to me. // // On Wednesday, January 21, 2015 9:13 AM, c yl <[email protected]> // wrote: // // // Hi I'm using an arm7 board lpc2478 with ecos system on it . // // On Tuesday, January 20, 2015 7:16 PM, Anry A. Kischka // <[email protected]> wrote: // // // Hi, // // What CAN driver you used to connect to truck's CANbus!? // // c yl пишет: // // Thanks,I will try it a few days later when the truck is available. Is // it // // possible to stop my can controller to send error frames? Is it the // // behavior of the cpu itself or I can reprocess the driver to stop it? // // // // On Tuesday, January 20, 2015 3:58 PM, "[email protected]" // // <[email protected]> wrote: // // // // // // Hi, // // // // It is not the ACK-bit, because if yr node sends that, it has received // // the message correctly. If this is sent or not sent it is not relevant // // for the sending node in the truck; it receives the ACK anyway from the // // other local nodes. // // // // I have the impression that your cabling to your node is not correctly. // // Either too long or it picks up too much noise or maybe you set some // // extra termination. E.g. when one or more specific nodes in the truck // are // // sending their messages, your node does not receive them correctly and // // sends an errorframe. The sending node increments its tx errorcounter // and // // tries again. If it does that for a couple of times, it will go to an // // error passive state and almost directly after that to the bus off // state. // // Your truck will now show the error. // // // // If you are in the listen-only mode, your node does not send the error // // messages, so the truck is not disturbed. However you also will not see // // the messages of those specific nodes which cause the error messages. // // // // So try to connect your CAN node to the truck CANbus with a stub as // short // // as possible. // // // // Kees Zagers // // SI-Kwadraat B.V. // // // // c yl schreef op 20.01.2015 03:12: // //> I think its because my device set the ACK bit , and the truck can not // //> receive the messages . Is that possible ? // //> // //> On Monday, January 19, 2015 6:54 PM, Heinz-Jürgen Oertel // //> <[email protected]> wrote: // //> // //> Am Montag, 19. Januar 2015, 09:56:14 schrieb c yl: // //>> Hi Everyone: // //>> I'm connecting my can port of an arm7 board (lpc2478 with ecos which // //> works all OK) to a truck's can port, and the truck presents an error: // //> I think its communication error or something. And at the same time my // //> board can receive can packages right. If I set my can port to listen // //> only mode , the truck tells no error, and I can receive can packages // //> but I can't send then . Can anyone tell me why the truck tells error // //> when my can port works at a normal mode? Should I work only in a // //> listen only mode? // //> // //> Hi, // //> // //> can you read out your devices error counters, especially the transmit // //> error counter of the lpc2478 when you connect and you are not in // //> listen only mode. // //> // //> -- // //> mit freundlichen Grüßen // //> Heinz-Jürgen Oertel // //> emtas GmbH // // // // -- // // Archives and useful links: http://groups.yahoo.com/group/CANbus // // Subscribe and unsubscribe at www.vector.com/canlist/ // // Report any problems to <[email protected]> // // // // // // // // // -- // With best regards, Anry. // // -- // Archives and useful links: http://groups.yahoo.com/group/CANbus // Subscribe and unsubscribe at www.vector.com/canlist/ // Report any problems to <[email protected]> // // // // // -- With best regards, Anry. -- Archives and useful links: http://groups.yahoo.com/group/CANbus Subscribe and unsubscribe at www.vector.com/canlist/ Report any problems to <[email protected]>