Other Parts Discussed in Thread: TMS570LS3137, HALCOGEN
Hi,
I have to two ti controllers: TMS570LC4357 and TMS570LS3137. I executed a simple addition and assignment instruction on both the controllers and toggled a GPIO before and after the instruction. When I compared the time, the time taken by TMS570LC4357 was very huge. Below is the information:
S. No. |
Property |
TMS570LC4357 |
TMS570LS3137 |
1 |
Instruction Executed |
Uint32_V1 = Uint32_V2 + Uint32_V3 |
Uint32_V1 = Uint32_V2 + Uint32_V3 |
2 |
Code Running from |
Flash |
Flash |
3 |
GCLK |
240MHz |
160MHz |
4 |
HCLK |
120MHz |
160MHz |
5 |
CCS Version |
6.1.3.00033 |
6.1.3.00033 |
6 |
Compiler Version |
TIv15.12.1.LTS |
TIv5.2.5 |
7 |
Debugger Used |
XDS220 USB Debug Probe |
XDS220 USB Debug Probe |
8 |
Flash Wait States |
2 |
3 |
9 |
Time measurement method |
GPIO Toggle – checked on Oscilloscope |
GPIO Toggle – checked on Oscilloscope |
10 |
Cache Memory Enabled |
Disabled |
Disabled (Not available I think) |
Looking at these settings and the capability of TMS570LC4357, we assumed that the time consumed by it will be far lesser than TMS570LS3137, but the data was exactly opposite with huge difference, (Look at row 4 below for example):
S. No. |
No. of time the instruction was executed in series* |
Time consumed in TMS570LC4357 |
Time consumed in TMS570LS3137 |
1 |
Once |
520ns |
400ns |
2 |
Three Times |
1380ns |
500ns |
3 |
Six Times |
2632ns |
650ns |
4 |
Eighteen Times |
7720ns |
1250ns |
*No loop was used. The instruction was just copied once more to execute one more time.
Could you please help me out if I am missing anything here. We had selected this controller for critical functionality looking at its capability, but it is not serving the purpose as of now.
Thank in advance.
Gobind Singh