examples/gene_SYNC_HCS12/readme.txt
changeset 0 4472ee7c6c3e
child 54 a2ca09ac1523
equal deleted inserted replaced
-1:000000000000 0:4472ee7c6c3e
       
     1 Generator of Canopen SYNC message (cobid = 0x80)
       
     2 ---------------------------------------------
       
     3 francis.dupin@inrets.fr
       
     4 27 Janv 2005
       
     5 
       
     6 Node for Microcontroler MC9S12DP256 
       
     7 on board  T-board (http://www.elektronikladen.de
       
     8 
       
     9 =============
       
    10 Node N° 0x03
       
    11 =============
       
    12 
       
    13 This node generate only the SYNC signal.
       
    14 (cob-id : 0x80)
       
    15 
       
    16 To test this node
       
    17 -----------------
       
    18 Reset it :
       
    19 It is sending :
       
    20 cobid : 0x703
       
    21 data : 00
       
    22 
       
    23  1 - Wants to generate SYNC every 10 milliseconds
       
    24 
       
    25 1a - put the value (4 bytes) : 0x00002710 in its dictionary 
       
    26 index 0x1006, subindex 0x00 :
       
    27 
       
    28 CAN message (SDO) : 
       
    29 cobid : 0x603
       
    30 data : 23 06 10 00 10 27 00 00
       
    31 (put 23 to transmit a data of 4 bytes
       
    32      27                       3 bytes
       
    33      2B                       2 bytes
       
    34      2F                       1 byte
       
    35 )
       
    36 
       
    37 The node is responding :
       
    38 cobid : 0x583
       
    39 data : 60 06 10 00 00 00 00 00
       
    40 
       
    41 1b - put the value (4 bytes) : 0x40000080 at index 0x1005, subindex 0x00
       
    42 to start the SYNC : 
       
    43 cobid : 0x603
       
    44 data : 23 05 10 00 80 00 00 40
       
    45 
       
    46 The node is responding :
       
    47 cobid : 0x583
       
    48 data : 60 05 10 00 00 00 00 00
       
    49 
       
    50  2 - Put the node in operational mode
       
    51 CAN message (NMT) :
       
    52 cobid : 0x00
       
    53 data : 01 03
       
    54 
       
    55 The node is sending the SYNC every 10 ms
       
    56 
       
    57 
       
    58 Nota
       
    59 -----
       
    60 To stop the SYNC : 2 methods
       
    61 
       
    62 1 - put 0x00000000 at index 1006 subindex 0
       
    63 2 - put 0x00000080 at index 1005 subindex 0 
       
    64 
       
    65 
       
    66 
       
    67 
       
    68