The dual GPIO expander option I meantioned earlier will do this easily for up to several kHZ update frequency and can generally drive output of about 10mA per pin (depending on the selected GPIO expander specifications), and also reduces the number o...
Works for me like this in STACK_SMBUS_ExecuteCommand uint8_t *piobuf = STACK_SMBUS_GetBuffer( pStackContext ); st_command_t *pCommand = pStackContext->CurrentCommand; if (!piobuf || !pCommand) { pStackContext->StateMachine |= SMBUS_SMS_ERR...
Sorry, misread the question slightly, thought you were talking about native GPIO pins.I fully agree with @TDK on the use of a shift register with variable supply. Or if you need to vary the pins individually then a more complex design is needed, for...
Pins are always using the STM32 Vddio voltage (usually Vdd 3.3V).A 5V tolerant pin means that the pin can be under the right circumstances be connected as an input from a 5V device without harm to the STM32. The exact tolerance levels on the 5V toler...