I am using your P-Spice model to simulate the operation of the INA302A1. Model only works partially.
Limit 1 and Limit 2 pins work correctly with 80uA of current:
LIMIIT1 = 1K50 = 120mV = 60mA with 100mOhm Isense resistor.
LIMIT2 = 30K1 = 2.4V = 1.2 Amps with 100mOhm sense resistor.
OUT correctly amplifies the differential voltage across INP and INN by 20.
With LATCH1 and REF grounded, Alert one is HI only with zero current flowing in sense resistor.
25 mA causes Alert_1 to go LO. It should go low only above 60mA.
Using bread crumbs from the datasheet and other places:
1. Series 332 Ohm resistor added in series with power pin to prevent start-up issues.
2. Limit 1 set to 120 mV to account for 100mV hysteresis on Alert_1 comparator. If limit were set to less than 100mV, then hysteresis would prevent comparator from flipping when current goes to zero.
I have a pdf of my proposed schematic. I cannot figure out how to add it to this post. Please help.