Closed VojislavM closed 8 years ago
Current measurement should be reported internally, and all error states should be fixed inside of MCU. Also, MCU can report current error states to the main CPU because of debugging and data-logging.
For now, when there is a problem with current (overcurrent) MCU should restart. This restart can be from outside (reset pin) or inside (software reset). Currently there is no need for outside reset.
Koruza driver does this internally. Every several ms interrupt checks the analog value which represents the value of the current. If the current is over the limit, driver resets itself thru software.
This is a good feature that will help in Koruza-driver work, especially if motors get stuck. It gives the system feedback.