can_analysis

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
can_analysis [2019/02/06 17:46]
sam
can_analysis [2019/02/06 18:20] (current)
sam
Line 50: Line 50:
     * States: Boot-up (0x00), Pre-operational(0x7f), Operational (0x05)     * States: Boot-up (0x00), Pre-operational(0x7f), Operational (0x05)
    
-  * canopen.node_id == 0x7f+  * canopen.node_id == 0x7f **[REMOTE]**
     * only sends NMT error control messages except at startup:     * only sends NMT error control messages except at startup:
     * {{:2019-02-06-161831_513x132_scrot.png?400|}}     * {{:2019-02-06-161831_513x132_scrot.png?400|}}
     * the message stream stops if the remote is unplugged! is this the remote?     * the message stream stops if the remote is unplugged! is this the remote?
-  *  canopen.node_id == 0x0+  *  canopen.node_id == 0x0 
     * on boot: NMT: start remote node 0x1 and 0x2     * on boot: NMT: start remote node 0x1 and 0x2
     * otherwise, while not riding: SYNC     * otherwise, while not riding: SYNC
-  *  canopen.node_id == 0x02 +  *  canopen.node_id == 0x02 **[BATTERY]** 
-    * sends tx_PDO1, tx_PDO2, tx_PDO4 and NMT+    * sends tx_PDO1 (fc=3), tx_PDO2 (fc=5), tx_PDO4 (fc=9) and NMT
     * no rx PDOs, so this is not an actuator? is this the battery?     * no rx PDOs, so this is not an actuator? is this the battery?
     * unplugging the remote control doesn't stop this message stream     * unplugging the remote control doesn't stop this message stream
-  * canopen.node_id == 0x01+  * canopen.node_id == 0x01 **[MOTOR]**
     * sends PDO1 (rx, tx), PDO2 (tx), PDO3, NMT and Default-SDO (rx,tx): initiate upload request and response     * sends PDO1 (rx, tx), PDO2 (tx), PDO3, NMT and Default-SDO (rx,tx): initiate upload request and response
     * When the remote controller is unplugged, EMCY (emergency) is seen and 2 last PDO1 are seen. After that only PDO3 and NMT operational until PDO3 also disappears. Node_id 0x01 is not the remote control? I suspect this node is the motor, see below!     * When the remote controller is unplugged, EMCY (emergency) is seen and 2 last PDO1 are seen. After that only PDO3 and NMT operational until PDO3 also disappears. Node_id 0x01 is not the remote control? I suspect this node is the motor, see below!
Line 77: Line 77:
   * canopen.node_id == 0x01 and canopen.function_code == 0x3   * canopen.node_id == 0x01 and canopen.function_code == 0x3
     * pdo1 tx: independent of power or wheel spin     * pdo1 tx: independent of power or wheel spin
-    * **37:03:**00:00:68:c3:__aa:05__ - bold part doesn't change after reboot, the underlined seems to be some kind of timer. the rest changes seemingly randomly.+    * **37:03:**00:00:68:c3:__aa:05__ - bold part doesn't change after reboot, the underlined seems to be some kind of timer. the rest changes seemingly randomly. (external odometer at time of writing: 3161km) 
 +  * canopen.node_id == 0x02 and canopen.function_code == 0x5 
 +    * PDO2 tx: looks like battery voltage or charge. Decrements when powered and increments when charger connected. 
 +  * canopen.node_id == 0x02 and canopen.function_code == 0x9 
 +    * PDO4 tx: increases when charging decreases when resting, could this contain a temperature? not sent as often as the other messages (1 per 2 sec) 
 +  * canopen.node_id == 0x02 and canopen.function_code == 0x3 
 +    * PDO1 tx: again something that increases when charging and decreases while standby and even more when powered. could this be battery voltage? 
 +  * Capture file: {{ ::bikedrive_candump_6feb19.pcapng.gz |}} 
  • can_analysis.1549471582.txt.gz
  • Last modified: 3 years ago
  • by sam