DAC synchronization

The official pyboard running MicroPython.
This is the reference design and main target board for MicroPython.
You can buy one at the store.
Target audience: Users with a pyboard.
Post Reply
swchiow
Posts: 1
Joined: Mon Feb 17, 2020 8:08 am

DAC synchronization

Post by swchiow » Mon Feb 17, 2020 8:19 am

Is it possible to synchronize two DAC outputs? I want to update both channels simultaneously on single external trigger. The manual of the microcontroller says "synchronized update capability". I hope it's doable. Thanks. - SC

User avatar
pythoncoder
Posts: 5956
Joined: Fri Jul 18, 2014 8:01 am
Location: UK
Contact:

Re: DAC synchronization

Post by pythoncoder » Mon Feb 17, 2020 11:06 am

If you can tolerate a small amount of latency you can update each in turn in an interrupt handler. To use the native chip capability you'll need to code it at register level using the stm module.
Peter Hinch
Index to my micropython libraries.

Post Reply