ost-ing / dac8568

Embedded Rust driver for the TI DAC8568 digital-to-analogue converter

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

DAC8568 sometimes requires a power cycle to operate properly

ost-ing opened this issue · comments

  • Likely the CLR and SYNC lines needs to be toggled on initialization to reset the device entirely

hi ostenning, you mean when do initialization, we should execute following command?

sync.set_high()
sync.set_low()
sync.set_high()

hi ostenning, you mean when do initialization, we should execute following command?

sync.set_high()
sync.set_low()
sync.set_high()

Hi @robbietree8 , no you can just call dac.reset(), which will send a software reset message to the DAC, resetting all its registers back to default. This is now available in version 0.0.7.

Thanks!