[riot-notifications] [RIOT-OS/RIOT] cpu/sam0_common: SPI: MOSI only operation & fix for adafruit-itsybitsy-m4 (#15846)
notifications at github.com
Sun Jan 24 19:21:59 CET 2021
@dylad commented on this pull request.
> On adafruit-itsybitsy-m4 I would not get a signal on MOSI unless I also would mux the pin on acquire
What sorcery is this ??
Overall looks good but I'm wondering if this doesn't hide some weird bug on the hardware side of your board.
> /* Demux clk_pin back to GPIO_OUT function. Otherwise it will get HIGH-Z
* and lead to unexpected current draw by SPI salves. */
Since you removed the gpio_init code, are we sure `gpio_disable_mux` will go back in GPIO_OUT mode ?
> @@ -395,6 +396,7 @@ void spi_release(spi_t bus)
/* Demux clk_pin back to GPIO_OUT function. Otherwise it will get HIGH-Z
/* Demux clk_pin and mosi_pin back to GPIO_OUT function. Otherwise it will get HIGH-Z
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