Hello there,
We are developing ECU that using MC33814 for 2 wheels project. We are trying to understand the MC33814's hardware behavior regarding to OL and SCG errors. All cases are tested with "OL Current Sink Enable" bit is enabled
1. When we create OL error at the OFF state, the OL bit is set correctly. However, when we keep physical OL error and change the state to ON state, then reading hardware register, SCG is set instead.
2. When we create SCG error at the ON state, the SCG bit is set correctly. However, when we keep physical SCG error and change the state to OFF state, then reading hardware register, OL is set instead.
In the software, we are trying to detect all errors: SCB, SCG, OL, and OT by toggling the state for a short time, then evaluating all errors based on the hardware register. However, in this case, OL and SCG errors are always present, and we cannot differentiate between SCG and OL errors.
The question is: How can we distinguish between OL and SCG errors when both errors are reported in the same way? We look forward to your feedback.