|
IO Init
Jan 31, 2017 20:07:11 GMT
via mobile
Post by drolli on Jan 31, 2017 20:07:11 GMT
Hello, in my project I have a motordriver that was activated with a low signal. The problem is that when switching on or during a reset, the motors always start until the outputs are initialized. Is it possible to change this somehow?
Bye Reiner
|
|
|
Post by mjb on Jan 31, 2017 21:26:43 GMT
Hi,
The Aurix IO pins are inputs until specifically configured as outputs. This mean they float initially, usually to a high level. One solution is to put a pull-up resistor on any pin that you want to make sure always goes high during reset. It would be possible to add something to the ShieldBuddy startup code that allows users to set any pin to some initial state but there would always be a short time when the pin might go low during reset or power-on.
|
|