nrf: Remove leftover info message and fix link to errata

This commit is contained in:
Priit Laes 2024-11-19 09:55:39 +02:00
parent 050d3d1a09
commit 1e0b6eefb7
2 changed files with 1 additions and 2 deletions

View File

@ -350,7 +350,6 @@ impl<'d> Flex<'d> {
convert_drive(w, drive);
w.set_sense(vals::Sense::DISABLED);
});
info!("pin_cnf: {:08x}", self.pin.conf().read().0);
}
/// Put the pin into input + output mode.

View File

@ -546,7 +546,7 @@ impl<'d, T: Instance> Drop for Qspi<'d, T> {
// it seems events_ready is not generated in response to deactivate. nrfx doesn't wait for it.
r.tasks_deactivate().write_value(1);
// Workaround https://infocenter.nordicsemi.com/topic/errata_nRF52840_Rev1/ERR/nRF52840/Rev1/latest/anomaly_840_122.html?cp=4_0_1_2_1_7
// Workaround https://docs.nordicsemi.com/bundle/errata_nRF52840_Rev3/page/ERR/nRF52840/Rev3/latest/anomaly_840_122.html
// Note that the doc has 2 register writes, but the first one is really the write to tasks_deactivate,
// so we only do the second one here.
unsafe { ptr::write_volatile(0x40029054 as *mut u32, 1) }