Auto exposure not working on AR0230 camera

I have an AR0230 CSI camera, which was working properly but suddenly it stopped adjusting exposure automatically. (This camera has a relatively wide dynamic range, so the difference is obvious). I use it on jetson nano. What should I do? Is camera sensor half-fried or is it software solvable?
Here is a picture using this faulty camera:


Here is a picture using a healthy AR0230 camera in roughly the same spot:

The difference is obvious. Something is not working :\

Hello, the hardware ISP may be broken. You can try to run it on the Raspberry Pi platform to see if the image still has problems.