Other Parts Discussed in Thread: DRV8301, MOTORWARE, CONTROLSUITE
Hi,
I fail to understand the Over-Current handling and Trip-Zone configuration.
1. In the code the One-shot is configured on TZ1, Cycle-by-cycle on TZ6.
2. In the schematics, the Fault and OCTW are connected to GPIOs 13 and 14.
3. GPIO setting:
TZ1 is set on GPIO12. But GPIO12 is connected to LED1
TZ6 is not assigned to any GPIO.
GPIO13,14 are configured as general purpose, input
4. This brings me to a conclusion that the MCU doesn't know about over-current and fault events.
5. In order to recover from over-current and other events it is stated in the DRV8301 datasheet that some action is required, which I didn't find in the code.
6. communication with the DRV8301 is not possible since all SPI GPIOs are configured as "general purpose"
can you please clarify the protection handling / GPIO settings ?
thanks a lot