Electronic – Is there such a thing as a PWM expander like there is a GPIO expander


I found this MCP23008 and its a nice little DIP GPIO expander over I2C. Is there a chip like this for PWM outputs?

Specifically I want this PWM generator to be used for the inputs on several L298Ns.

Best Answer

I2c based port expanders with PWM output are typically designed as LED drivers. You can easily build a driver circuit using a npn transistor as an inverter, connected to the typically open - drain output of the i2c LED Driver. Many Texas Instrument ones note this setup in the datasheet, under using the output as a GPO.