analogdevicesinc / m1k-cad

ecad for the ADALM1000
Other
13 stars 12 forks source link

decrease unprogrammed current consumption #4

Open itdaniher opened 9 years ago

itdaniher commented 9 years ago

The use of the ADG1611 analog switch on the output stage results in the 5v rail being shorted to ground through resistors when all lines are low, resulting in fairly high quiescent current draw with an unprogrammed device.

A functional enhancement to address this in future revisions would be the replacement of the ADG1611 part with an ADG1612 drop-in replacement, just without the logic inversion.

itdaniher commented 9 years ago

The upload script should disable the power conversion via the PB17 / PWR_ENABLE pin before it writes to the UC.

rgetz commented 8 years ago

Which upload script?

itdaniher commented 8 years ago

The minimal reference implementation / factory load script / upload script mentioned above is https://github.com/analogdevicesinc/m1k-fw/blob/master/scripts/sam-ba.py.

AFAIK Win/OSX don't allow you to explicitly detach a kernel driver, as this script does, which is the recommended way of avoiding issues related to command parsing in the SAMBA ROM. BOSSA works around these issues with sleep()s and is cross platform.