mirror of
https://github.com/PX4/PX4-Autopilot.git
synced 2026-11-30 04:30:28 +08:00
fix(ark/fmu-v6xrt): probe PAB EEPROM after I2C6 is up (#28513)
The 24LC64T on I2C3_BASE is wired to LPI2C6 (X1_8/10). Manifest MTD talks I2C, so it has to run after those pins are I2C and VDD_5V_PERIPH is on, or the chip does not attach and netman cannot save.
This commit is contained in:
1 parent
6b2278eae9
commit
19ce32980e
1 file changed
+4
-2
@@ -506,8 +506,6 @@ __EXPORT int board_app_initialize(uintptr_t arg)
|
||||
|
||||
imxrt_spiinitialize();
|
||||
|
||||
px4_platform_configure();
|
||||
|
||||
if (OK == board_determine_hw_info()) {
|
||||
syslog(LOG_INFO, "[boot] Rev 0x%1x : Ver 0x%1x %s\n", board_get_hw_revision(), board_get_hw_version(),
|
||||
board_get_hw_type_name());
|
||||
@@ -557,6 +555,10 @@ __EXPORT int board_app_initialize(uintptr_t arg)
|
||||
|
||||
px4_platform_i2c_init();
|
||||
|
||||
/* PAB 24LC64T is on I2C3_BASE = LPI2C6 (X1_8/10). Manifest MTD talks I2C, so it
|
||||
* runs after those pins are I2C and VDD_5V_PERIPH is on. FlexSPI FRAM does not care. */
|
||||
px4_platform_configure();
|
||||
|
||||
/* Configure the Actual SPI interfaces (after we determined the HW version) */
|
||||
|
||||
imxrt_spiinitialize();
|
||||
|
||||
Reference in new issue
Block a user