[riot-notifications] [RIOT-OS/RIOT] cpu/sam0_common/spi: move out pin muxing into spi_acquire / spi_release (#14107)
notifications at github.com
Wed May 20 17:39:53 CEST 2020
@benpicco commented on this pull request.
> @@ -92,9 +92,10 @@ void spi_init_pins(spi_t bus)
- gpio_init_mux(spi_config[bus].miso_pin, spi_config[bus].miso_mux);
+ /* The out pins will be muxed during acquire and release.
+ * Otherwise these pins will get HIGH-Z during deep sleep of the MCU,
+ * which may leads to unexpected current consumption by SPI slaves. */
MOSI doesn't have this issue?
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the notifications