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

cross mob
rbs2kor
Level 1
Level 1
First reply posted First like given First question asked

Hi, We are working on a project using Traveo T2G CYT4BF and CPU utilization is very high. We have enabled Icache.

1. We wanted to understand how to optimally use ITCM and DTCM(CM7_0 and CM7_1).

2. Does using ITCM when ICache is enabled will provide any CPU performance benefits ?

3. How to optimally design the clock frequencies for optimized CPU performance ? Do we use maximum allowed clock frequency for CPU and memory ? Or is there a way to calculate clock frequencies ?

Already referred to the following resource.

TRAVEO™ T2G MCU: CPU performance improvement techn... - Infineon Developer Community

Thanks

0 Likes
1 Solution
Reza_A
Moderator
Moderator
Moderator
25 solutions authored 10 likes given 50 replies posted

Hi @rbs2kor,

1. As mentioned in KBA236986, the optimal use of TCM memories is to store the stack DTCM and the most frequently accessed functions could be executed from ITCM. There is no such generic recommendation from our side for which content can be moved to ITCM. But you can try to move vector table to ITCM using linker attributes. Typically one would probably link frequently executed code.

2. It is not guaranteed that using ITCM while enabling I-cache will increase the performance.

3. As mentioned in KBA236986 also, operate CM7 at its maximum allowed frequency for the best CPU performance. Kindly check the device datasheet for the maximum frequency of CLK_FAST.

View solution in original post

2 Replies
Reza_A
Moderator
Moderator
Moderator
25 solutions authored 10 likes given 50 replies posted

Hi @rbs2kor,

1. As mentioned in KBA236986, the optimal use of TCM memories is to store the stack DTCM and the most frequently accessed functions could be executed from ITCM. There is no such generic recommendation from our side for which content can be moved to ITCM. But you can try to move vector table to ITCM using linker attributes. Typically one would probably link frequently executed code.

2. It is not guaranteed that using ITCM while enabling I-cache will increase the performance.

3. As mentioned in KBA236986 also, operate CM7 at its maximum allowed frequency for the best CPU performance. Kindly check the device datasheet for the maximum frequency of CLK_FAST.

rbs2kor
Level 1
Level 1
First reply posted First like given First question asked

Thanks a lot for quick response.

0 Likes