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

Juergen Fitschen notifications at github.com
Wed May 20 16:57:55 CEST 2020


> I think @bergzand was suggesting to demux in `spi_release`, not sure if that messes with the slave though.

I'll try this solution as well ;)

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.

-- 
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-631527847
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.riot-os.org/pipermail/notifications/attachments/20200520/71298e47/attachment.htm>


More information about the notifications mailing list