PCAN-View: How to change J1939 baud rate with byte arrays
-
- Posts: 2
- Joined: Tue 31. May 2022, 17:05
PCAN-View: How to change J1939 baud rate with byte arrays
I am using a Peak IPEH-002022 and PCAN-View. I want to change the baud rate of a J1939 device. I want to do this change using one or more byte arrays if it can be done. I have attached a picture to show the byte arrays to which I refer, the command structures. My device address is E2. Thanks!
- Attachments
-
- Capture.JPG (85.23 KiB) Viewed 3871 times
Re: PCAN-View: How to change J1939 baud rate with byte arrays
Hello,
not sure to understand. It seems as you have all you need to do what you want: you have a J1939 capable ECU; you have the information to change the bitrate; you have a PEAK interface; you are using PCAN-View to send the request(s). Where is then the problem?
Note that:
not sure to understand. It seems as you have all you need to do what you want: you have a J1939 capable ECU; you have the information to change the bitrate; you have a PEAK interface; you are using PCAN-View to send the request(s). Where is then the problem?
Note that:
- PCAN-View supports only raw CAN. It doesn't know about J1939, ISO-TP, or any other high layer protocol
- PCAN-View can send data in classic CAN (max. 8 bytes), and in CAN FD (max. 64 bytes). It cannot do any kind of packetizing.
- If the request for changing the bitrate can be sent in a single CAN message, then you can use PCAN-View to set the bitrate on your module.
- If the request to change the Bitrate needs J1939 communication (BAM or RTS/CTS) then you need to implement the J1939 protocol or use a software that supports this, for instance, PCAN-Explroer 6
Best regards,
Keneth
Keneth
Re: PCAN-View: How to change J1939 baud rate with byte arrays
One more thing,
if you just need to send a couple of commands using J1939, and do not need J1939 database handling, then you can also use the fee free RP1210-API. It implements the J1939 protocol. More information can be found in the product page: PCAN-RP1210 API
if you just need to send a couple of commands using J1939, and do not need J1939 database handling, then you can also use the fee free RP1210-API. It implements the J1939 protocol. More information can be found in the product page: PCAN-RP1210 API
Best regards,
Keneth
Keneth
-
- Posts: 2
- Joined: Tue 31. May 2022, 17:05
Re: PCAN-View: How to change J1939 baud rate with byte arrays
K.
Thank you for that.
I have 1201 running at 250 baud and am seeing the expect data output from the device I am using.
Would it be too much to ask what the couple of byte arrays (commands) would look like to change from 250 to 500 baud with say an address of E2?
Best
Barry
Thank you for that.
I have 1201 running at 250 baud and am seeing the expect data output from the device I am using.
Would it be too much to ask what the couple of byte arrays (commands) would look like to change from 250 to 500 baud with say an address of E2?
Best
Barry
Re: PCAN-View: How to change J1939 baud rate with byte arrays
Hello,
sorry but we do not have such information. The way how ECUs are configurated change from ECU to ECU, and are also dependant from manufacturer and protocol used. Please check the documentation of your ECU or contact its manufacturer.
sorry but we do not have such information. The way how ECUs are configurated change from ECU to ECU, and are also dependant from manufacturer and protocol used. Please check the documentation of your ECU or contact its manufacturer.
Best regards,
Keneth
Keneth