Hello! I need to use the Gate register in the SEMA42 module to write to its GTFSM field. I need to enable SEMA42 operations in mcal to ensure that the GTFSM field can be written to and read from correctly during use. Could you please provide a demo of inter-core communication using SEMA42? Thank you!
Hi @liyongfeng,
To use SEMA42, you need to configure XRDC first.
By default, only one domain is active — domain 0. If you want a core to lock a gate, for example, under domain 1 (GTFSM = 0010b, meaning domain 1 holds the lock), you must enable domain 1 in XRDC.
XRDC is configured via the RM RTD MCAL driver. So either use the MCAL RM driver, or enable the relevant XRDC configuration in your custom code.
For a reference, see the RTD example: Rm_Example_All_S32K358. It demonstrates how to configure both XRDC and SEMA42.
Regards,
Daniel