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>
This commit is contained in:
parent
2c89ed5441
commit
a35fee8592
1 changed files with 1 additions and 1 deletions
|
@ -23,7 +23,7 @@
|
|||
#include <zephyr/logging/log.h>
|
||||
LOG_MODULE_REGISTER(gpio_mcp23xxx);
|
||||
|
||||
#define MCP23XXX_RESET_TIME_US 1
|
||||
#define MCP23XXX_RESET_TIME_US 2
|
||||
|
||||
/**
|
||||
* @brief Reads given register from mcp23xxx.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue