Apologies for the late response.
voltage=0V along with the 3 voltage levels was basically just a matter of doing the same thing as the Dediprog code. The 3 voltage levels in particular made sense as I assumed that covered all current SPI chips. I'm not sure what the hardware will do if other values are chosen, although you've piqued my interest. If someone else doesn't beat me to it, I'll try out the committed (thanks btw) version of the patch and attempt setting other voltages.
On Sat, Jan 31, 2015 at 9:56 PM, Stefan Tauner email@example.com wrote:
On Fri, 26 Dec 2014 20:53:47 -0500 Justin Chevrier firstname.lastname@example.org wrote:
It seems you're correct. Signed off is below.
Signed-off-by: Justin Chevrier email@example.com
Does the option to set voltage=0V really make sense? But since this is even possible... I would rather set it to 0V at shutdown. If that turns off the drivers completely it might be very useful while doing in-circuit programming because the programmer could remain attached even when the target is running.
Why do we restrict the levels to 3 values although the API seems to allow to transmit a much finer resolution? What does the hardware actually do with these values?
-- Kind regards/Mit freundlichen Grüßen, Stefan Tauner