jakkra / ZSWatch

ZSWatch - the Open Source Zephyr™ based Smartwatch, including both HW and FW.
https://forms.gle/G48Sm5zDe9aCaYtT9
GNU General Public License v3.0
2.38k stars 206 forks source link

spi_nor: do not DPD in idle on HW3 #322

Closed ldab closed 4 months ago

ldab commented 4 months ago

As CI will show, by changing this the overall performance increases significantly

Kampi commented 4 months ago

Is there a way to manually set the flash in DPD? Otherwise we will have an increased power consumption

jakkra commented 4 months ago

Is there a way to manually set the flash in DPD? Otherwise we will have an increased power consumption

I'm not sure exactly what this config does, but if it means never dpd, the cut is from 2uA to 10uA which is not that bad overall. This also only affects v3 pcb.

Manual enter and exit of dpd I'll investigate on v5, as doing it while we are active will just slow down.

Kampi commented 4 months ago

mmh let´s test it :) I´m not sure about the current consumption yet, because the current consumption isn´t good (with my rev4), so I would avoid adding more.

jakkra commented 4 months ago

mmh let´s test it :) I´m not sure about the current consumption yet, because the current consumption isn´t good (with my rev4), so I would avoid adding more.

Does does not affect v4, it's v3 only because this is for spi driver and not the QSPI driver

Kampi commented 4 months ago

mmh let´s test it :) I´m not sure about the current consumption yet, because the current consumption isn´t good (with my rev4), so I would avoid adding more.

Does does not affect v4, it's v3 only because this is for spi driver and not the QSPI driver

Ah okay. Guess I understand it wrong :)