2022-01-20 05:05 AM
Dear Madame or Sir.
We have a problem to setup a TTCAN BACKUP-TIME-Master in STM32H743 MCU. .
We have two NODES.
ONE should be work as CURRENT-TIME-Master and the other node, if MASTER fails, as BACKUP-TIME-Master.
But it seems to be (according to the TTOST register) that the node which is configured as BACKUP-TIME-Master will also be a CURRENT-TIME MASTER.
The node which is configured as CURRENT-TIME-MASTER (highest priority) receive reference messages from the other node, which is configured as BACKUP-TIME-Master (lowest priority) even the CURRENT-TIME-MASTER is valid.
The BACKUP-TIME-Master shouldn’t do this as long the CURRENT-TIME-Master do this. Right ?
The node which is configured as BACKUP-TIME-MASTER receives only ONE reference message from the CURRENT-TIME-MASTER node at the startup.
It seems to be, that NODE 1 (configured as CURRENT-TIME Master) is working as
BACKUP-TIME-MASTER and NODE 2 (configured as BACKUP-TIME Master)
is working as CURRENT-TIME Master.
Functionallity is vice versa as expected.
We are wondering, because according to the TTOST register both nodes are CURRENT-TIME-Masters at the same time. But this is impossible, isn’t it ?
In the TTOST the value TMP is always 0x07 (lowest priority) for both nodes.
Also the RTO value is 0x00 for both nodes, although the IRTO value in the TTOCF register of the BACKUP-TIME-Master is 0x7F (lowest priority).
Our Questions:
At the moment there is nothing available.
Only the description of the TTCAN functionallity of FDCAN1 module in the
reference manual is available. It was not easy for us to configure the TTCAN
functionallity.
Configuration
NODE 2, to check if we always receive the reference message from NODE 1
as long NODE 1 will working properly.
Best regards
Christian