Browse Source

driver: gpio: mcp23xxx: increase reset pin pulse duration

The reset pulse is currently fixed at 1 µs, the minimum required for
the chip. However, a long reset pin trace can increases rise time, making
1 µs potentially insufficient for reliable detection of a reset signal.
Increase the pulse duration to 2 µs

Signed-off-by: Igor Knippenberg <igor.knippenberg@gmail.com>
pull/84177/head
Igor Knippenberg 6 months ago committed by Benjamin Cabé
parent
commit
a35fee8592
  1. 2
      drivers/gpio/gpio_mcp23xxx.c

2
drivers/gpio/gpio_mcp23xxx.c

@ -23,7 +23,7 @@
#include <zephyr/logging/log.h> #include <zephyr/logging/log.h>
LOG_MODULE_REGISTER(gpio_mcp23xxx); LOG_MODULE_REGISTER(gpio_mcp23xxx);
#define MCP23XXX_RESET_TIME_US 1 #define MCP23XXX_RESET_TIME_US 2
/** /**
* @brief Reads given register from mcp23xxx. * @brief Reads given register from mcp23xxx.

Loading…
Cancel
Save