]> git.proxmox.com Git - mirror_linux-firmware.git/commit - usbdux/usbduxsigma_firmware.asm
usbdux: usbduxsigma: fixed timing issues between ADC and DAC
authorBernd Porr <mail@berndporr.me.uk>
Wed, 22 Jul 2015 08:27:55 +0000 (09:27 +0100)
committerKyle McMartin <kyle@kernel.org>
Wed, 22 Jul 2015 17:40:55 +0000 (13:40 -0400)
commit75cc3ef8ba6712fd72c073b17a790282136cc743
treed12ffa70630de419e5bc1bf226cfb384ed428269
parent09852eab3e84ccea03541980b7610367accff643
usbdux: usbduxsigma: fixed timing issues between ADC and DAC

When sync ADC and the DAC was running at the same time the ADC
showed spikes in the signal. This happened when just before the
DRDY from the ADC was triggered a DAC interrupt was dealt with.
ADC and DAC share the same SPI bus and priority is now given the
ADC. The DAC values are now first stored in a buffer and
are only send to the DAC once the ADC has finished
converting all channels (start = 0) so that the SPI bus is
definitely quiet for about 100us.

Signed-off-by: Bernd Porr <mail@berndporr.me.uk>
Signed-off-by: Kyle McMartin <kyle@kernel.org>
usbdux/usbduxsigma_firmware.asm