MCU stress test?

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 
已解决

MCU stress test?

跳至解决方案
1,934 次查看
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,772 次查看
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,773 次查看
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 项奖励
回复