MCU stress test?

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 
1,885件の閲覧回数
williamely
Contributor IV

I have been tasked with writing a function that causes the K64 to consume as much current as possible (not including GPIO) so I made a task that does a lot of floating point math on numbers generated by the RNGA and uses the MMCAU to encrypt the result.

I figured using more on-chip components (FPU, MMCAU, CRC, RNGA) would cause the current consumption and package temperature to increase but when I run the task current drops by about 1 mA.

Does anyone have a function that they use for this purpose?

0 件の賞賛
返信
1 解決策
1,723件の閲覧回数
williamely
Contributor IV

Since I'm running the BSP_DEFAULT_IO_CHANNEL in polled mode the processor is always busy polling the UART so I was actually giving the processor a break by having it use dedicated hardware to perform math.

元の投稿で解決策を見る

0 件の賞賛
返信
1 返信
1,724件の閲覧回数
williamely
Contributor IV

Since I'm running the BSP_DEFAULT_IO_CHANNEL in polled mode the processor is always busy polling the UART so I was actually giving the processor a break by having it use dedicated hardware to perform math.

0 件の賞賛
返信