MCU stress test?

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

MCU stress test?

Jump to solution
1,037 Views
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 Kudos
1 Solution
875 Views
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.

View solution in original post

0 Kudos
1 Reply
876 Views
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 Kudos