analogdevicesinc / m1k-cad

ecad for the ADALM1000
Other
14 stars 12 forks source link

document pixelpulse2 environment modifications for hardware debug #5

Closed itdaniher closed 9 years ago

itdaniher commented 9 years ago

IO can be flipped using:

session.devices[0].ctrl_transfer(0x50, GPIO, 0) // sets pin GPIO low session.devices[0].ctrl_transfer(0x51, GPIO, 0) // sets pin GPIO high

Reference https://github.com/itdaniher/ubuild/blob/master/IO.mkd for IO pinmappings. Add 32 (PORTA offset) to all PortB IO indexes.

session.devices[0].ctrl_transfer(0x59, 0, 0x7f7f) // sets chA pot to max resistance

@mbanciso hopefully this helps.

itdaniher commented 9 years ago

I optimised the setpoint voltage for SIMV zero, 4/5 of 32768, at https://github.com/analogdevicesinc/libsmu/commit/bfa3314ebaac27454466e0be98eda4af91aea111. This seems to result in an experimentally minimal bias current in SIMV.

itdaniher commented 9 years ago

https://github.com/analogdevicesinc/m1k-fw/blob/master/IO.mkd

itdaniher commented 9 years ago

@damercer see additional thoughts here.

damercer commented 9 years ago

What am I suppose to look at?

On 4/22/2015 9:32 AM, Ian Daniher wrote:

@damercer https://github.com/damercer see additional thoughts here.

— Reply to this email directly or view it on GitHub https://github.com/analogdevicesinc/m1k-cad/issues/5#issuecomment-95178597.

itdaniher commented 9 years ago

@damercer https://github.com/analogdevicesinc/m1k-fw/blob/master/IO.mkd

itdaniher commented 9 years ago

https://github.com/analogdevicesinc/m1k-fw/blob/master/IO.mkd now describes the control transfers usable to directly manipulate device state.