-
Notifications
You must be signed in to change notification settings - Fork 95
Open
Description
It turns out that the HW_SCE_McuSpecificInit() function is pretty slow (~97000us on an RA4m1 (Arduino Uno R4)), causing code that naively calls it every time one wants a random number (for example) to be painful.
It would be nice if the function could detect that the SCE had already been initialized, and skipped most of the code.
See https://forum.arduino.cc/t/random-function-on-r4-terribly-slow/1342877/10 for example. where the Arduino random() function takes 90ms instead of 20us. (yes, this can also be fixed on the Arduino side. But it should not need to be fixed independently in every bit of code that uses the SCE.)
Metadata
Metadata
Assignees
Labels
No labels