Part Number: HERCULES_SAFETY_MCU_DEMOS
I'm using the N2HET's loopback test feature in "digital" mode. My loopback test is using default N2HET configuration. My test first initializes the loopback configuration registers. It then proceed to perform a set of writing and reading of the loopback registers. I noticed test test was getting unstable numbers if it reads immediately after the data is written. If I add in a small delay before the read logic, the data would be stable (valid) and my test would pass successfully. The part that bothers me is that I don't know how long I need to wait for the data to be stable. Is there a deterministic formula on how long to wait? Waiting an arbitrary duration might work today but it might fail at some future time. It would be best if the duration is deterministic.
The description of the N2HET loopback feature is terse in the TI Technical Reference manual. Is there a separate document covering the usage of the loopback mode?
I look forward to your feedback.
BR,
Peter C