Hi! It seems you are using a custom ODrive, since the ODrive v3.6 uses DRV8301 and you are using DRV8303. There’s not much help we can give, if you designed this board yourself then it sounds like there may be an issue with your design.
However, please feel free to send pictures, schematic, and PCB design files, and I can take a quick look
With error 0x40, you need to also post axis0.motor.error. Can you run dump_errors(odrv0) or dump_errors(dev0) and show the results?