Sample source code to access 6MB of EMEM

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

cross mob
User22095
Level 1
Level 1
Hi,

We are currently working on the TC397 evaluation kit for our project.

With reference to the attached image from the manual (AURIXTC3XX_um_part1_v2.0.pdf -->Table 24 Address Map of Segment 0 to 14 (cont’d)),
we are trying to access the total 6MB of EMEM (Extension Memory).

5199.attach

We were able to access 4MB(Modules 0 to 3) of it but the remaining 2MB of it is still not accessible(Modules 4 & 5)

Could you please provide a sample code snippet/ throw some light on how to configure the whole 6MB of EMEM as RAM?

We would like to use EMEM as Random Access Memory (RAM) in our project. Hence, request to provide some inputs.

Regards,
Srikanth Vemula.
0 Likes
1 Reply
NeMa_4793301
Level 6
Level 6
10 likes received 10 solutions authored 5 solutions authored
The ADAS device (SAK-TC397QA-160F300S) and extended device (SAK-TC397XX-256F300S) have 4 MB of EMEM, per the datasheet addendum (TC39x_Data_Sheet_Addendum_v1.6.pdf).
0 Likes