[riot-notifications] [RIOT-OS/RIOT] cpu/sam0_common/spi: demux SPI output pins before entering deep sleep (#14105)

benpicco notifications at github.com
Wed May 20 17:01:18 CEST 2020


> My idea was to `pm_block(PM_STANDBY)` in `spi_acquire()` and `pm_unblock(PM_STANDBY)` in `spi_release()`. This ensures that the MCU doesn't fall in deep sleep within a SPI transaction.

That's a good idea too, will be useful when adding DMA.

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/RIOT-OS/RIOT/pull/14105#issuecomment-631529968
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.riot-os.org/pipermail/notifications/attachments/20200520/c40fc622/attachment.htm>


More information about the notifications mailing list