commaai / panda

code powering the comma.ai panda
MIT License
1.52k stars 757 forks source link

723 power init #1891

Closed adeebshihadeh closed 5 months ago

adeebshihadeh commented 6 months ago

First byte of PWR->CR3 is locked after the first write, so we can't init all H7 with the LDO, then switch to SMPS if available. We'll have to figure out another way to detect package or panda type before this init.