mirror of
https://github.com/openmv/openmv.git
synced 2025-11-04 14:49:50 +08:00
Increase soft-i2c spin delay on H7 boards.
This commit is contained in:
parent
b3c6ccc7f8
commit
c372ffe5a2
@ -267,7 +267,7 @@
|
||||
#define SOFT_I2C_SIOD_READ() HAL_GPIO_ReadPin (SOFT_I2C_PORT, SOFT_I2C_SIOD_PIN)
|
||||
#define SOFT_I2C_SIOD_WRITE(bit) HAL_GPIO_WritePin(SOFT_I2C_PORT, SOFT_I2C_SIOD_PIN, bit);
|
||||
|
||||
#define SOFT_I2C_SPIN_DELAY 32
|
||||
#define SOFT_I2C_SPIN_DELAY 64
|
||||
|
||||
#define LEPTON_SPI (SPI3)
|
||||
#define LEPTON_SPI_AF (GPIO_AF6_SPI3)
|
||||
|
||||
@ -276,7 +276,7 @@
|
||||
#define SOFT_I2C_SIOD_READ() HAL_GPIO_ReadPin (SOFT_I2C_PORT, SOFT_I2C_SIOD_PIN)
|
||||
#define SOFT_I2C_SIOD_WRITE(bit) HAL_GPIO_WritePin(SOFT_I2C_PORT, SOFT_I2C_SIOD_PIN, bit);
|
||||
|
||||
#define SOFT_I2C_SPIN_DELAY 32
|
||||
#define SOFT_I2C_SPIN_DELAY 64
|
||||
|
||||
#define LEPTON_SPI (SPI3)
|
||||
#define LEPTON_SPI_AF (GPIO_AF6_SPI3)
|
||||
|
||||
@ -240,7 +240,7 @@
|
||||
#define SOFT_I2C_SIOD_READ() HAL_GPIO_ReadPin (SOFT_I2C_PORT, SOFT_I2C_SIOD_PIN)
|
||||
#define SOFT_I2C_SIOD_WRITE(bit) HAL_GPIO_WritePin(SOFT_I2C_PORT, SOFT_I2C_SIOD_PIN, bit);
|
||||
|
||||
#define SOFT_I2C_SPIN_DELAY 32
|
||||
#define SOFT_I2C_SPIN_DELAY 64
|
||||
|
||||
// Enable additional GPIO banks for DRAM...
|
||||
#define OMV_ENABLE_GPIO_BANK_F
|
||||
|
||||
Loading…
Reference in New Issue
Block a user