AURIX MCU 指令執行時間

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

cross mob
Translation_Bot
Community Manager
Community Manager
Community Manager

對於 AURIX TC38x,在數據表中,最大 CPU 頻率為 300 兆赫,如下所示-

deshmahi_0-1700541900322.png

 

因此,使用這個頻率,每個指令執行時間將是:1/300 兆赫 = 3.33 ns。 這種理解是正確的嗎?

否則,如何計算每個指令執行時間或 MIPS。 在這裡,動機是為特定應用程序計算 MIPS。

問候,

阿布舍克

smartconx_target@Q!w2e3r4t5y6u7i8o9p0||/t5/AURIX/AURIX-MCU-instruction-execution-time/td-p/644421

3 回應
Translation_Bot
Community Manager
Community Manager
Community Manager

It can be used for a rough estimate.Since tricore instructions may consume 1 clock or several clocks, you need refer tricore instruction manual to get accurate clocks consume.Maybe tricore simulator can get accurate DMPIS evaluation.I think Infineon with accurate DMIPS info(eg.xx DMIPS/MHz), multiple with you clock setting then get the total DMIPS.

smartconx_target@Q!w2e3r4t5y6u7i8o9p0||/t5/AURIX/AURIX-%E5%BE%AE%E6%8E%A7%E5%88%B6%E5%99%A8%E6%8C%87%E4%BB%A4%E6%89%A7%E8%A1%8C%E6%97%B6%E9%97%B4/m-p/644760

0
Translation_Bot
Community Manager
Community Manager
Community Manager

這會給予 CPU 負載嗎?

是否可以確定每個週邊裝置(如 ADC、CAN、PWM 等)的 MIPS,然後將所有 MIPS 相加,得出總 MIPS?因此可以確定總 CPU 負載。

smartconx_target@Q!w2e3r4t5y6u7i8o9p0||/t5/AURIX/AURIX-MCU-instruction-execution-time/m-p/644783

0
Translation_Bot
Community Manager
Community Manager
Community Manager

I think you want to evaluate the DMIPS needing for your application not the MCU it self.Maybe evalute each function need how many DMIPS then do a sum.There may be instruction counter in MCU that can be used to evaluate DMIPS for a simple function.

smartconx_target@Q!w2e3r4t5y6u7i8o9p0||/t5/AURIX/AURIX-%E5%BE%AE%E6%8E%A7%E5%88%B6%E5%99%A8%E6%8C%87%E4%BB%A4%E6%89%A7%E8%A1%8C%E6%97%B6%E9%97%B4/m-p/644835

0