One other thing to mention the actual crank sensor on my car was broken in half but I didn’t get a code for it. I just happened to check it.
But I’d check the relays and fuses first.
Forgot to mention my car had a flood history when I got it from auction.
It took me months of trying everything and I got 0 codes until I checked the relays and saw corrosion and how they got super hot after car being on after so I changed them all.
Hopefully it’s something simple like a relay for you