Announcements

Equip yourself to optimize AURIX™ MCUs for Evs at the EV Webinar. Click here to register.

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

AURIX™ Forum Discussions

pistons7
Level 3
Level 3
5 likes given First solution authored 10 replies posted

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
First like given 25 likes received 50 solutions authored

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
First like given 25 likes received 50 solutions authored

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 3
Level 3
5 likes given First solution authored 10 replies posted

Thanks.

I got the sample program.

 

0 Likes