[riot-notifications] [RIOT-OS/RIOT] cpu/sam0_common/spi: demux SPI output pins before entering deep sleep (#14105)
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:
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the notifications