L6474 : behaviour of status register
Hi,
starting from the documentation :
"The UVLO, TH_WRN, TH_SD, OCD, NOTPERF_CMD and WRONG_CMD flags are latched: when the respective conditions make them active (low or high), they remain in that state until a GetStatus command is sent to the IC. "
My understanding is that when a "warning" occurs, its bit goes to 1. This bit will not change until I read the status register. After reading the value, each bit will be set the its current physical value which can be the same or the other.
Is that right?
Regarding the flag pin :
"By default, an internal open drain transistor pulls the FLAG pin to ground when at least one of the following conditions occurs: Power-up or standby/reset exit Overcurrent detection Thermal warning Thermal shutdown UVLO Switch turn-on event Wrong command Non performable command."
The documentation does not state on how flag goes to 1. When all flags have ended? after a read? (in this case, does flag goes to 0 if at least on flag is still 1?)
Thanks
Julien
Let's have an example with th_wrn and uvlo.
