Changes

1,239 bytes added ,  15:01, 29 August 2023
no edit summary
Line 43: Line 43:        +
[[Image:Protocol_example.png|center]]
      −
[[Image:Protocol_example.png|center]]
+
1. Select CAN Type. Normally every CAN protocol documentation should mentioned which CAN type to use. If not, select Extended.
 +
2. Fill in the correct Data mask in Manual CAN command 0 setting. This field determines which IO elements of the frame the user will send via CAN line.
 +
As an example, the part of the CAN protocol was taken. First, the user has to locate the data frame, he/she wants to send, for this situation, data frame „Battery fast charge enable/disable “ was taken into account. It holds two states enable or disable. If we would like to send data of frame, in the configurator the user has to configure 0000000000000000 – to disable or 0000000000000001 to enable.
 +
3. For Manual CAN command 0 settings CAN ID it must be written  with sources adresses Frame ID and priority – 19045303
 +
4. Request data lenght configured as 8 bytes
 +
5. Send type Once
 +
 
 +
[[Image:Manual_can_commands_1.png|center]]
 +
 
 +
6. To receive data if the command were permitted correctly in Manual CAN0 we will configure CAN Type Extended.
 +
7. Data mask will have from LSB side selected first two bytes
 +
8. CAN ID will be FF0452FF as we are only interested to receive information about the command status execution.
 +
 
 +
[[Image:Manual_can_IO_1.png|center]]

Navigation menu