[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 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:
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the notifications