[riot-notifications] [RIOT-OS/RIOT] drivers/periph/spi: add periph_spi_reconfigure feature & implementation for sam0 (#13631)

benpicco notifications at github.com
Fri May 1 17:40:46 CEST 2020

@benpicco commented on this pull request.

> @@ -95,6 +92,22 @@ void spi_init_pins(spi_t bus)
     gpio_init_mux(spi_config[bus].miso_pin, spi_config[bus].miso_mux);
     gpio_init_mux(spi_config[bus].mosi_pin, spi_config[bus].mosi_mux);
     gpio_init_mux(spi_config[bus].clk_pin, spi_config[bus].clk_mux);
+    /* wake up device */
+    poweron(bus);

But `spi_init_pins()` is called before `dev(bus)->CTRLA.reg |= SERCOM_SPI_CTRLA_SWRST;`

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...
URL: <http://lists.riot-os.org/pipermail/notifications/attachments/20200501/22a51cd0/attachment.htm>

More information about the notifications mailing list