Exchange data between SCR and Tc3xx

Tip / Sign in to post questions, reply, level up, and achieve exciting badges. Know more

cross mob
pistons7
Level 4
Level 4
50 questions asked 10 likes given 100 sign-ins

I want to exchange data between SCR and Tricore.

For example, when the user wants to change the
RTC counter value of the SCR, the value is sent
from the external device to the Tricore,
the value is sent from the Tricore to the SCR,
and the value is set in the RTC counter of the SCR.

Is such control possible?

If it is possible, how can it be achieved?

 

0 Likes
1 Solution
Nambi
Moderator
Moderator
Moderator
500 replies posted 50 likes received 5 likes given

Hi,

In register PMSWCR2.B.SCRINT data exchange from Standby Controller to PMS main domain, by writing the exchanged data in the SCRINTEXCHG register in SCR module, the data can be reflected by PMSWCR2.B.SCRINT. PMSWCR2.B.TCINT is data exchange from PMS main domain to Standby Controller; by writing the exchanged data in PMSWCR2.B.TCINT, the data can be reflected by TCINTEXCHG register in SCR module.

If more bytes are needed to be exchanged between TriCore and SCR: The upper XRAM area in SCR can be used for data exchange as SCR code will probably be less than 8k bytes.

For the details, please refer to the paragraph starting with the sentence - "An additional register interface with interrupt support using PMSWCR2 register bit fields for exchange and facilitate status handshake between the two domains."  in the section "11.2.3.4.6 Standby ControlleR (SCR) Interface" in AURIXTC3XX_um_part1_v2.0.pdf

Best Regards.

View solution in original post

0 Likes
2 Replies
Nambi
Moderator
Moderator
Moderator
500 replies posted 50 likes received 5 likes given

Hi,

In register PMSWCR2.B.SCRINT data exchange from Standby Controller to PMS main domain, by writing the exchanged data in the SCRINTEXCHG register in SCR module, the data can be reflected by PMSWCR2.B.SCRINT. PMSWCR2.B.TCINT is data exchange from PMS main domain to Standby Controller; by writing the exchanged data in PMSWCR2.B.TCINT, the data can be reflected by TCINTEXCHG register in SCR module.

If more bytes are needed to be exchanged between TriCore and SCR: The upper XRAM area in SCR can be used for data exchange as SCR code will probably be less than 8k bytes.

For the details, please refer to the paragraph starting with the sentence - "An additional register interface with interrupt support using PMSWCR2 register bit fields for exchange and facilitate status handshake between the two domains."  in the section "11.2.3.4.6 Standby ControlleR (SCR) Interface" in AURIXTC3XX_um_part1_v2.0.pdf

Best Regards.

0 Likes
pistons7
Level 4
Level 4
50 questions asked 10 likes given 100 sign-ins

Thanks.

I got the sample program.

 

0 Likes