Can you elaborate a little bit what its main purpose of Self-Test Run Timeout Counter Preload Register (STCTPR)?
1. Do I always have to write 0xFFFFFFFF to this register? What happens if I write a smaller value?
2. Can waiting for the self-test to finish within the while loop cause any software crashes?
If yes, how to prevent software crashes during the waiting for the self-test to finish?
3. Does STCTPR register have anything to do with preventing software crashes?
If yes, counting to the value 0xFFFFFFFF, won't it take a long time to count up to this value?
Thanks.
King Regards,
Ktmn