elhep / MCORD_HUB

The hub module provides LV & HV DC power and management to SiPD AFE modules
1 stars 0 forks source link

short manual #7

Open gkasprow opened 4 years ago

gkasprow commented 4 years ago

Connect via Putty with VCOM:9600 Ctrl+d - restart script

run regulator pyb.Pin.cpu.E12.init(pyb.Pin.OUT_PP, pyb.Pin.PULL_NONE) pyb.Pin.cpu.E12.value(1)

switch CAL mux to external input pyb.Pin.cpu.E8.init(pyb.Pin.OUT_PP, pyb.Pin.PULL_NONE) pyb.Pin.cpu.E8.value(1)

set AFE DAC afedrv.SetDac(out1, out2) afedrv.SetDac(60, 60) afedrv.SetDac(65, 65)

gkasprow commented 4 years ago

default voltages afedrv.SetDac(52, 51.9)

gkasprow commented 4 years ago

Ethernet support is documented here https://github.com/micropython/micropython/pull/4541