Skip to content

Commit

Permalink
Remove unconnected QSPI reset line (#1812)
Browse files Browse the repository at this point in the history
This is a legacy pin from the original Gemini Bringup Board, and isn't
actually connected on Sidecar (PF5 is `V1P8_PG_A2`, which we're
presumably fighting against)
  • Loading branch information
mkeeter committed Jun 14, 2024
1 parent c7f0b3e commit 77a126f
Showing 1 changed file with 1 addition and 17 deletions.
18 changes: 1 addition & 17 deletions drv/auxflash-server/src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -102,25 +102,9 @@ fn main() -> ! {
sys_api::Alternate::AF10,
);

let qspi_reset = sys_api::Port::F.pin(5);
sys.gpio_reset(qspi_reset);
sys.gpio_configure_output(
qspi_reset,
sys_api::OutputType::PushPull,
sys_api::Speed::Low,
sys_api::Pull::None,
);

// TODO: The best clock frequency to use can vary based on the flash
// part, the command used, and signal integrity limits of the board.

// Ensure hold time for reset in case we just restarted.
// TODO look up actual hold time requirement
hl::sleep_for(1);

// Release reset and let it stabilize.
sys.gpio_set(qspi_reset);
hl::sleep_for(10);
hl::sleep_for(15);

// TODO: check the ID and make sure it's what we expect
//
Expand Down

0 comments on commit 77a126f

Please sign in to comment.