Apparently the Arduino trng() function spends most of it's time initializing the R4 SCE, and neither the R4 code nor the Renesas-provided code check whether it has already been initialized ![]()
Initializing the SCE drops the random() time to about 20us.
Apparently the Arduino trng() function spends most of it's time initializing the R4 SCE, and neither the R4 code nor the Renesas-provided code check whether it has already been initialized ![]()
Initializing the SCE drops the random() time to about 20us.