-
Notifications
You must be signed in to change notification settings - Fork 42
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Not able to power SPI flash with 1.8V #15
Comments
What firmware are you using? There was a concurrency issue in the PSU after a major update. 1.8volts works well when I test. If this persists with the latest firmware, I will investigate further. |
I did some looking around.
This part is kind of concerning. Is anything attached that would use that much current? Do you see voltage present on the LCD or the toolbar or by hitting the |
The firmware is the latest, built from source, precisely a week ago. The current consumption is ok - I'm powering SPI chip within circuit so the MCU using this SPI is also powered. The reason I'm powering arroud 1.8V is I'm trying to go below threshold of MCU is to kick it off as it's constantly using SPI flash(what prevent BusPirate doing SPI actions). Is there any way of temporarily disabling the 'No voltage detected on VOUT/VREF pin' logic ? |
In commands/spi/flash.c line 81 you can comment that out to disable the check. |
I can still reproduce this:
Despite above I see After further check I've determined the threshold - the minimum it is 1.92V for which it works as expected and for 1.91V it is not working. In the code I see this element:
Isn't the reason that this |
Ok it seems there is some table for this: |
Also minor thing - the channel is passed as uint8_t : |
Fix proposed above. Maybe longterm it would be better to use dedicated functions for reading ADC than some indexed arrays and prep. defines which are not that flexible and require understanding whole logic for somebody who didn't write the initial code ? |
Hi @nuschpl , I noticed your proposed fix was merged. Did that resolve the issue? If so, can you please close this issue also? Thanks! |
Thanks for the fix! lease feel free to re-open if your merged PR did not resolve the issue... |
I'm not able to power SPI with 1.8V in way that I can further proceed with SPI operations:
There is no issue with 3.3V. Is it software or hardware limitation/issue?
The text was updated successfully, but these errors were encountered: